Commit Graph

9148 Commits

Author SHA1 Message Date
cmsxbc
58dd1a2d5c
add function addressToLineWithInlines 2022-01-25 19:13:47 +08:00
Maksim Kita
d9e079da4e Added tests 2022-01-25 11:13:37 +00:00
Maksim Kita
bcbd956b83 RangeHashedDictionary change layout structure 2022-01-25 11:13:37 +00:00
Nikolay Degterinsky
5edbae6734 Merge branch 'master' into classification 2022-01-25 10:22:47 +00:00
Azat Khuzhin
922b758298 Disable parallel run for 00985_merge_stack_overflow
Since parallel queries to system.columns may fail with
TOO_DEEP_RECURSION too.

CI: https://s3.amazonaws.com/clickhouse-test-reports/33201/0013a2fdee26fc11a34ebffaf10f69d7cfff9b3a/fast_test__actions_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-25 12:54:43 +03:00
Kruglov Pavel
7873b4475f
Merge branch 'master' into autodetect-format 2022-01-25 10:56:52 +03:00
Kruglov Pavel
9f12f4af13
Merge pull request #33302 from Avogar/formats-with-suffixes
Allow to create new files on insert for File/S3/HDFS engines
2022-01-25 10:56:15 +03:00
avogar
a6740d2f9a Detect format and schema for stdin in clickhouse-local 2022-01-25 10:25:37 +03:00
avogar
ad01d68f36 Fix parsing IPv6 from query parameter and fix IPv6 to string conversion 2022-01-25 10:09:17 +03:00
zvonand
70b5db0d20 Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_14648 2022-01-25 09:38:50 +03:00
Anton Popov
56d2b52693 fix reading of nested tuples 2022-01-24 18:44:11 +03:00
achimbab
8c52b45482
Merge branch 'ClickHouse:master' into ttest_confidence_intervals 2022-01-24 22:56:05 +09:00
Anton Popov
6cbcfd706f fix conversion function to literal 2022-01-24 15:28:15 +03:00
alexey-milovidov
6ee0b18979
Merge pull request #33920 from ClickHouse/fix-if-combinator
Fix aggregate function combinator `-If` with `Nullable` filter argument
2022-01-24 11:43:11 +03:00
Anton Popov
3567e18f6e fix 'Not found column' exception in distributed queries with arrays and tuples 2022-01-24 10:46:30 +03:00
achimbab
5d70734132
Merge branch 'master' into ttest_confidence_intervals 2022-01-24 11:57:56 +09:00
Maksim Kita
7fffe5846f
Merge pull request #33924 from kitaisreal/sql-user-defined-functions-invalid-lambda-crash-fix
SQLUserDefinedFunctions invalid lambda additional cases
2022-01-23 22:06:49 +01:00
zvonand
86cc9419ba Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_14648 2022-01-23 22:30:31 +03:00
Maksim Kita
818966c1a2
Merge pull request #33921 from bharatnc/ncb/h3-improve
explicitly checkAndGetColumn for remaining H3 funcs
2022-01-23 18:08:30 +01:00
Maksim Kita
243a280936 Updated tests 2022-01-23 17:02:43 +00:00
bharatnc
6faad9366b fix tests 2022-01-23 06:29:57 -08:00
Maksim Kita
f76536c079
Merge pull request #33914 from kitaisreal/dictionaries-added-support-for-date-time-64
Dictionaries added support for DateTime64
2022-01-23 13:21:22 +01:00
Maksim Kita
c66d5c6dd0
Merge pull request #33794 from kitaisreal/support-cast-from-map-to-array-of-tuple
Support cast from Map to Array of Tuple
2022-01-23 13:10:28 +01:00
Alexey Milovidov
4d30e6eab6 Fix aggregate function combinator -If with Nullable filter argument 2022-01-23 08:27:29 +03:00
Maksim Kita
2d84d5f74d
Merge pull request #33918 from kitaisreal/dictionaries-updated-support-for-empty-attributes
Dictionaries updated support for empty attributes
2022-01-23 00:56:10 +01:00
Maksim Kita
4be393fba5 Support cast from Map to Array of Tuple 2022-01-22 20:40:18 +00:00
Maksim Kita
d1376684ae Added tests 2022-01-22 20:01:56 +00:00
Maksim Kita
b7605367d9 Added tests 2022-01-22 18:25:28 +00:00
Anton Popov
6861adadcf
Merge pull request #33637 from azat/fix-optimize_aggregation_in_order
RFC: Fix "Chunk should have AggregatedChunkInfo in GroupingAggregatedTransform"
2022-01-22 19:05:39 +03:00
alexey-milovidov
d7a63dfda6
Merge pull request #33677 from ucasfl/fix-sumif
Fix sumIf rewrite
2022-01-22 17:12:13 +03:00
Maksim Kita
4100512818
Merge pull request #33621 from bharatnc/ncb/h3-misc-funcs
add h3 misc functions - part 2
2022-01-22 12:20:06 +01:00
Maksim Kita
1bc3f086b1
Merge pull request #33889 from kitaisreal/sql-user-defined-functions-invalid-lambda-crash-fix
SQLUserDefinedFunctions invalid lambda additional fixes
2022-01-22 12:09:42 +01:00
alexey-milovidov
8cabd373e1
Merge pull request #32170 from FrankChen021/hex
Allows hex() to work on type of UUID
2022-01-22 13:03:22 +03:00
alexey-milovidov
a58432142c
Merge pull request #33830 from Avogar/json-each-row
Fix schema inference for JSONEachRow and JSONCompactEachRow
2022-01-22 10:37:28 +03:00
mergify[bot]
7734f9d629
Merge branch 'master' into fix-sumif 2022-01-22 06:08:47 +00:00
Maksim Kita
3a252cd3a0 Updated tests 2022-01-21 20:49:42 +00:00
Maksim Kita
1b5a67517b
Merge pull request #33870 from kitaisreal/dictionary-attach-detach-added-test
Dictionary ATTACH, DETACH added test
2022-01-21 20:17:04 +01:00
alexey-milovidov
43f2e2c178
Merge pull request #33849 from CurtizJ/fix-sparse-columns
Fix sparse columns
2022-01-21 21:13:02 +03:00
Kruglov Pavel
7116572702
Merge pull request #33829 from Avogar/autodetect-format
Add format autodetect in clickhouse-local
2022-01-21 18:58:49 +03:00
Maksim Kita
330987a64b
Merge pull request #33868 from kitaisreal/sql-user-defined-functions-invalid-lambda-crash-fix
SQLUserDefinedFunctions invalid lambda crash fix
2022-01-21 16:23:12 +01:00
Maksim Kita
d6bb5c1239 Dictionary ATTACH, DETACH added test 2022-01-21 14:41:53 +00:00
Maksim Kita
3b24c39294 SQLUserDefinedFunctions invalid lambda crash fix 2022-01-21 14:33:57 +00:00
Maksim Kita
9b3a36a420
Merge pull request #33846 from ClickHouse/Avogar-patch-1
Fix DESCRIBE TABLE query formatting
2022-01-21 15:28:05 +01:00
Nikolai Kochetov
012453e212
Merge pull request #33588 from alexeypavlenko/fix_nested_default
Fix default value generation for columns with dot
2022-01-21 17:19:42 +03:00
Kruglov Pavel
daba57a933
Merge pull request #33737 from Avogar/bool-type
Some improvements and fixes for Bool data type
2022-01-21 15:24:58 +03:00
avogar
12d20eb8be Fix tests 2022-01-21 15:19:57 +03:00
Kruglov Pavel
bae0898c8c
Update 02182_json_each_row_schema_inference.sh 2022-01-21 15:15:57 +03:00
avogar
5997ace03b Add test 2022-01-21 15:12:42 +03:00
bharatnc
3342c64110 Merge remote-tracking branch 'upstream/master' into ncb/h3-misc-funcs 2022-01-20 20:21:56 -08:00
mergify[bot]
8e7b26bae0
Merge branch 'master' into ncb/degrees-radians-funcs 2022-01-20 22:30:27 +00:00
Anton Popov
558eb7ea73 fix sparse columns 2022-01-21 00:06:32 +03:00
Maksim Kita
56a54af27b
Merge pull request #33833 from amosbird/keyconditionfix
Fix KeyCondition with no common types
2022-01-20 20:31:27 +01:00
Maksim Kita
b2d95f6750
Merge pull request #33831 from kitaisreal/dictionaries-added-date32-type-support
Dictionaries added Date32 type support
2022-01-20 19:04:46 +01:00
mergify[bot]
2eab179a0d
Merge branch 'master' into json-each-row 2022-01-20 17:32:28 +00:00
Maksim Kita
502c1637d5
Merge pull request #33827 from kitaisreal/range-hashed-dictionary-handle-invalid-intervals
RangeHashedDictionary handle invalid intervals
2022-01-20 17:16:49 +01:00
tavplubix
41ee114abb
Merge pull request #33819 from bigo-sg/optimize_explain_create_function
Support explain create function query
2022-01-20 19:07:43 +03:00
李扬
9f6f84259d
Fix bug of check table when creating data part with wide format and projection (#33774) 2022-01-20 18:05:17 +03:00
Bharat Nallan
adbdc3153a
improvements to tests for h3kRing and h3ToChildren funcs (#33311) 2022-01-20 17:08:13 +03:00
achimbab
779538bd89
Implemented meanZTest (#33354) 2022-01-20 16:57:37 +03:00
Amos Bird
e62f4e50a6
Fix KeyCondition with no common types 2022-01-20 21:56:12 +08:00
Maksim Kita
115ecb09a8 Dictionaries added Date32 type support 2022-01-20 13:48:33 +00:00
avogar
67e396f8f4 Fix schema inference for JSONEachRow and JSONCompactEachRow 2022-01-20 16:31:24 +03:00
Frank Chen
962bb9cd9c Update test case 2022-01-20 21:23:52 +08:00
Vladimir C
7156e64ee2
Merge pull request #33360 from RogerYK/feat/bitSlice 2022-01-20 16:20:27 +03:00
avogar
a20fdc210a Add format autodetect in clickhouse-local 2022-01-20 15:55:28 +03:00
mergify[bot]
9326f99d78
Merge branch 'master' into fix-lz4 2022-01-20 11:53:51 +00:00
Kruglov Pavel
7bfb1231b9
Merge branch 'master' into formats-with-suffixes 2022-01-20 14:47:17 +03:00
taiyang-li
4db3ee2edd add stateless tests 2022-01-20 19:41:35 +08:00
Maksim Kita
844eb4ccdc RangeHashedDictionary handle invalid intervals 2022-01-20 11:16:18 +00:00
avogar
2d975057d0 Make result Bool only if arguments contain Bool 2022-01-20 14:16:11 +03:00
avogar
ba54a5ff80 Some improvements and fixes for Bool data type 2022-01-20 14:16:11 +03:00
Kruglov Pavel
f644602ec8
Merge pull request #33776 from Avogar/fix-insert-values
Fix parsing query INSERT INTO ... VALUES SETTINGS ... (...), ...
2022-01-20 14:09:27 +03:00
bharatnc
ab1f8b496b more tests 2022-01-19 22:35:26 -08:00
bharatnc
aefa9f25ec add tests for degrees and radians 2022-01-19 22:18:45 -08:00
Kseniia Sumarokova
19df6413dc
Merge pull request #33729 from Vxider/windowview-stream-table-join
Enable stream to table join in WindowView
2022-01-20 09:14:53 +03:00
mergify[bot]
cbb87e762c
Merge branch 'master' into formats-with-suffixes 2022-01-19 17:21:18 +00:00
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
Nikolay Degterinsky
8c1c3f0ce8 Small fix 2022-01-19 10:31:04 +00:00
Kruglov Pavel
a166963d91
Update 02168_avro_bug.sql 2022-01-19 13:14:03 +03:00
Frank Chen
d0c72f6df4 Update test case
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-01-19 17:15:36 +08:00
mergify[bot]
f2da296990
Merge branch 'master' into windowview-stream-table-join 2022-01-19 02:08:52 +00:00
Nikolay Degterinsky
9d45025c7d Merge branch 'master' into classification 2022-01-18 21:41:03 +00:00
Azat Khuzhin
4a9ef3ba76 Use hex char numbers for Ctrl-C/Ctrl-V in 02160_client_autocomplete_parse_query
Since special symbols for Ctrl-C/Ctrl-V are not rendered in github UI,
yes vim renders it, but this does not makes review easier.
2022-01-18 21:03:51 +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
mergify[bot]
b318f9b5db
Merge branch 'master' into formats-with-suffixes 2022-01-18 12:17:07 +00: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
achimbab
9761b7ead2 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ttest_confidence_intervals 2022-01-18 19:46:11 +09:00
Vxider
ba0a702807 enable stream to table join in windowview 2022-01-18 09:20:15 +00:00
frank chen
3391f3f06e Change the order
Signed-off-by: frank chen <frank.chen021@outlook.com>
2022-01-18 14:27:08 +08: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
alexeypavlenko
06b08b0e3a fix insert 2022-01-17 23:06:56 +02:00
alexeypavlenko
4cc1e25d45 simplify test 2022-01-17 22:36:03 +02:00
alexeypavlenko
8778eda2e0 fix unit test (sorry, took a while to build it on my laptop) 2022-01-17 22:35:12 +02:00
alexeypavlenko
690590f7c3 Fix default value generation for columns with dot 2022-01-17 22:35:11 +02: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
Nikolay Degterinsky
6424311773 Fix 2022-01-17 10:01:06 +00:00
zvonand
32dc865203 Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_14648 2022-01-17 11:42:06 +03: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
bharatnc
834e4b9fb0 Merge remote-tracking branch 'upstream/master' into ncb/h3-misc-funcs 2022-01-16 11:43:18 -08:00
feng lv
1cdadbd250 Fix sumIf rewrite 2022-01-16 06:25:11 +00: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
bharatnc
3660438325 Merge remote-tracking branch 'upstream/master' into ncb/h3-misc-funcs 2022-01-14 16:46:17 -08:00
Denny Crane
b8171eb755 test for #33592 2022-01-14 18:08:03 -04:00
Kruglov Pavel
a7df9cd53a
Merge branch 'master' into formats-with-suffixes 2022-01-14 21:03:49 +03:00
avogar
253035a5df Fix 2022-01-14 19:17:06 +03: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
Azat Khuzhin
a4c2f23b07 Fix "Chunk should have AggregatedChunkInfo in GroupingAggregatedTransform"
In case of optimize_aggregation_in_order there will be
ChunkInfoWithAllocatedBytes.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-14 17:44:09 +03:00
Azat Khuzhin
d9a64d1f86 Fix optimize_aggregation_in_order in case of empty result set
Note, that this is not complete fix, see the next two patches.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-14 17:43:52 +03:00
Kruglov Pavel
5a908e8edd
Merge branch 'master' into formats-with-suffixes 2022-01-14 16:45:20 +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
bharatnc
165ce544ee tests for numHexagons 2022-01-14 00:17:06 -08:00
bharatnc
8830a9f52a tests for h3ExactEdgeLengthRads 2022-01-13 23:49:56 -08:00
bharatnc
b8b9b16adb tests for h3ExactEdgeLengthKm 2022-01-13 23:40:46 -08:00
bharatnc
43eafc9316 tests for h3ExactEdgeLengthM 2022-01-13 22:22:37 -08:00
bharatnc
54016388f0 tests for h3EdgeLengthKm 2022-01-13 19:19:23 -08:00
zvonand
cd098b3eab updated stateless test for fromUnixTImestamp64 2022-01-13 16:44:40 +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
Nikolay Degterinsky
1c24667f20 Refactor 2022-01-12 16:49:21 +00: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
Kruglov Pavel
f299c35904
Merge pull request #33529 from Avogar/fix-arrow-dict
Fix possible segfault in arrowSchemaToCHHeader
2022-01-12 11:11:16 +03:00
alexey-milovidov
e52e3c1499
Update 02166_arrow_dictionary_inference.sh 2022-01-12 01:52:59 +03:00
kssenii
211f1dd482 Fix 2022-01-12 00:28:53 +03:00
avogar
9915ce7ded Fix segfault in arrowSchemaToCHHeader 2022-01-11 20:30:35 +03:00
mergify[bot]
7999d90900
Merge branch 'master' into auto_format_by_file_extension 2022-01-11 17:21:14 +00:00
RogerYK
8707e3bea1 make implementation clear and add more test 2022-01-11 23:22:16 +08:00
avogar
070fd60b02 Fix parsing queries with FROM INFILE statement 2022-01-11 17:16:54 +03:00
zhongyuankai
7456ed06e6
Delete 02162_auto_format_by_file_extension.sh 2022-01-11 22:02:32 +08:00
zhongyuankai
4ce9f7ac58 INTO OUTFILE / FROM INFILE: autodetect FORMAT by file extension 2022-01-11 21:47:52 +08:00
zhongyuankai
f97250aea9 Merge branch 'master' into auto_format_by_file_extension 2022-01-11 21:41:49 +08:00
hexiaoting
5c847264f7 Fix bug for select from VIEW with format and limit settings 2022-01-11 20:19:41 +08:00
Maksim Kita
a9f389d546
Merge pull request #33512 from kitaisreal/h3-funcs-bad-arguments-possible-crash-fix
H3 functions bad arguments possible crash fix
2022-01-11 12:31:57 +03:00
Kruglov Pavel
eb65175b6b
Merge pull request #33504 from ClickHouse/fix_nested_lc_default
Fix insert into defalut nested LowCardinality column.
2022-01-11 12:15:27 +03:00
Maksim Kita
ca5e08cef6 H3 functions bad arguments possible crash fix 2022-01-11 11:21:56 +03:00
Maksim Kita
4ddac56787
Merge pull request #33479 from bharatnc/ncb/h3-misc-funcs
add h3 misc functions - part 1
2022-01-10 23:44:42 +03:00
Nikolay Degterinsky
85b8985df2 Better 2022-01-10 20:30:26 +00:00
Maksim Kita
8465de9a4e
Merge pull request #33482 from zhongyuankai/materialized_view_support_virtual_column
Materialized view support virtual column
2022-01-10 23:13:31 +03:00
Maksim Kita
22b614857d
Merge pull request #33383 from stigsb/explain-ast-alter-command-names
Print alter command names in EXPLAIN AST
2022-01-10 23:13:18 +03:00
Mikhail f. Shiryaev
1cf46f378f
Merge pull request #33494 from msaf1980/rollup_rules_type
GraphiteMergeTree Rollup rules type
2022-01-10 20:53:20 +01:00
Nikolai Kochetov
776bb0b02c Fix insert into defalut nested LowCardinality column. 2022-01-10 21:30:28 +03:00
Azat Khuzhin
3564ef7f65 tests: add echo into 01018_Distributed__shard_num
- move CREATE/INSERT at the beginning
- add echoOn
2022-01-10 21:21:25 +03:00
Azat Khuzhin
15629d779f tests: make 01018_Distributed__shard_num restartable 2022-01-10 21:21:24 +03:00
Azat Khuzhin
017e8717b5 tests: update 01018_Distributed__shard_num to expect nested shard num 2022-01-10 21:21:24 +03:00
Azat Khuzhin
df999aae6b tests: cover _shard_num with GROUP BY by column name and alias 2022-01-10 21:21:24 +03:00
mergify[bot]
5857667453
Merge branch 'master' into materialized_view_support_virtual_column 2022-01-10 16:25:46 +00:00
Stig Bakken
d9c86755ba Add functional test 2022-01-10 16:05:52 +01:00
Anton Popov
46b9279d81
Merge pull request #33300 from CurtizJ/support-prewhere-storage-merge
Support `optimize_move_to_prewhere` with storage `Merge`
2022-01-10 15:15:15 +03:00
msaf1980
780a1b2abe graphite: split tagged/plain rollup rules (for merges perfomance) 2022-01-10 16:34:16 +05:00
Igor Nikonov
5199365c40 Fix test for insert_deduplication_token
+ sync replica before checks in replica test
+ use different table names for multi block tests
2022-01-10 11:12:30 +00:00
Maksim Kita
7d24c05424
Update 02164_materialized_view_support_virtual_column.sql 2022-01-10 12:21:49 +03:00
Maksim Kita
f34fdaec46
Update 02164_materialized_view_support_virtual_column.sql 2022-01-10 12:20:31 +03:00
zhongyuankai
61ea0837d4 materialized view support virtual column 2022-01-10 15:53:41 +08:00
mergify[bot]
664eb7d456
Merge branch 'master' into decimal-binary-op 2022-01-10 07:14:56 +00:00
Kseniia Sumarokova
0a1300d32a
Merge pull request #33340 from Vxider/fix-windowview-inner-table-parser
Fix inner table parser in window view
2022-01-10 09:45:17 +03:00
Igor Nikonov
102b9cdcfb Merge remote-tracking branch 'origin/master' into deduplication_token_7461 2022-01-09 19:15:33 +01:00
Igor Nikonov
0857a8d061 insert_deduplication_token support in non-replicated MergeTree 2022-01-09 19:06:09 +01:00
Kseniia Sumarokova
3d7b41df1c
Merge pull request #33481 from ClickHouse/avoid-exponential-backtracking-in-parser-2
Avoid exponential backtracking in parser (2)
2022-01-09 19:57:30 +03:00
feng lv
b06211fb03 fix
fix
2022-01-09 16:32:31 +00:00
Maksim Kita
b46ce6b4a9
Merge pull request #33478 from kitaisreal/range-hashed-dictionary-ddl-expression-fix
RangeHashedDictionary ddl expression fix
2022-01-09 17:57:16 +03:00
Alexey Milovidov
659df53854 Add a test for operator priorities in SQL 2022-01-09 13:53:22 +03:00
Alexey Milovidov
60a161e043 Fix fast test 2022-01-09 10:50:42 +03:00
Alexey Milovidov
6df2afb5dd One step backwards 2022-01-09 10:42:06 +03:00
Alexey Milovidov
ca62c7d3d1 More tests 2022-01-09 08:26:25 +03:00
Alexey Milovidov
b72818f6d6 More tests 2022-01-09 08:12:28 +03:00
bharatnc
751d046977 add tests for h3CellAreaRads2 2022-01-08 15:23:46 -08:00
bharatnc
bd6019cc95 tests for h3CellAreaM2 2022-01-08 15:23:46 -08:00
bharatnc
fb056cb55b tests for h3hexAreaKm2 2022-01-08 15:23:46 -08:00
bharatnc
0f297fd675 fix file name 2022-01-08 15:23:46 -08:00
bharatnc
b0f96b9351 add tests for h3DegsToRads <> h3RadsToDegs 2022-01-08 15:23:45 -08:00
Maksim Kita
ff53466db6 RangeHashedDictionary ddl expression fix 2022-01-09 00:15:29 +03:00
Maksim Kita
ff645a062a
Merge pull request #33465 from kitaisreal/function-array-last-index
Added function arrayLastIndex
2022-01-08 23:08:04 +03:00
zhongyuankai
878e44eb97 auto format by file extension 2022-01-08 21:47:14 +08:00
Maksim Kita
a8c5789063 Added tests 2022-01-08 11:37:56 +03:00
Maksim Kita
4141246c13 Function monthName small fix 2022-01-08 11:04:22 +03:00
mergify[bot]
905d5be288
Merge branch 'master' into add-decodeURLFormComponent 2022-01-08 01:22:40 +00:00
alexey-milovidov
140d64f785
Merge pull request #33415 from kitaisreal/function-array-last
Added function arrayLast
2022-01-07 20:37:06 +03:00
Maksim Kita
fb179a45a1 Function arrayLast added tests 2022-01-07 19:00:27 +03:00
mergify[bot]
7486578465
Merge branch 'master' into master 2022-01-07 13:43:05 +00:00
cmsxbc
37349a9d0f
add function decodeURLFormComponent 2022-01-07 20:51:30 +08:00
Alexey Milovidov
cc329c3bf9 Add a test 2022-01-07 09:18:13 +03:00
Alexey Milovidov
12c3130a6d Update reference 2022-01-07 02:03:44 +03:00
usurai
b9e69296da Add test for monthName 2022-01-07 00:33:01 +08:00
Alexey Milovidov
1153228f3b Maybe improve robustness of the "query profiler" test 2022-01-06 05:16:09 +03:00
lgbo-ustc
cc3fdb8318 update 01039_test_setting_parse.reference 2022-01-06 09:27:33 +08:00
Andrii Buriachevskyi
699669b81d Add tests for INSERT DEFAULT with format Values 2022-01-05 19:17:25 +01:00
Alexey Milovidov
c4713ee34b Normalize left, right, leftUTF8, rightUTF8 functions 2022-01-05 06:46:31 +03:00
taiyang-li
e1a713addb fix stateless test tests/queries/0_stateless/01039_test_setting_parse.sql 2022-01-05 11:12:45 +08:00
taiyang-li
63c07ff925 fix stateless test tests/queries/0_stateless/02147_arrow_duplicate_columns.sh 2022-01-05 10:59:21 +08:00
alexey-milovidov
48eec3d8f8
Merge pull request #33366 from ClickHouse/aggregate-dependencies
Aggregate functions to calculate dependencies between columns
2022-01-05 02:50:25 +03:00
alexey-milovidov
09f2cd1f95
Merge pull request #33372 from azat/pread-eof
Do not try to read pass EOF (to workaround a bug in a kernel)
2022-01-04 22:54:10 +03:00
alexey-milovidov
9e9e6b7922
Merge pull request #33341 from azat/local-memory-tracking
clickhouse-local: track memory under --max_memory_usage_in_client option
2022-01-04 19:43:41 +03:00
Azat Khuzhin
f0f2a9cc40 Add a regression test for pread pass EOF returns EINVAL 2022-01-04 10:53:17 +03:00
mergify[bot]
a30c10a235
Merge branch 'master' into interval-length-sum-allow-negative 2022-01-03 20:53:55 +00:00
alexey-milovidov
6efe73fc1b
Merge pull request #26559 from nikitamikhaylov/merging-dev-sum-bug
Merging #26074
2022-01-03 19:46:54 +03:00
Amos Bird
0b7a94c2be Saturate date/datetime to zero 2022-01-03 02:07:08 +03:00
Alexey Milovidov
420baf54bd Add tests 2022-01-03 00:30:16 +03:00
Alexey Milovidov
90f5594f80 Add a test 2022-01-02 20:23:35 +03:00
RogerYK
f2e5399c61 Add function bitSlice for String and FixedString 2022-01-02 18:49:09 +08:00
feng lv
a8578e0ad9 fix test 2022-01-01 09:25:52 +00:00
feng lv
48c0b41ad5 Enable binary arithmetic between Decimal and Float
fix
2022-01-01 09:11:21 +00:00
alexey-milovidov
3f1810c049
Merge pull request #33327 from ClickHouse/rename_committed_to_active
Rename Committed data part state to Active
2021-12-31 14:40:35 +03:00
alexey-milovidov
34b934a1e0
Merge pull request #33331 from ClickHouse/serxa/line-as-string-output-format
Add LineAsString output format
2021-12-31 14:38:36 +03:00
alexey-milovidov
3737d83d3e
Merge pull request #33333 from ClickHouse/add-access-control-to-system-commands
Add missing access control to some system commands
2021-12-31 14:36:59 +03:00
Azat Khuzhin
0685fd9985 clickhouse-local: track memory under --max_memory_usage_in_client option 2021-12-31 11:06:15 +03:00
Vxider
3761994f68 fix inner table parser in window view 2021-12-31 07:07:01 +00:00
alexey-milovidov
764631f2d4
Update 02157_line_as_string_output_format.reference 2021-12-30 23:49:53 +03:00
alexey-milovidov
9fcfc5c188
Update 02157_line_as_string_output_format.sql 2021-12-30 23:49:36 +03:00
alexey-milovidov
8fe29eb665
Update 02157_line_as_string_output_format.sql 2021-12-30 23:48:32 +03:00
Alexander Tokmakov
187c43eba8 rename Committed state to Active 2021-12-30 23:45:38 +03:00
Alexey Milovidov
fbe7680544 Add a test 2021-12-30 23:45:02 +03:00
Alexey Milovidov
a3bbdffe3d Update test 2021-12-30 23:39:43 +03:00
alexey-milovidov
42b8678785
Merge pull request #33271 from ClickHouse/always-display-resource-usage-in-client
Always display resource usage in client
2021-12-30 23:36:49 +03:00
alexey-milovidov
2eec430467
Update 02157_line_as_string_output_format.sql 2021-12-30 21:06:22 +03:00