Azat Khuzhin
33d99c8ffb
Introduce compatiblity mode for SETTINGS after FORMAT
...
Add allow_settings_after_format_in_insert setting, OFF by default.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: s/parser_settings_after_format_compact/allow_settings_after_format_in_insert/ (suggested by vitlibar)
v3: replace ParserSettings with a flag (requested by vitlibar)
2022-04-07 16:36:34 +03:00
Azat Khuzhin
c5ffbc688e
Do not allow SETTINGS after FORMAT for INSERT queries
...
Parsing SETTINGS after FORMAT, that has been introduced in [1], can
interpret SETTING as some values, which is misleading.
[1]: https://github.com/ClickHouse/ClickHouse/pull/4174/files#diff-ba7bd0657630b1cd94cf6ed364bd857338096f49f66dc82918438d6745753775R106
Note, that we are touching only INSERT queries, not SELECT, since this
is a backward incompatible change, and in case of modifying SELECT it
can break too much.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Fixes : #35100
Fixes : #20343
2022-04-07 16:29:36 +03:00
Alexey Milovidov
d7482c87e4
Merge pull request #36002 from ClickHouse/auto/v22.3.3.44-lts
...
Update version_date.tsv after v22.3.3.44-lts
2022-04-07 15:19:54 +02:00
Kruglov Pavel
73adbb4c15
Merge pull request #35986 from amosbird/better-scalar1
...
Fix performance regression of scalar query
2022-04-07 14:07:59 +02:00
Kruglov Pavel
f3f8f27db5
Merge pull request #35735 from Avogar/allow-read-bools-as-numbers
...
Allow to infer and parse bools as numbers in JSON input formats
2022-04-07 13:20:49 +02:00
Kruglov Pavel
80503b2983
Update clickhouse-test
2022-04-07 13:16:19 +02:00
Nikolai Kochetov
82583b9349
Update 02245_format_string_stack_overflow
2022-04-07 13:07:18 +02:00
tavplubix
c463e82a69
Merge pull request #36008 from ClickHouse/tavplubix-patch-4
...
Fix 02248_nullable_custom_types_to_string
2022-04-07 14:05:18 +03:00
alesapin
1be539e194
Merge pull request #36007 from amosbird/better-replxx1
...
Bump replxx to fix wrong assertion
2022-04-07 13:03:45 +02:00
Kruglov Pavel
4b8c8e08a4
Merge pull request #36009 from ClickHouse/Avogar-patch-4
...
Fix flaky test 00155_long_merges
2022-04-07 12:59:57 +02:00
alesapin
379eca0db2
Merge pull request #36001 from ClickHouse/Avogar-patch-3
...
Make test 00159_parallel_formatting_tsv_and_friends.sh more stable
2022-04-07 12:45:57 +02:00
Vladimir C
a2aec793d1
Merge pull request #35985 from azat/stress-improve-checks
2022-04-07 12:42:57 +02:00
Kseniia Sumarokova
5909b3c04d
Merge pull request #36015 from ucasfl/filelog-fix
...
Fix data race in StorgeFileLog
2022-04-07 12:23:12 +02:00
Kseniia Sumarokova
18a594a22e
Merge pull request #34631 from bigo-sg/use_minmax_index
...
Use minmax index for orc/parquet file in Hive Engine
2022-04-07 12:22:19 +02:00
tavplubix
6e9c028bbb
Merge pull request #35956 from Algunenano/limit_dns_retries
...
DNS cache: Add option to drop elements after several consecutive failures
2022-04-07 13:20:36 +03:00
Nikolai Kochetov
3e1b3f14c0
Merge pull request #34355 from azat/processors-profiling
...
Profiling on Processors level
2022-04-07 12:13:14 +02:00
alesapin
d21ed546a4
Merge pull request #35967 from ClickHouse/keeper-polishing
...
Small code changes in ZooKeeper client/Keeper code
2022-04-07 12:11:10 +02:00
Kseniia Sumarokova
99a55a2304
Merge pull request #35995 from vdimir/rename_join_ordinary_to_atomic
...
Create parent directories in DiskLocal::replaceFile
2022-04-07 10:23:40 +02:00
taiyang-li
2dc420c66b
rename some symbols in hivefile
2022-04-07 15:48:42 +08:00
taiyang-li
046a2ba51c
rename some symboles
2022-04-07 15:35:08 +08:00
taiyang-li
f02d769343
fix build error
2022-04-07 14:29:35 +08:00
taiyang-li
acc7046d54
remove some useless virtual and rename some functions in HiveFile
2022-04-07 11:46:57 +08:00
taiyang-li
2ef316801c
Merge branch 'master' into use_minmax_index
2022-04-07 10:53:25 +08:00
fenglv
517c2ae8df
Fix data race in StorgeFileLog
2022-04-07 02:20:20 +00:00
tavplubix
e7fdb0ddce
Merge pull request #36005 from ClickHouse/tavplubix-patch-3
...
Another fix for settings randomization
2022-04-06 21:29:41 +03:00
tavplubix
735f8e622a
Merge pull request #36004 from ClickHouse/tavplubix-patch-2
...
Fix flaky test `test_system_merges/test.py::test_merge_simple`
2022-04-06 21:25:36 +03:00
mergify[bot]
585cff1e95
Merge branch 'master' into limit_dns_retries
2022-04-06 18:23:17 +00:00
Alexey Milovidov
22c8f52273
Merge pull request #35998 from traceon/no-source-file-path-remapping-in-debug-builds-by-default
...
Set `ENABLE_BUILD_PATH_MAPPING` to `OFF` by default, if `CMAKE_BUILD_TYPE` is set to `Debug`
2022-04-06 21:22:03 +03:00
Kruglov Pavel
87e0656c3b
Fix flaky test 00155_long_merges
2022-04-06 19:44:37 +02:00
tavplubix
45b284d098
Update 02248_nullable_custom_types_to_string.sql
2022-04-06 20:22:24 +03:00
Mikhail f. Shiryaev
2d87e3587d
Merge pull request #34895 from DevTeamBK/coverity_scan
...
Attempt at Nightly Coverity Scan and upload
2022-04-06 19:07:00 +02:00
Mikhail f. Shiryaev
f7dda074a2
Merge pull request #35999 from ClickHouse/build-report
...
Build report
2022-04-06 19:06:15 +02:00
Amos Bird
33ea119013
Bump replxx to fix wrong assertion
2022-04-07 00:56:10 +08:00
Anton Popov
13cb564d1e
Merge pull request #35716 from kssenii/fix-local-logs-level
...
Fix send_logs_level for clickhouse local
2022-04-06 18:52:47 +02:00
tavplubix
58db8cd9b3
Merge pull request #35946 from ClickHouse/faster_replicated_ddl
...
Make some replicated DDL queries faster
2022-04-06 19:25:25 +03:00
tavplubix
5af0537f2c
Update clickhouse-test
2022-04-06 19:23:33 +03:00
tavplubix
00137eaa34
Update test.py
2022-04-06 19:13:56 +03:00
robot-clickhouse
1cbacbc3e6
Update version_date.tsv after v22.3.3.44-lts
2022-04-06 14:28:30 +00:00
Kruglov Pavel
57ddb18f86
Make test 00159_parallel_formatting_tsv_and_friends.sh more stable
2022-04-06 16:04:55 +02:00
Mikhail f. Shiryaev
12442fd0a5
Add description for missing builds
2022-04-06 15:16:16 +02:00
Mikhail f. Shiryaev
1323c3617f
Fix linter points
2022-04-06 15:16:16 +02:00
Mikhail f. Shiryaev
19e0e6e765
Fix failing BuilderReport
2022-04-06 15:16:15 +02:00
Kseniia Sumarokova
2aa3d32887
Merge pull request #35980 from ucasfl/thread_num
...
parallel reading files for FileLog Engine
2022-04-06 15:05:41 +02:00
Kruglov Pavel
ec2213493f
Merge branch 'master' into allow-read-bools-as-numbers
2022-04-06 14:53:02 +02:00
taiyang-li
59e47472f1
fix integration tests
2022-04-06 20:51:31 +08:00
Antonio Andelic
cda8a18fe3
Merge pull request #35984 from ClickHouse/fix-url-data-race
...
Fix data race in StorageURL
2022-04-06 14:36:19 +02:00
Denis Glazachev
e2044b6504
Set ENABLE_BUILD_PATH_MAPPING to OFF by default, if CMAKE_BUILD_TYPE is set to Debug
2022-04-06 16:17:22 +04:00
Yakov Olkhovskiy
c73115ffb4
Merge pull request #35840 from zzsmdfj/issue/#34966_fix_dateTime_deserialize
...
to #34966_fix_dateTime_deserialize
2022-04-06 08:10:23 -04:00
Amos Bird
53628092e2
Fix test
2022-04-06 20:04:13 +08:00
Alexander Tokmakov
1309e781b6
apply suggestion
2022-04-06 13:56:26 +02:00