Commit Graph

9122 Commits

Author SHA1 Message Date
mergify[bot]
806fef41c7
Merge branch 'master' into fix-insert-values 2022-01-19 16:09:46 +00:00
Kruglov Pavel
e6070b124b
Merge pull request #33780 from vdimir/test-use-tags
Support USE_* build flags in tests' tags
2022-01-19 18:31:20 +03:00
Maksim Kita
41a6cd54aa
Merge pull request #33516 from kitaisreal/range-hashed-dictionary-interval-tree
RangeHashedDictionary use interval tree
2022-01-19 16:30:31 +01:00
Bharat Nallan
4dd8b65a1c
add h3ToCenterChild function (#33313) 2022-01-19 16:04:23 +03:00
Amos Bird
62441f0a0f
Fix mutation when table contains projections (#33679) 2022-01-19 15:27:11 +03:00
vdimir
e5613fce3c Support USE_* build flags in tests' tags 2022-01-19 12:21:51 +00:00
avogar
c4cd8c6da4 Fix parsing query INSERT INTO ... VALUES SETTINGS ... (...), ... 2022-01-19 14:22:32 +03:00
Maksim Kita
123802b43b
Merge pull request #33739 from vdimir/issue_31009
Add test issue_31009
2022-01-18 17:31:31 +01:00
vdimir
98d036e2c0
Add test, close issue #31009 2022-01-18 16:27:34 +03:00
Dmitry Novik
43838c1b4c
Merge pull request #33355 from ucasfl/decimal-binary-op
Enable binary arithmetic between Decimal and Float
2022-01-18 14:04:26 +03:00
alexey-milovidov
19fadd8d41
Merge pull request #33707 from kitaisreal/h3-remove-functions-rads-to-degs
H3 remove functions degsToRads, radsToDegs
2022-01-18 03:32:38 +03:00
Anton Popov
a25f2518e3
Merge pull request #33141 from 1over/feature_default_keyword
Add support of DEFAULT keyword for INSERT
2022-01-18 02:04:37 +03:00
Maksim Kita
110b39add4 H3 remove functions degsToRads, radsToDegs 2022-01-17 14:42:50 +00:00
Maksim Kita
42ce3f2ae8 Fixed tests 2022-01-17 14:37:23 +00:00
tavplubix
34b3894422
Merge pull request #33676 from ClickHouse/fix-8340
Correctly determine current database if CREATE TEMPORARY TABLE AS SELECT is queried inside a named HTTP session.
2022-01-17 16:52:09 +03:00
Maksim Kita
886b3c1ace
Merge pull request #33675 from ClickHouse/fix-7462
Allow `insertFrom` for `ColumnFunction`
2022-01-17 13:42:12 +01:00
alexey-milovidov
16feccbb34
Merge pull request #33672 from kitaisreal/functions-dict-get-has-implicit-key-cast
Functions dictGet, dictHas implicit key cast
2022-01-17 07:38:36 +03:00
Alexey Milovidov
ad2e8cc6f5 Add a test 2022-01-17 04:16:29 +03:00
Alexey Milovidov
912d5f82c7 Add a test 2022-01-17 04:07:07 +03:00
Maksim Kita
0df98140af Functions dictGet, dictHas implicit key cast 2022-01-15 23:25:05 +00:00
alexey-milovidov
2f6112bf2e
Merge pull request #33662 from azat/fix-01814_distributed_push_down_limit
Fix 01814_distributed_push_down_limit flakiness
2022-01-15 21:57:10 +03:00
Azat Khuzhin
31a6532f01 Fix 01814_distributed_push_down_limit flakiness
Before it was possible that the query was already cancelled, and so you
will get ExceptionWhileProcessing and QueryFinish:

    ┌─query───────────────────────────────────────────────────────────────────┬─query_id─────────────────────────────┬─read_rows─┬─type─────────────────────┐
    │ SELECT `key` FROM `test_qvcjdo`.`data_01814` GROUP BY `key` LIMIT 0, 10 │ 2d39bfd6-f0e7-404a-9990-7703f7a4ec3a │        40 │ QueryFinish              │
    │ SELECT `key` FROM `test_qvcjdo`.`data_01814` GROUP BY `key` LIMIT 0, 10 │ d930bf54-e965-42fd-9d48-5e54a588187a │        40 │ QueryFinish              │
    │ SELECT `key` FROM `test_qvcjdo`.`data_01814` GROUP BY `key` LIMIT 0, 10 │ d930bf54-e965-42fd-9d48-5e54a588187a │        40 │ ExceptionWhileProcessing │
    └─────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────┴───────────┴──────────────────────────┘

And so you will got more then two rows.

CI: https://s3.amazonaws.com/clickhouse-test-reports/33660/a4e8e61d57eab14116983a340c65e5e2d7039ed5/stateless_tests__release__wide_parts_enabled__actions_.html
2022-01-15 15:04:24 +03:00
Denny Crane
b8171eb755 test for #33592 2022-01-14 18:08:03 -04:00
Kruglov Pavel
d2e9f37bee
Merge branch 'master' into format-by-extention 2022-01-14 18:36:23 +03:00
Kruglov Pavel
5d3f78f773
Update 02165_auto_format_by_file_extension.sh 2022-01-14 18:05:56 +03:00
avogar
3d3ccf8c8f Fix test 02165_auto_format_by_file_extension 2022-01-14 17:47:11 +03:00
avogar
8884c4a3fe Fix tests and build 2022-01-14 16:27:57 +03:00
Kruglov Pavel
d54a430d9c
Merge pull request #33566 from Avogar/fix-avro
Fix segfault in Avro
2022-01-14 16:01:56 +03:00
Vladimir C
1254225061
Merge pull request #33611 from azat/dist-current-database 2022-01-14 14:19:42 +03:00
avogar
2f000a178a Add more tests 2022-01-14 14:00:50 +03:00
Anton Popov
12195b149f
Merge pull request #31966 from ucasfl/comp-decimal-float
Enable comparison between Decimal and Float
2022-01-14 12:56:26 +03:00
Azat Khuzhin
c341b3b237 Add current database to table names in JOIN section for distributed queries
This should fix JOIN w/o explicit database.

v2: rewrite only JOIN section, since there is old behavior that relies
on default_database for IN section, see [1]:
- 01487_distributed_in_not_default_db
- 01152_cross_replication

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/33611/d0ea3c76fa51131171b1825939680867eb1c04da/fast_test__actions_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-14 11:23:38 +03:00
Kruglov Pavel
1abc899308
Update 02168_avro_bug.sql 2022-01-13 15:26:30 +03:00
taiyang-li
82a3024712 Merge remote-tracking branch 'ck/master' into bigo_hive_table 2022-01-13 18:11:23 +08:00
taiyang-li
3521d6824f fix stateless tests 2022-01-13 18:08:10 +08:00
alesapin
e63807ffa6
Merge pull request #33580 from CurtizJ/fix-test-02156
Fix test `02156_storage_merge_prewhere`
2022-01-13 12:20:10 +03:00
tavplubix
bacdaa7b4d
Merge pull request #33564 from ClickHouse/fix_minor_bug_in_ttl
Fix minor bug in TTL and flaky test
2022-01-13 11:51:57 +03:00
mergify[bot]
48f8706869
Merge branch 'master' into comp-decimal-float 2022-01-13 04:33:28 +00:00
feng lv
abea81789e fix and add more tests 2022-01-13 03:25:01 +00:00
taiyang-li
d3b654bf8d fix stateless test 02156_storage_merge_prewhere 2022-01-13 10:43:22 +08:00
Anton Popov
60bb0e43f4 fix test with wide parts 2022-01-12 23:51:40 +03:00
alexey-milovidov
6c71a7c40f
Merge pull request #33518 from hexiaoting/dev-limit-offset
Fix bug for select from VIEW with format and limit settings
2022-01-12 23:39:31 +03:00
avogar
c5ea4b1bc0 Fix segfault in Avro 2022-01-12 18:34:28 +03:00
avogar
8390e9ad60 Detect format by file name in file/hdfs/s3/url table functions 2022-01-12 18:29:31 +03:00
Alexander Tokmakov
72b67f37fc fix log message and flaky test 2022-01-12 18:20:22 +03:00
Kruglov Pavel
db63218577
Merge pull request #33556 from Avogar/fix-from-infile
Fix parsing queries with FROM INFILE statement again
2022-01-12 17:24:43 +03:00
tavplubix
8c9a369588
Merge pull request #33535 from kssenii/fix-local-client-exception
Fix clickhouse local interactive exception case
2022-01-12 13:17:05 +03:00
avogar
7ea75b3082 Fix parsing queries with FROM INFILE statement again 2022-01-12 12:59:40 +03:00
taiyang-li
66813a3aa9 merge master 2022-01-12 16:56:29 +08:00
Kruglov Pavel
a142b7c55e
Merge pull request #33443 from zhongyuankai/auto_format_by_file_extension
INTO OUTFILE / FROM INFILE: autodetect FORMAT by file extension
2022-01-12 11:23:38 +03:00