Commit Graph

86373 Commits

Author SHA1 Message Date
mergify[bot]
f84dfe5073
Merge branch 'master' into client-format-error-fix 2022-04-07 14:15:44 +00:00
Alexey Milovidov
e43a0521f8
Merge pull request #36010 from DevTeamBK/MARIANA-29
Remove unused code from TestFlows (the internal ticket name in the company where I work is MARIANA-29)
2022-04-07 15:40:21 +02:00
Alexey Milovidov
2159da6521
Merge pull request #36006 from DevTeamBK/MARIANA-81
Remove some TestFlows that are irrelevant.
2022-04-07 15:38:33 +02:00
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
Alexander Tokmakov
7f54e7b422 Merge branch 'master' into mvcc_prototype 2022-04-07 15:14:06 +02:00
avogar
1c783ed88a Resolve conflicts 2022-04-07 12:17:48 +00: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
Amos Bird
a071bde59e
Use storage_snapshot for projection analysis 2022-04-07 19:56:31 +08:00
Alexander Tokmakov
8290ffa88d Merge branch 'master' into mvcc_prototype 2022-04-07 13:50:42 +02:00
Mikhail f. Shiryaev
a7145cf087
Move version_arg to version_helper, add tests 2022-04-07 13:48:52 +02:00
avogar
d2017a63b1 Merge branch 'master' of github.com:ClickHouse/ClickHouse into improve-schema-inference 2022-04-07 11:36:40 +00:00
vdimir
eb7ac4c3a6
Handle empty expression list in cross join 2022-04-07 11:32:32 +00: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
Mikhail f. Shiryaev
11fe15be9e
Add python unit tests to backport workflow 2022-04-07 12:48:54 +02:00
Mikhail f. Shiryaev
58d381de5c
A temporary fix for artifactory push before multiple architectures 2022-04-07 12:48:54 +02:00
Mikhail f. Shiryaev
9c5ad2a158
Fix action for docker images build 2022-04-07 12:48:53 +02:00
Mikhail f. Shiryaev
eb62b18845
Improve and fix edge cases for docker_server.py
- Allow define version as file
- Add inline cache
- Fix auto_release_type function
2022-04-07 12:48:53 +02:00
Mikhail f. Shiryaev
846e4b94fb
Tiny improvements to git and version helpers 2022-04-07 12:48:51 +02:00
vdimir
69160fa3e3
remove dead code in needRewrite function 2022-04-07 10:46:39 +00: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
tavplubix
b32800420c
Update stress 2022-04-07 13:30:11 +03: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
jewisliu
77edd41b2e [Improvement] improvement in PARTITION ALL
1. ASTPartition::formatImpl should output ALL while executing ALTER TABLE t DETACH PARTITION ALL
2. prohibit PARTITION ALL excepte DETACH PARTITION ALL
2022-04-07 17:37:01 +08: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
LAL2211
68bdcdca80 code fix for Ldap Injection 2022-04-06 14:15:30 -04:00
Kruglov Pavel
87e0656c3b
Fix flaky test 00155_long_merges 2022-04-06 19:44:37 +02:00
LAL2211
b3f59537ca added additional check 2022-04-06 13:34:20 -04:00
tavplubix
45b284d098
Update 02248_nullable_custom_types_to_string.sql 2022-04-06 20:22:24 +03:00