Commit Graph

16741 Commits

Author SHA1 Message Date
Mikhail f. Shiryaev
f506b6c1a3
Fix linter issues and missed formatting 2022-04-08 19:50:41 +02:00
Kruglov Pavel
d7b88d7683
Merge pull request #35582 from Avogar/improve-schema-inference
Improve schema inference and add some fixes
2022-04-08 13:44:52 +02:00
Mikhail f. Shiryaev
44c80a388f
Merge pull request #36064 from ClickHouse/fix-rerun-lambda
Add debug and fix cancel_rerun lambda
2022-04-08 13:33:37 +02:00
Mikhail f. Shiryaev
90a863bbc2
Merge pull request #36029 from ClickHouse/fix-release-workflow
Fix release workflow
2022-04-08 13:09:01 +02:00
vdimir
1322fab333
Fix style in run_check.py 2022-04-08 12:51:58 +02:00
Vitaly Baranov
45dea9933b
Merge pull request #35883 from azat/format-settings
Do not allow SETTINGS after FORMAT for INSERT queries
2022-04-08 12:38:14 +02:00
Mikhail f. Shiryaev
811178da54
Add debug and fix cancel_rerun lambda 2022-04-08 12:28:25 +02:00
alesapin
1ba77786ea
Merge pull request #36054 from ClickHouse/fix-flaky-test
Fix flaky test
2022-04-08 12:08:21 +02:00
alesapin
8ec802bc62
Merge pull request #35475 from kssenii/remote-fs-cache-improvements
Allow to write remote fs cache on all write operations. Add `system.remote_filesystem_cache` table. Add `drop remote filesystem cache (<path>)` query. Add `system.remote_data_paths` table.
2022-04-08 12:06:26 +02:00
Vladimir C
608f4c3b70
Merge pull request #35991 from vdimir/run-check-debug-labels 2022-04-08 12:00:37 +02:00
Vladimir C
265fa90689
Merge pull request #36033 from vdimir/cross-join-empty-list 2022-04-08 11:59:21 +02:00
kssenii
0b7af1f26c Fix checks 2022-04-08 01:58:55 +02:00
Alexey Milovidov
2623b05e59 Fix flaky test 2022-04-07 22:58:29 +02:00
Mikhail f. Shiryaev
a5b1a0620c
Add default IMAGES_PATH value 2022-04-07 18:35:59 +02:00
Mikhail f. Shiryaev
dd4bd4abba
Simplify and fix coverity 2022-04-07 18:35:58 +02:00
Kseniia Sumarokova
5f9bc1c68e
Merge pull request #35987 from awakeljw/fork_chmaster
[Improvement] improvement in PARTITION ALL
2022-04-07 17:36:35 +02:00
alesapin
e2167b8fb0
Merge pull request #36041 from ClickHouse/docker-cache
Docker cache
2022-04-07 17:25:06 +02:00
Mikhail f. Shiryaev
44895e5287
Improve build cache for docker images
- Save all layer's cache
- Use cache with fallback to a latest tags
2022-04-07 17:16:43 +02: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
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
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
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
58d381de5c
A temporary fix for artifactory push before multiple architectures 2022-04-07 12:48:54 +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
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
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
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
2ef316801c Merge branch 'master' into use_minmax_index 2022-04-07 10:53:25 +08: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
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
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