Commit Graph

6928 Commits

Author SHA1 Message Date
Amos Bird
5708ed42ec
Add setting.
empty_result_for_aggregation_by_constant_keys_on_empty_set
2021-08-20 22:34:32 +08:00
Alexander Tokmakov
42378b5913 fix 2021-08-20 17:05:53 +03:00
mergify[bot]
02b4e56e6a
Merge branch 'master' into break_some_tests 2021-08-20 13:24:17 +00:00
Amos Bird
452602dadb
APPLY with lambda. 2021-08-20 20:38:09 +08:00
Vitaly Baranov
cbc1b2e72d Fix selecting with extremes from LowCardinality(UUID) 2021-08-20 13:10:41 +03:00
Maksim Kita
9831995fd8 Dictionary empty attribute list 2021-08-20 12:09:05 +03:00
Maksim Kita
e0c25a1503 Fixed tests 2021-08-20 11:54:10 +03:00
Maksim Kita
5f2b28639f Merge branch 'master' into create-user-defined-lambda-function 2021-08-20 11:53:08 +03:00
Kseniia Sumarokova
74ebc5c75c
Merge pull request #27876 from CurtizJ/cast-with-minus
Fix postgres-like cast with negative numbers
2021-08-20 10:55:42 +03:00
Kseniia Sumarokova
273b8b9bc1
Merge pull request #27704 from jasine/master
feat: add conversions  between snowflake id and  dateTime(dateTime64)
2021-08-20 10:48:40 +03:00
tavplubix
64bfe21a1b
Fix test 00443_preferred_block_size_bytes.sh (#27846)
* Update 00443_preferred_block_size_bytes.sh

* Update clickhouse-test

* Update clickhouse-test

* Update database_replicated.xml
2021-08-20 00:25:14 +03:00
Kruglov Pavel
db5e24cee4
Merge pull request #27878 from Avogar/remove-tmp-folders
Remove tmp folders from tests
2021-08-19 18:51:27 +03:00
Pavel Kruglov
f3ff3aee0e Remove tmp folders from tests 2021-08-19 18:49:39 +03:00
kssenii
512d66a088 Fix 2021-08-19 15:19:11 +00:00
Anton Popov
a9d83c1eec fix postgres like cast with negative numbers 2021-08-19 18:16:57 +03:00
Alexander Tokmakov
0afb293b4f Merge branch 'master' into break_some_tests 2021-08-19 15:05:02 +03:00
alexey-milovidov
415bb6e1e1
Merge pull request #27793 from Algunenano/cleanup_leftovers
Stateless test: Cleanup leftovers
2021-08-19 11:21:03 +03:00
Nikolai Kochetov
3e44ef437e
Merge pull request #26639 from ClickHouse/fix-bad-cast
Fix bad cast
2021-08-19 11:17:26 +03:00
alexey-milovidov
190ea327e9
Merge pull request #27826 from Avogar/fix-short-circuit-fuzz
Fix bug in short-circuit found by fuzzer
2021-08-19 11:06:22 +03:00
listar
fae6ae1c7b 1. add tests and fix a length bug. 2021-08-19 07:56:47 +00:00
Vitaly Baranov
65ee9a1272
Merge pull request #26864 from vitlibar/refactor-sessions
Introduce sessions
2021-08-19 01:38:51 +03:00
Nickita Taranov
f45573715e rename test files 2021-08-19 01:24:49 +03:00
Maksim Kita
01682a86b3 Updated user defined functions implementation 2021-08-19 00:54:55 +03:00
alexey-milovidov
c6bcd48bee
Merge pull request #27810 from Algunenano/01766fix
01766_todatetime64_no_timezone_arg: Use a date without timezone changes
2021-08-19 00:18:53 +03:00
Pavel Kruglov
240398d58c Fix bug in expand() method 2021-08-18 19:13:07 +03:00
Kruglov Pavel
cd07cabada
Merge pull request #27788 from Avogar/nullable-decimal
Set function divide as suitable for short-circuit in case of Nullable(Decimal)
2021-08-18 19:01:44 +03:00
Kruglov Pavel
c71cac2af3
Fix test 2021-08-18 16:55:13 +03:00
tavplubix
9b45b26dd6
Merge pull request #27655 from FArthur-cmd/import_from_infile_syntax
Import `FROM INFILE`
2021-08-18 15:36:32 +03:00
Vitaly Baranov
fabd7193bd Code cleanups and improvements. 2021-08-18 14:24:52 +03:00
Kruglov Pavel
9532e2f962
Merge branch 'master' into nullable-decimal 2021-08-18 14:03:20 +03:00
Raúl Marín
d9e3adf3d5 01766: Use a date without timezone changes 2021-08-18 12:14:00 +02:00
mergify[bot]
f3199f6070
Merge branch 'master' into break_some_tests 2021-08-18 09:53:43 +00:00
Azat Khuzhin
6c566a46b6 Update 01822_short_circuit.reference (after merging #27680) 2021-08-18 10:21:41 +03:00
alexey-milovidov
eb3bbdfab5
Merge pull request #27680 from ClickHouse/decimal-no-trailing-zeros
Remove trailing zeros from Decimal serialization #15794
2021-08-18 05:24:13 +03:00
Kseniia Sumarokova
78105ecba7
Merge pull request #27757 from kssenii/fix-intersect-cast
Fix intersect/except with limit
2021-08-17 21:37:37 +03:00
Kseniia Sumarokova
f04cdf58c0
Merge pull request #27762 from evillique/tests
Add HTTP string parsing test
2021-08-17 21:36:45 +03:00
Maksim Kita
8403f381da
Merge pull request #23978 from Realist007/feature/create-simple-lambda-function
Feature/create simple lambda function
2021-08-17 21:22:31 +03:00
tavplubix
2fcc0874a8
Merge pull request #27785 from ClickHouse/fix_some_tests
Fix some tests
2021-08-17 21:13:58 +03:00
Alexander Tokmakov
1f283aeb1f fix 2021-08-17 21:10:08 +03:00
Raúl Marín
ac5ac0a106 01280_ssd_complex_key_dictionary: Delete database at end 2021-08-17 18:48:32 +02:00
Alexander Tokmakov
2945a826ab Merge branch 'master' into break_some_tests 2021-08-17 19:43:20 +03:00
Raúl Marín
f7ed6c4fb8 01516_drop_table_stress: Tag as long 2021-08-17 18:42:31 +02:00
Raúl Marín
b80ddd4bd1 01516_drop_table_stress: Parallelizable and cleanup 2021-08-17 18:41:31 +02:00
Raúl Marín
19f087cece 01114_mysql_database_engine_segfault: Cleanup beforehand 2021-08-17 18:31:40 +02:00
Raúl Marín
0e5cfdbb9d 01054_cache_dictionary_overflow_cell: Drop database at the end 2021-08-17 18:29:31 +02:00
Raúl Marín
90294e6dd8 01889_sqlite_read_write: Made parallelizable and cleanup properly 2021-08-17 18:22:41 +02:00
Pavel Kruglov
a0caa26615 Remove unnecessary files 2021-08-17 16:29:49 +03:00
Pavel Kruglov
bc853d250f Set function divide as suitable for short-circuit in case of Nullable(Decimal) 2021-08-17 16:24:28 +03:00
Maksim Kita
ad53ffc807
Merge pull request #27629 from kitaisreal/complex-key-range-hashed-dictionary
Added ComplexKeyRangeHashed dictionary
2021-08-17 16:14:18 +03:00
Alexander Tokmakov
67e7cc1dd5 fix some tests 2021-08-17 15:21:42 +03:00
Artur
e8e650b16b correct infile form local 2021-08-17 12:01:31 +00:00
Nikolai Kochetov
98eb619b4b
Merge pull request #23367 from Avogar/short-circuit
Implement short circuit function evaluation
2021-08-17 12:36:07 +03:00
Filatenkov Artur
bc5b6af8fa
Merge branch 'ClickHouse:master' into master 2021-08-17 12:22:34 +03:00
alexey-milovidov
c7dc42e30b
Update 00597_push_down_predicate_long.sql 2021-08-17 11:11:28 +03:00
Alexey Milovidov
1a3b72fa09 Update test 2021-08-17 10:15:17 +03:00
Nikolay Degterinsky
af92616cdc Add test 2021-08-17 10:00:24 +03:00
Kseniia Sumarokova
8ec6e6f209
Merge pull request #27706 from hllustosa/master
Enables query parameters in request body
2021-08-17 09:58:11 +03:00
Vladimir C
baa54d2a3b
Merge pull request #27652 from vdimir/aliased_column_distributed_bug 2021-08-17 09:39:33 +03:00
Alexey Milovidov
6ea1bd1e8c More tests 2021-08-17 09:02:37 +03:00
Kseniia Sumarokova
9292869c4f
Merge pull request #27689 from kssenii/fix-union-distinct-subquery
Fix union distinct
2021-08-17 08:48:51 +03:00
kssenii
1ad4b6ed60 Fix 2021-08-16 23:34:39 +03:00
Maksim Kita
2d24b443f5 Fixed tests 2021-08-16 20:40:57 +03:00
Artur
4c1f06258f correct test 2021-08-16 17:27:03 +00:00
Nikolai Kochetov
e25694e78d Fix test. 2021-08-16 19:51:04 +03:00
Artur
ca65b819d3 correct error type 2021-08-16 16:09:12 +00:00
tavplubix
974acb615a
Merge pull request #27734 from ClickHouse/fix_test_01014
Fix test 01014_lazy_database_concurrent_recreate_reattach_and_show_tables
2021-08-16 18:56:17 +03:00
vdimir
910787c5b6
Improve aliased_column_distributed_bug, fix check 2021-08-16 18:04:20 +03:00
kssenii
7be06f894e Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into col-identifier-as-col-number 2021-08-16 14:50:37 +00:00
vdimir
887d6b0867
Add 02008_aliased_column_distributed_bug.sql 2021-08-16 17:26:13 +03:00
Realist007
63dfa8559f
Merge branch 'master' into feature/create-simple-lambda-function 2021-08-16 16:56:49 +03:00
Artur
3591c3c8f4 correct code according to comments 2021-08-16 13:28:39 +00:00
Alexander Tokmakov
3c8611a522 fix 2021-08-16 15:54:56 +03:00
Alexander Tokmakov
b8d9bc862d fix 2021-08-16 15:36:12 +03:00
kssenii
844e04e341 Fix 2021-08-16 15:32:44 +03:00
Pavel Kruglov
7c98fc11b9 Fix performance, make only one setting 2021-08-16 14:30:56 +03:00
Alexander Tokmakov
ba2684079c fix test 2021-08-16 13:56:03 +03:00
jasine
1f21131db6 fix: doc and test 2021-08-16 18:52:10 +08:00
Vladimir C
4135d67d42
Merge pull request #27430 from azat/client-test-hint-str 2021-08-16 13:43:28 +03:00
jasine
c414a3aebf feat: add docs and tests 2021-08-16 17:24:51 +08:00
Alexander Tokmakov
d9bd467537 fix 2021-08-16 12:18:52 +03:00
Nickita Taranov
3b13b79d65 throw in AggregateFunctionCombinatorIf instead 2021-08-16 12:10:51 +03:00
Alexey Milovidov
fabdcf7e71 Update tests 2021-08-16 11:08:53 +03:00
kssenii
c01be0354b Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-union-distinct-subquery 2021-08-16 09:09:10 +03:00
hermano
9993b9a038 Adds tests 2021-08-15 21:17:33 -03:00
alexey-milovidov
4a36366925
Merge pull request #27648 from Algunenano/i27620
Disable arrayJoin on partition expressions
2021-08-16 02:53:36 +03:00
Maksim Kita
88f75375de
Merge pull request #27692 from ClickHouse/map-data-type-parsing-tests
Map data type parsing tests
2021-08-16 00:58:56 +03:00
Azat Khuzhin
c5d9676779 Accept error code by error name in client test hints 2021-08-16 00:16:48 +03:00
kssenii
9bbaa7e64a Update test 2021-08-15 23:13:42 +03:00
Alexander Tokmakov
21f2da6d33 Merge branch 'master' into break_some_tests 2021-08-15 22:02:36 +03:00
Kseniia Sumarokova
b024c215af
Merge pull request #24757 from zdikov/subquery-operators
Subquery operators
2021-08-15 21:33:59 +03:00
Maksim Kita
404eac1986 Fixed tests 2021-08-15 13:52:44 +03:00
Maksim Kita
e9fe03df14
Merge pull request #27146 from CurtizJ/fix-parsing-of-maps
Add test for parsing maps with integer keys
2021-08-15 13:37:22 +03:00
kssenii
9b6646d4db Update test 2021-08-15 13:28:44 +03:00
alexey-milovidov
71082b8656
Update 00597_push_down_predicate_long.sql 2021-08-15 13:28:13 +03:00
kssenii
053cb22380 Fix for union distinct 2021-08-15 12:56:19 +03:00
Maksim Kita
e12820ecb2 Added ComplexKeyRangeHashed dictionary 2021-08-15 12:18:11 +03:00
Alexey Milovidov
e24087526b Update test 2021-08-15 11:59:53 +03:00
kssenii
f66e8464f9 Some final fixes 2021-08-15 11:40:30 +03:00
alexey-milovidov
8fe3aa6cef
Update 01236_graphite_mt.sql 2021-08-15 11:28:08 +03:00
Alexey Milovidov
a8fd52017d Update more tests 2021-08-15 10:54:30 +03:00
Alexey Milovidov
f5397c4430 Update tests 2021-08-15 10:53:46 +03:00
Alexey Milovidov
15eb68d117 Fix bad cast in arrayIndex #26330 2021-08-15 09:33:08 +03:00
Alexey Milovidov
e2a17c08b7 Temporary disable one test case 2021-08-15 09:09:40 +03:00
alexey-milovidov
d88cf81d71
Merge branch 'master' into fix-bad-cast 2021-08-15 09:06:42 +03:00
Alexey Milovidov
60dccce818 Remove trailing zeros from Decimal serialization #15794 2021-08-15 08:29:31 +03:00
alexey-milovidov
78df167760
Merge pull request #27677 from ClickHouse/add-test-10735
Add a test for #10735
2021-08-15 06:57:56 +03:00
alexey-milovidov
5ebde7f5f1
Merge pull request #27525 from Algunenano/fix_01236
Fix 01236_graphite_mt for random timezones
2021-08-15 06:55:34 +03:00
mergify[bot]
353a324887
Merge branch 'master' into i27620 2021-08-15 02:32:26 +00:00
alexey-milovidov
dafb75c604
Update 02009_mysql_client_empty_result.sh 2021-08-15 03:31:39 +03:00
Alexey Milovidov
e64c973308 Add a test for #10735 2021-08-14 23:34:47 +03:00
kssenii
f125fb3fef Some fixes around any/all 2021-08-14 20:33:03 +03:00
kssenii
18ab53488f Better 2021-08-14 16:09:53 +03:00
Artur
58b8e8f230 correct commits 2021-08-13 16:55:03 +00:00
Artur
0010b772e9 Merge branch 'master' of https://github.com/FArthur-cmd/ClickHouse into import_from_infile 2021-08-13 16:51:31 +00:00
Artur
49e211bead add from infile syntax 2021-08-13 16:30:28 +00:00
Raúl Marín
73cb7d55ec Disable arrayJoin on partition expressions 2021-08-13 16:18:46 +02:00
mergify[bot]
319e5af6eb
Merge branch 'master' into short-circuit 2021-08-13 13:01:46 +00:00
Nikolai Kochetov
66fdb859f3
Merge pull request #27528 from amosbird/projection-fix12
Fix projection materialization with missing columns
2021-08-13 15:20:51 +03:00
kssenii
47fb923975 Some fixes, more tests 2021-08-13 15:07:44 +03:00
Pavel Kruglov
aa8b52fe58 Update tests 2021-08-13 14:55:33 +03:00
Alexander Tokmakov
285a5848b5 fix 2021-08-13 14:27:55 +03:00
Kseniia Sumarokova
0917488cec
Merge pull request #27382 from kssenii/cast-internal
add Cast internal function
2021-08-13 13:13:51 +03:00
kssenii
55650b1e67 Change behaviour of except, some fixes 2021-08-13 12:57:15 +03:00
Pavel Kruglov
fc59c98676 Clean up 2021-08-13 11:18:34 +03:00
kssenii
37554014aa Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into col-identifier-as-col-number 2021-08-13 05:28:22 +00:00
alexey-milovidov
36ab47769b
Merge pull request #27609 from Algunenano/refactor_mysql_format
Refactor mysql format check
2021-08-13 03:02:49 +03:00
Maksim Kita
a020fe3b1b
Merge pull request #27531 from abel-cheng/with-constants
Enable using constants from with and select in aggregate function parameters.
2021-08-12 21:27:21 +03:00
Nikita Mikhaylov
8c06abee73
Merge pull request #25902 from Avogar/arrow-nested
Refactor ArrowColumnToCHColumn, support inserting Nested as Array(Struct) in Arrow/ORC/Parquet
2021-08-12 20:02:01 +03:00
Alexander Tokmakov
95eeeb53d6 fix 2021-08-12 18:58:49 +03:00
Raúl Marín
27cb83f5a7 Get today datetime in UTC 2021-08-12 17:08:39 +02:00
Nikita Mikhaylov
287262d500
Merge pull request #25714 from Algunenano/materialization_log
Better views logging
2021-08-12 17:13:33 +03:00
kssenii
a549e29bd4 Better 2021-08-12 16:35:46 +03:00
Maksim Kita
36498f67cf
Merge pull request #27505 from BraulioVM/add-function/tupleItems
Add function to turn named tuples into array of pairs
2021-08-12 16:32:11 +03:00
Raúl Marín
9b81c075c6 Use today() to ensure the rollup is tested properly 2021-08-12 12:53:57 +02:00
Alexander Tokmakov
9dd742cc29 more debug info 2021-08-12 13:39:06 +03:00
Maksim Kita
34682c98c7
Merge pull request #27605 from Enmk/fix_27193_toDateTime64_conversion
Fixed parsing DateTime64 value from string.
2021-08-12 13:32:59 +03:00
Maksim Kita
ab3fdfa00e
Update 02006_todatetime64_from_string.sql 2021-08-12 13:27:36 +03:00
Raúl Marín
f6788fc660 Mysql handler: Move format check to the handler 2021-08-12 11:29:50 +02:00
Pavel Kruglov
dc8e1be96b Fix time zone in test 2021-08-12 11:58:47 +03:00
mergify[bot]
21cbd50ae1
Merge branch 'master' into materialization_log 2021-08-12 08:53:34 +00:00
mergify[bot]
af845690dd
Merge branch 'master' into fix_01236 2021-08-12 08:52:50 +00:00
mergify[bot]
80eaea1c51
Merge branch 'master' into short-circuit 2021-08-12 08:38:45 +00:00
Vasily Nemkov
bdc4d9fe75 Fixed parsing DateTime64 value from string.
The time offset undeflowed on positive values.
2021-08-12 10:37:46 +03:00
alexey-milovidov
8fe123e9c4
Merge pull request #27561 from Algunenano/odd_tests
Improve the experience of running stateless tests locally
2021-08-12 00:54:08 +03:00
Alexander Tokmakov
0256e313b3 fix 2021-08-12 00:29:37 +03:00
alexey-milovidov
1239a91aca
Merge pull request #27080 from Algunenano/timezone_00719
Improve compatibility with non-whole-minute timezone offsets
2021-08-11 22:34:55 +03:00
alexey-milovidov
494ef840be
Merge pull request #27326 from Algunenano/fix_01176
Fix Mysql protocol when using parallel formats (CSV / TSV)
2021-08-11 22:28:48 +03:00
Alexander Tokmakov
a2b2e8cb3f fix 2021-08-11 21:02:35 +03:00
Braulio Valdivielso
94babf1c8b rename tests 2021-08-11 18:38:27 +01:00
Braulio Valdivielso
4e103b94f0 Merge branch 'master' into add-function/tupleToNameValuePairs 2021-08-11 18:35:44 +01:00