Commit Graph

75784 Commits

Author SHA1 Message Date
Maksim Kita
d523b28459 SQLUserDefinedFunctions support ON CLUSTER 2021-10-27 11:28:21 +03:00
Maksim Kita
fd002e327c Updated HashedArrayDictionary 2021-10-27 11:26:42 +03:00
alesapin
fc19a06a99
Merge pull request #30646 from ianton-ru/MDB-14537-2
Retry on Yandex.S3 throttle
2021-10-27 11:18:38 +03:00
alesapin
2af950d4d5
Merge pull request #30658 from ClickHouse/std_mutex_alter_lock
Change `alter_lock` from `RWLock` to `std::timed_mutex`
2021-10-27 11:14:11 +03:00
alesapin
a29711f1d0
Merge pull request #30651 from ClickHouse/fix_intersecting_parts_to_do
Fix intersecting parts in `parts_to_do`
2021-10-27 10:52:21 +03:00
Mátyás Jani
290bd317fb
Update documentation for TSVWithNames parsing
The documentation of the format TabSeparatedWithNames stated during parsing
the first row (header) is ignored. It is not true anymore, the header is parsed, and
the column position is determined from the header.
2021-10-27 09:49:54 +02:00
alesapin
8749f4a31a
Merge pull request #29043 from nvartolomei/nv/parts-uuid-move-shard-kill
Part movements between shards improvements and cancel support
2021-10-27 10:46:00 +03:00
alesapin
ce22666c2a
Merge pull request #30727 from azat/fix-docker_images_check
tests/ci/docker_images_check: add missing time import
2021-10-27 10:19:34 +03:00
Azat Khuzhin
d8a64a7ece tests/ci: fix wrong-import-order pylint warning 2021-10-27 10:14:39 +03:00
Azat Khuzhin
5930714ccd tests/ci/version_helper.py: fix pylint warnings 2021-10-27 10:03:25 +03:00
Azat Khuzhin
161f48c2c8 tests/ci/style_check.py: fix pylint warnings 2021-10-27 10:03:25 +03:00
Azat Khuzhin
e933e05662 tests/ci/s3_helper.py: fix pylint warnings 2021-10-27 10:03:25 +03:00
Azat Khuzhin
ce7e18fcb7 tests/ci/run_check.py: fix pylint warnings 2021-10-27 10:03:24 +03:00
Azat Khuzhin
4e2ffbd38c tests/ci/report.py: fix pylint warnings 2021-10-27 10:03:24 +03:00
Azat Khuzhin
bcac58acde tests/ci/pvs_check.py: fix pylint warnings 2021-10-27 10:03:24 +03:00
Azat Khuzhin
a90e477e41 tests/ci/pr_info.py: fix pylint warnings 2021-10-27 10:03:24 +03:00
Azat Khuzhin
90ea2de9bb Add unidiff into style image 2021-10-27 10:03:24 +03:00
Azat Khuzhin
b41c77f4f8 Add boto3 to style image 2021-10-27 10:03:24 +03:00
Azat Khuzhin
0c9c15e06b tests/ci/finish_check.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
3dd09db096 tests/ci/fast_test_check.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
2a3fe5f798 tests/ci/docker_images_check.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
e581cdb933 tests/ci/compress_files.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
d1c49bbdcb tests/ci/build_report_check.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
c47617a612 tests/ci/build_check.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
944437caf6 Add PyGithub into style image 2021-10-27 10:03:23 +03:00
Azat Khuzhin
fa50dd885c Run pylint for ci scripts 2021-10-27 10:03:23 +03:00
Azat Khuzhin
13850ba257 tests/ci/docker_images_check: add missing time import 2021-10-27 10:01:53 +03:00
Kseniia Sumarokova
57626438b0
Merge pull request #30469 from kirillikoff/kirillikoff-DOCSUP-13264
DOCSUP-13264: Document the SQL-statements INTERSECT, EXCEPT and ANY, ALL operators
2021-10-27 09:48:12 +03:00
Azat Khuzhin
9936ee5181 Update gtest_disk_encrypted for new readFile() interface 2021-10-27 09:37:26 +03:00
Azat Khuzhin
7ce01b328e Update gtest_disk_encrypted for new createReadBufferFromFileBase() interface 2021-10-27 09:37:26 +03:00
Azat Khuzhin
d0a031014e Fix test_part_uuid::test_part_uuid_wal
CI: https://clickhouse-test-reports.s3.yandex.net/30716/ca41267a4d5d7e1da3dd584c98a9143e15f394cf/integration_tests_(asan).html#fail1
2021-10-27 09:28:10 +03:00
feng lv
4ac120b883 remove some unneeded header files 2021-10-27 04:13:12 +00:00
凌涛
fb6716f4ac add doc 2021-10-27 11:56:55 +08:00
jasperzhu
49dd69c6c9 adjust header files 2021-10-27 05:22:05 +05:30
jasperzhu
0217ed09ac revise compile flag 2021-10-27 05:19:15 +05:30
jasperzhu
5ab55f7eaa fixed function defect 2021-10-27 04:21:46 +05:30
jasperzhu
27f30dab89 remove function due to extra latency 2021-10-27 03:44:28 +05:30
Cody Baker
b764b6ce21
Update hardware page colors (#30719)
Replaces yellow with a light gray
2021-10-27 00:08:05 +03:00
alesapin
44684a8dff
Merge pull request #30678 from ClickHouse/fix_keeper_test
Fix keeper zookeeper converter test
2021-10-26 23:03:30 +03:00
Azat Khuzhin
fbf98bea0b Fix "Column is not under aggregate function and not in GROUP BY" with PREWHERE
In 21.7 the function column type is unknown:

  (lldb) p tmp_actions_dag->dumpDAG()
  (std::string) $14 = "0 : INPUT () (no column) Int32 key\n1 : COLUMN () Const(UInt8) UInt8 1\n2 : FUNCTION (0) (no column) UInt8 ignore(key) [ignore]\n3 : FUNCTION (1, 2) (no column) UInt8 or(1, ignore(key)) [or]\nIndex: 0 1 2 3\n"
                                                                                                                                                                            ^^^^^^^^^^^

While in 21.8+ it is const:

  (lldb) p tmp_actions_dag->dumpDAG()
  (std::string) $22 = "0 : INPUT () (no column) Int32 key\n1 : COLUMN () Const(UInt8) UInt8 1\n2 : FUNCTION (0) (no column) UInt8 ignore(key) [ignore]\n3 : FUNCTION (1, 2) Const(UInt8) UInt8 or(1, ignore(key)) [or]\nIndex: 0 1 2 3\n"
                                                                                                                                                                            ^^^^^

This is after getRootActions() in SelectQueryExpressionAnalyzer::appendPrewhere()

v1: fix for SELECT only, but breaks virtual columns
v2: hacky fix, that also touches MergeTree code
v3: allow_remove_inputs=false
v4: allow_constant_folding=false instead
2021-10-26 22:57:48 +03:00
Azat Khuzhin
dd7bffcaf9 ActionsDAG: add allow_constant_folding flag for removeUnusedActions() 2021-10-26 22:56:44 +03:00
Azat Khuzhin
248b689067 ActionsDag: add allow_remove_inputs for other variants of removeUnusedActions() 2021-10-26 22:56:44 +03:00
Azat Khuzhin
874f7a5052 Add a test with optimized columns from PREWHERE 2021-10-26 22:56:44 +03:00
jasperzhu
fb31410926 change to inline for bitmask generator 2021-10-27 00:05:47 +05:30
Nikita Mikhaylov
aae30a9e37
Fix fuzzer build (#30344) 2021-10-26 20:30:34 +03:00
Nikolai Kochetov
1f96da2f3c
Merge pull request #30707 from ClickHouse/revert-30673-improve-usability-remote-host-filter
Revert "Improve usability of `remote_url_allow_hosts`"
2021-10-26 20:15:52 +03:00
Nikolai Kochetov
403ff98baa
Revert "Improve usability of remote_url_allow_hosts" 2021-10-26 20:15:29 +03:00
Tatiana Kirillova
da7d491125
Update index.md 2021-10-26 20:10:30 +03:00
Tatiana Kirillova
bc0a9c6984
Update index.md 2021-10-26 20:09:13 +03:00
jasperzhu
1caff8a81c fixed compile error 2021-10-26 22:12:21 +05:30