Commit a6d0527
authored
Only set json_type_escape_dots_in_keys if CH version > 25.8 (#3611)
### Why
Setting introduced in #3606 only
exists in ClickHouse versions 25.8 and above according to
https://clickhouse.com/docs/sql-reference/data-types/newjson#handling-json-keys-with-dots.
Lower versions of ClickHouse fail in initial load with this error:
```
Setting json_type_escape_dots_in_keys is neither a builtin setting nor started with the prefix 'SQL_' registered for user-defined settings
```
### What
This PR only sets this setting if CH version is > 25.81 parent 4149009 commit a6d0527
File tree
3 files changed
+13
-2
lines changed- flow/connectors/clickhouse
3 files changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
0 commit comments