万康
04f00b2b42
add tests
2021-05-11 20:00:34 +08:00
Nikolai Kochetov
89f16014b8
fix fetch for projection.
2021-05-11 14:44:59 +03:00
Amos Bird
dfa5629071
Remove projection type ast
2021-05-11 18:12:29 +08:00
Amos Bird
ddd4256a15
More fixes
2021-05-11 18:12:28 +08:00
Amos Bird
718c284437
Fix more tests
2021-05-11 18:12:28 +08:00
Amos Bird
ba17acbd63
Fix tests
2021-05-11 18:12:28 +08:00
Nikolai Kochetov
b736515c66
More tests.
2021-05-11 18:12:28 +08:00
Amos Bird
a3fd0b6f2e
Fix tests
2021-05-11 18:12:28 +08:00
Amos Bird
f7f949c1f9
Fix aggregation keys order
2021-05-11 18:12:27 +08:00
Amos Bird
e1e560765c
Fix missing columns
2021-05-11 18:12:27 +08:00
Amos Bird
ebaf42a448
Reformat and fix some tests
2021-05-11 18:12:27 +08:00
Nikolai Kochetov
233e8bc927
Added test with normal projections.
2021-05-11 18:12:27 +08:00
Amos Bird
483bd165e7
Check if pipeline is simple and add more comments
2021-05-11 18:12:26 +08:00
Amos Bird
264cff6415
Projections
...
TODO (suggested by Nikolai)
1. Build query plan fro current query (inside storage::read) up to WithMergableState
2. Check, that plan is simple enough: Aggregating - Expression - Filter - ReadFromStorage (or simplier)
3. Check, that filter is the same as filter in projection, and also expression calculates the same aggregation keys as in projection
4. Return WithMergableState if projection applies
3 will be easier to do with ActionsDAG, cause it sees all functions, and dependencies are direct (but it is possible with ExpressionActions also)
Also need to figure out how prewhere works for projections, and
row_filter_policies.
wip
2021-05-11 18:12:23 +08:00
Kruglov Pavel
fb038c1985
Merge pull request #23894 from pingyu/datasketches-uniq-again
...
Add uniqThetaSketch again
2021-05-11 11:24:43 +03:00
Kruglov Pavel
49e7ed6e60
Merge pull request #23673 from amosbird/partitionvalue
...
Add _partition_value virtual column
2021-05-11 11:23:00 +03:00
vdimir
905e54a0af
Merge branch 'master' into create-aggregate-func-settings
2021-05-11 11:18:24 +03:00
Alexey Milovidov
b2ca5cd98b
Merge branch 'master' into normalize-bigint
2021-05-11 02:05:40 +03:00
alexey-milovidov
6d0bd4f7d2
Merge pull request #23969 from ClickHouse/aku/long-trace-id
...
support longer query ids in trace log for perf tests
2021-05-10 23:35:40 +03:00
Maksim Kita
4a22924ed5
Merge pull request #23946 from FArthur-cmd/8912-fix-dict-http-source
...
Add support for HTTP compression in dictionary source.
2021-05-10 22:52:07 +03:00
tavplubix
547e1f5a23
Update 01154_move_partition.sh
2021-05-10 22:31:13 +03:00
alexey-milovidov
066acc71b6
Merge pull request #8482 from ClickHouse/enable-compile-expressions
...
Enable "compile_expressions" by default
2021-05-10 21:09:18 +03:00
Alexander Tokmakov
eef899ae63
better code, add test
2021-05-10 21:03:37 +03:00
alexey-milovidov
ab33b80edc
Merge pull request #23962 from azat/external-group-by-overflow-row-fix
...
Fix SIGSEGV for external GROUP BY and overflow row
2021-05-10 20:02:05 +03:00
vdimir
cb89a2be97
StorageJoin clashing column name with JOIN ON
2021-05-10 17:56:12 +03:00
vdimir
f03f591e55
Upd comments for StoreageJoin
2021-05-10 17:54:32 +03:00
vdimir
bd90b52f8e
Merge branch 'master' into issue-20309
2021-05-10 16:28:18 +03:00
Azat Khuzhin
808d1a0215
Reimplement preallocate for hashed/sparse_hashed dictionaries
...
It was initially implemented in #15454 , but was reverted in #21948 (due
to higher memory usage).
This implementation differs from the initial, since now there is
separate attribute to enable preallocation, before it was done
automatically, but this has problems with duplicates in the source.
Plus this implementation does not uses dynamic_cast, instead it extends
IDictionarySource interface.
2021-05-10 07:41:48 +03:00
Alexander Kuzmenkov
e7225b8bee
fix the tests
2021-05-10 07:18:21 +03:00
FArthur-cmd
fc104f0d0d
improving test to cover updates
2021-05-09 23:04:06 +03:00
FArthur-cmd
6363a5dd96
use path to define compression type
2021-05-09 21:58:08 +03:00
Alexey Milovidov
9753ddc8a0
Merge branch 'master' of github.com:yandex/ClickHouse into normalize-bigint
2021-05-09 18:54:29 +03:00
FArthur-cmd
cc583fde4f
tests reference
2021-05-09 15:54:01 +03:00
FArthur-cmd
bd519075b7
adding checking url in HTTPSource
2021-05-09 14:27:11 +03:00
Maksim Kita
e517436ba4
Merge pull request #23961 from kitaisreal/array-difference-decimal-math-overflow
...
Function arrayDifference decimal math overflow
2021-05-09 14:04:35 +03:00
Alexey Milovidov
67200d5a96
Split test (it is too large)
2021-05-08 23:15:54 +03:00
Maksim Kita
290e1ec307
Functional stateless tests fix numbers
2021-05-08 21:13:27 +03:00
Maksim Kita
2a630b68a4
Fixed FunctionComparison with special edge case
2021-05-08 21:04:21 +03:00
Azat Khuzhin
f1aebbe927
Check that totals correctly calculated in 01865_aggregator_overflow_row
...
Change aggregation function to uniqCombined() to check this.
2021-05-08 20:43:01 +03:00
Maksim Kita
0a2ea38cc9
Merge pull request #23916 from azat/dict-found_rate
...
Measure found rate for dictionaries
2021-05-08 19:23:52 +03:00
Alexander Kuzmenkov
308c4657ce
support longer query ids in trace log for perf tests
2021-05-08 18:20:42 +03:00
kssenii
266567e04c
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-08 17:49:05 +03:00
Azat Khuzhin
4cecc238d6
Fix SIGSEGV for external GROUP BY and overflow row
...
Overflow row is used for GROUP BY if all of the above is true:
- WITH TOTALS is requested
- max_rows_to_group_by > 0
- group_by_overflow_mode = any
- totals_mode != after_having_exclusive
And in case of overflow row and external GROUP BY, once the temporary
file dumps to disk it resets without_key data variant to nullptr, so any
subsequent dump to disk will cause SIGSEGV.
Fix this, by recreating without_key data variant after dumping to disk,
instead of reseting to nullptr.
And also add sanity check (LOGICAL_ERROR) to make error more
deterministic in case of such error.
Found with fuzzer [1].
[1]: https://clickhouse-test-reports.s3.yandex.net/23929/e7027e052998540ee660d186727e20f9555b729d/fuzzer_ubsan/report.html#fail1
2021-05-08 17:48:24 +03:00
Maksim Kita
57d5f55d7f
Added jit if test
2021-05-08 17:39:35 +03:00
Azat Khuzhin
bdb5dad3a3
Cover system.dictionaries.found_count
...
v2: fix for ANTRL
v3: add all dictionaries layouts
2021-05-08 17:09:01 +03:00
Maksim Kita
108c2022d9
Function arrayDifference decimal math overflow
2021-05-08 17:01:30 +03:00
Alexey Milovidov
47a4c101b9
Merge branch 'master' into normalize-bigint
2021-05-08 16:41:15 +03:00
Maksim Kita
80dbb7ca4f
Merge pull request #23948 from azat/dict-range-min-max-check
...
Check MIN/MAX attributes in the list of dictionary attributes
2021-05-08 16:07:26 +03:00
FArthur-cmd
acb09f01d4
fixing details in code style and moving tests
2021-05-08 12:46:50 +03:00
Maksim Kita
b617c57ce8
Merge pull request #23929 from azat/dict-cache-source-dups-fix
...
Fix keys metrics accounting for CACHE() dictionary with duplicates in the source
2021-05-08 11:56:20 +03:00
FArthur-cmd
c6c80085b8
solving problem with same test naming
2021-05-08 10:15:55 +03:00
FArthur-cmd
13a6e03849
solving style-check problems
2021-05-08 10:15:14 +03:00
Azat Khuzhin
8e9655d513
Check MIN/MAX attributes in the list of dictionary attributes
...
This way there will be proper exception instead of std::out_of_range
2021-05-08 08:59:47 +03:00
Alexey Milovidov
dd4e002b5c
Adjust a test after relaxed overflow checks
2021-05-08 03:38:56 +03:00
Alexey Milovidov
53637d7be0
Adjust a test after relaxed overflow checks
2021-05-08 03:38:15 +03:00
Alexey Milovidov
89d56f1668
Fix bad test
2021-05-08 03:36:28 +03:00
Alexey Milovidov
1f69f8c475
Make test for Decimal correct
2021-05-08 03:33:01 +03:00
Alexey Milovidov
e8c29bf15f
Adjust test because rounding in conversion of Float to Decimal has changed
2021-05-08 03:27:23 +03:00
Alexey Milovidov
5f3377cb84
Adapt test after some overflow checks were removed
2021-05-08 03:24:56 +03:00
Alexey Milovidov
059bdd89dc
Adapt test after some overflow checks were removed
2021-05-08 03:22:34 +03:00
kssenii
c3eab60b8b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-08 02:40:17 +03:00
FArthur-cmd
4ea9851e99
fixing dictionary http source by adding wrapper
2021-05-08 02:20:30 +03:00
Alexey Milovidov
e49b44a0fd
Update generateRandom tests
2021-05-08 01:09:51 +03:00
Azat Khuzhin
c1b213b96e
Fix 01863_dictionary_cache_duplicates under ANTLR parser
...
By do not start name of table/dict from number.
2021-05-08 00:59:55 +03:00
Alexey Milovidov
c404e6db2f
Merge branch 'master' of github.com:yandex/ClickHouse into normalize-bigint
2021-05-07 18:25:12 +03:00
Anton Popov
01e99ab72e
Merge pull request #23871 from CurtizJ/cast-operator
...
Add postgres-like cast operator
2021-05-07 16:29:22 +03:00
alexey-milovidov
fd56e0a984
Merge pull request #23919 from ucasFL/hint-enum
...
Add hints for enum names
2021-05-07 16:12:16 +03:00
Alexey Milovidov
ef280a2698
Update test
2021-05-07 01:47:20 +03:00
Anton Popov
e51cd90c6f
better cast operator
2021-05-06 21:21:10 +03:00
Azat Khuzhin
e7027e0529
Fix keys metrics accounting for CACHE() dictionary with duplicates in the source
2021-05-06 21:03:20 +03:00
feng lv
59f5f2d03c
Add hints for enum names
...
add test
2021-05-06 14:22:54 +00:00
vdimir
1e4fda08e2
Allow JOIN ON with Join engine
2021-05-06 09:08:41 +03:00
vdimir
abdb731ce2
Merge branch 'master' into issue-20309
2021-05-06 09:07:51 +03:00
Alexey Milovidov
a4f134fcab
Update test (but not the reference)
2021-05-06 03:30:26 +03:00
Alexey Milovidov
206f9e0a4b
Fix test that depends on configuration too much
2021-05-06 01:14:54 +03:00
Alexey Milovidov
d283870f3d
Fix test that depends on configuration too much
2021-05-06 01:14:32 +03:00
Alexey Milovidov
8827857fc3
Fix bad test
2021-05-06 01:09:50 +03:00
Alexey Milovidov
969649c4e5
Fix bad test (tabs)
2021-05-06 01:09:50 +03:00
Alexey Milovidov
3bf9a1f5c0
Fix bad test
2021-05-06 01:09:08 +03:00
Alexey Milovidov
6959057393
Fix bad test (tabs)
2021-05-06 01:03:27 +03:00
Azat Khuzhin
eefd67fce5
Disable optimize_distributed_group_by_sharding_key with window functions
2021-05-06 00:44:22 +03:00
Azat Khuzhin
6ac50ab9c5
Extend 01568_window_functions_distributed for distributed_group_by_no_merge
2021-05-06 00:24:39 +03:00
Azat Khuzhin
e5cff95cc8
Avoid deadlock due to Log usage in 01568_window_functions_distributed
2021-05-06 00:24:39 +03:00
Azat Khuzhin
8703b7863d
Fix distributed_group_by_no_merge=2 with GROUP BY
...
Before this patch the following query:
SELECT assumeNotNull(argMax(dummy, 1))
FROM remote('127.1', system.one)
SETTINGS distributed_group_by_no_merge = 2
Leads to:
Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column argMax(dummy, 1) in block: while executing 'INPUT : 0 -> argMax(dummy, 1) UInt8 : 0'.
Since it tries to execute function one more time, but shards will not
send this column when the query processed with
distributed_group_by_no_merge=2 (i.e. up to
WithMergeableStateAfterAggregation).
v0: no exception
v2: execut window functions
v3: throw exception, since executing window function in this case will
lead to messy output
2021-05-06 00:21:47 +03:00
kssenii
2dabdd0f73
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-05 18:42:40 +03:00
pingyu
46f809d07f
Revert "Merge pull request #23334 from ClickHouse/revert-22609-datasketches-uniq"
...
This reverts commit af2499359b
, reversing
changes made to db82e9e3d5
.
2021-05-05 16:42:57 +08:00
Azat Khuzhin
74269882f7
Add broken_data_files/broken_data_compressed_bytes into distribution_queue
2021-05-04 22:48:07 +03:00
Anton Popov
d4ea53f642
fix test
2021-05-04 17:28:40 +03:00
Anton Popov
2b79bf838f
add postgres-like cast operator
2021-05-04 06:43:17 +03:00
feng lv
2347a1f6f3
update test
2021-05-03 16:19:48 +00:00
feng lv
39f68bf5ff
fix conflict
2021-05-02 16:33:45 +00:00
kssenii
ee06936596
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-01 17:24:31 +03:00
Vladimir
3b7c68196b
Merge pull request #23429 from Jokser/disk-s3-restart-possibility
2021-05-01 15:28:14 +03:00
alexey-milovidov
72d9e4d340
Merge pull request #23813 from nikitamikhaylov/move-partiton-lost
...
Add test for #18170
2021-05-01 11:31:36 +03:00
alexey-milovidov
711cc5f62b
Merge pull request #23823 from azat/tests-wait
...
Improve 00840_long_concurrent_select_and_drop_deadlock
2021-05-01 08:30:32 +03:00
alexey-milovidov
7ca42d2ce1
Merge pull request #23805 from ClickHouse/fix-hedged-requests-ext-tables
...
Fix sending external table for hedged connections.
2021-05-01 08:13:13 +03:00
Maksim Kita
fa1e9de7f7
Merge pull request #23782 from ClickHouse/merging-array-product-function
...
Merging array product function
2021-05-01 00:53:57 +03:00
kssenii
a2753a46c6
Adjust test
2021-05-01 00:37:10 +03:00
Azat Khuzhin
2b7818ba6d
Improve 00840_long_concurrent_select_and_drop_deadlock
...
Improve waiting in the test to avoid hung check triggering [1].
[1]: https://clickhouse-test-reports.s3.yandex.net/23744/73ab415c4c27e481cddf4d6d70b24e79fb8d8941/stress_test_(thread).html#fail1
2021-04-30 23:50:13 +03:00
Nikita Mikhaylov
080802e043
add test
2021-04-30 18:00:47 +03:00
Maksim Kita
14e879cef9
Merge pull request #23781 from ucasFL/fix-clear-column
...
Fix CLEAR COLUMN does not work after #21303
2021-04-30 17:28:59 +03:00
Nikolai Kochetov
352ec049ad
Fix sending external table for hedged connections.
2021-04-30 17:19:48 +03:00
Nikolai Kochetov
4bb56849b3
Merge pull request #23763 from amosbird/rowfilterfix
...
Fix crash when prewhere and row policy filter are both in effect with empty result
2021-04-30 16:25:36 +03:00
Maksim Kita
44b966af5a
Removed const path for arrayAggregation
2021-04-30 12:33:34 +03:00
Maksim Kita
aa71b4a6df
Merge pull request #22242 from hexiaoting/dev_arrayproduct
...
Introduce arrayProduct function
2021-04-30 09:55:21 +03:00
feng lv
aed2f337e9
Fix CLEAR COLUMN does not work after #21303
2021-04-30 05:02:32 +00:00
kssenii
654e58b77c
Adjust test
2021-04-29 22:58:42 +03:00
alexey-milovidov
b029e9e4f6
Merge pull request #23050 from ClickHouse/remove-strange-code-fix-19283
...
Remove wrong code, fix #19283
2021-04-29 22:00:02 +03:00
vdimir
38c8853f2b
Rename table in storage_join test
2021-04-29 17:34:26 +03:00
vdimir
8197e1c0c1
Add qualified names for right columns for storage join
2021-04-29 17:30:02 +03:00
Amos Bird
70ec13f3d3
Fix empty block with row_filter
2021-04-29 19:40:14 +08:00
tavplubix
1cecc0d724
Update 01184_long_insert_values_huge_strings.sh
2021-04-29 13:34:43 +03:00
Vladimir
1a8407e029
Merge pull request #23237 from vdimir/fix-join-lowcard-nullable
2021-04-29 13:18:04 +03:00
alexey-milovidov
7a2f6f4277
Update 01184_long_insert_values_huge_strings.sh
2021-04-29 09:46:14 +03:00
Azat Khuzhin
73ab415c4c
Preserve errors for INSERT into Distributed
...
Before this patch (and after #22208 ) the INSERT may fail with "Cannot
schedule a task" because the pool in DistributedBlockOutputStream
already throws exception and simply fail in writeSuffix().
2021-04-28 22:33:29 +03:00
vdimir
6e4b37a45e
Merge branch 'master' into fix-join-lowcard-nullable
2021-04-28 20:06:49 +03:00
Nikolai Kochetov
c508868570
Merge pull request #23082 from ClickHouse/explain-output
...
JSON output for EXPLAIN
2021-04-28 15:39:06 +03:00
Maksim Kita
b544037f03
Merge pull request #23436 from kitaisreal/storage-dictionary-updated
...
Refactored StorageDictionary
2021-04-28 13:11:48 +03:00
Nikita Mikhaylov
bbd1068d6e
Merge pull request #23643 from nikitamikhaylov/pp-segfault
...
Segfault on INSERT in HTTPHandler
2021-04-27 13:43:21 +03:00
Nikita Mikhaylov
02a53ff2c0
Merge pull request #23654 from nikitamikhaylov/mann-whitney-bug
...
`mannWhitneyUTest` same values in both samples
2021-04-27 13:42:52 +03:00
RedClusive
1a8871be36
fix test
2021-04-27 09:49:24 +00:00
RedClusive
508efc8321
fix test
2021-04-27 08:44:48 +00:00
Amos Bird
8a3b5c1fab
Add _partition_value virtual column
2021-04-27 16:15:59 +08:00
alexey-milovidov
186b1128d0
Merge pull request #23310 from amosbird/fixbugindex
...
Don't relax NOT conditions during partition pruning.
2021-04-27 07:13:18 +03:00
alexey-milovidov
013555907c
Merge pull request #23314 from excitoon-favorites/tdigest
...
Fixed `quantile(s)TDigest` inaccuracies
2021-04-27 06:57:44 +03:00
Alexey Milovidov
0cefaf0f4b
Speedup test
2021-04-27 06:54:09 +03:00
Alexey Milovidov
83b071a3d9
Merge branch 'master' into remove-strange-code-fix-19283
2021-04-27 06:34:46 +03:00
Nikita Mikhaylov
710921dc46
fix tests
2021-04-27 02:12:15 +03:00
Nikita Mikhaylov
7dc0f27c88
done
2021-04-26 21:07:30 +03:00
Nikita Mikhaylov
9a70136bcf
better
2021-04-26 18:50:40 +03:00
Maksim Kita
0c012d4288
Fixed tests
2021-04-26 13:52:41 +03:00
Maksim Kita
561b045991
Fixed tests
2021-04-26 13:52:41 +03:00
Maksim Kita
e5079c87db
Added test
2021-04-26 13:52:41 +03:00
RedClusive
8ed90864cb
refactored
2021-04-26 09:39:08 +00:00
Alexander Kuzmenkov
fed35445d9
Merge pull request #23546 from ClickHouse/aku/window-distributed
...
fix window functions for Distributed tables
2021-04-26 12:34:46 +03:00
Nikolai Kochetov
092ff0faeb
Merge pull request #23524 from kssenii/insert-union-select
...
Allow to insert default instead of Null in insert-select / insert-select-union-all
2021-04-26 12:25:49 +03:00
Kruglov Pavel
cb0bd3df5f
Merge pull request #21888 from rf/rf/deltasum-with-timestamp
...
add `deltaSumTimestamp` + docs, tests & minor improvement to `deltaSum`
2021-04-26 11:26:50 +03:00
Vladimir
fd777bcd4b
Merge branch 'master' into create-aggregate-func-settings
2021-04-26 11:12:09 +03:00
tavplubix
81726de8fe
Merge pull request #23366 from amosbird/pid
...
Fix invalid virtual column expr
2021-04-26 11:10:24 +03:00
Vladimir
3c48b88929
Merge pull request #22208 from azat/s3-writer
2021-04-26 10:31:45 +03:00
Vladimir Chebotarev
c0afbc0043
Reset tests.
2021-04-26 10:21:06 +03:00
RedClusive
907115a4c4
add tests
2021-04-25 21:49:02 +00:00
alexey-milovidov
a77843bd7d
Merge pull request #23617 from ClickHouse/fix-test-memory_tracking_insert_optimize_long
...
Fix bad test 01641_memory_tracking_insert_optimize_long
2021-04-26 00:47:32 +03:00
Alexey Milovidov
0dcf87aecc
Prefer easy path
2021-04-26 00:46:43 +03:00
alexey-milovidov
42de40ab35
Update tests/queries/0_stateless/01641_memory_tracking_insert_optimize_long.sql
...
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2021-04-25 13:09:58 +03:00
Azat Khuzhin
0d6f9c0816
Add a test for writeSuffix() via Memory engine
2021-04-25 12:47:30 +03:00
alexey-milovidov
e20a6e0f96
Update 01641_memory_tracking_insert_optimize_long.sql
2021-04-25 11:05:59 +03:00
feng lv
79a3800679
fix test
2021-04-25 07:58:40 +00:00
alexey-milovidov
3cf18d8a5f
Merge pull request #23610 from ClickHouse/bad-like
...
Fix error in LIKE (found by SQLancer)
2021-04-25 08:01:07 +03:00
Alexey Milovidov
301d75dcbe
Fix bad test 01641_memory_tracking_insert_optimize_long
2021-04-25 06:24:39 +03:00
alexey-milovidov
1c472b014d
Merge pull request #23517 from azat/flaky-tests-v21.6
...
Fix function tests flaps
2021-04-25 04:08:49 +03:00
alexey-milovidov
6191f30892
Merge pull request #23595 from azat/fuzzer-tupleElement-formatting
...
Fix inconsistent formatting for tupleElement (for fuzzer)
2021-04-25 04:03:39 +03:00
Alexey Milovidov
263378bb20
Fix error in LIKE (found by SQLancer)
2021-04-25 03:58:44 +03:00
Azat Khuzhin
a5a8ecfe42
Fix inconsistent formatting for tupleElement (for fuzzer)
...
fuzzer sometimes [1] may inserts tupleElement() created from ASTLiteral:
Function_tupleElement, 0xx
-ExpressionList_, 0xx
--Literal_Int64_255, 0xx
--Literal_Int64_100, 0xx
And in this case it will be printed as "255.100", which
later will be parsed as float, and formatting will be
inconsistent.
So instead of printing it as regular tuple,
let's print it as ExpressionList instead (i.e. with ", " delimiter).
Simple reproducer:
void ast()
{
auto arg1 = std::make_shared<ASTLiteral>(Field(255));
auto arg2 = std::make_shared<ASTLiteral>(Field(100));
auto func = makeASTFunction("tupleElement", arg1, arg2);
auto ast = func;
std::cerr << ast->formatForErrorMessage() << std::endl;
std::cerr << ast->dumpTree() << std::endl;
}
[1]: https://clickhouse-test-reports.s3.yandex.net/23517/f1187aeb69109c88f0be978b8083080c7a843820/fuzzer_debug/report.html#fail1
2021-04-25 00:30:17 +03:00
mergify[bot]
51c16a6b7d
Merge branch 'master' into flaky-tests-v21.6
2021-04-24 19:11:52 +00:00
alexey-milovidov
280c0666a5
Merge pull request #23559 from ClickHouse/reproducible-build
...
Reproducible build
2021-04-24 21:26:31 +03:00
Azat Khuzhin
313b576aec
Improve retry logic in 01675_distributed_bytes_to_delay_insert_long
...
https://clickhouse-test-reports.s3.yandex.net/23517/414d8d0634ea5e3f05d30f53df8531da54a7ff50/functional_stateless_tests_(ubsan).html#fail1
2021-04-24 15:18:01 +03:00
Azat Khuzhin
414d8d0634
Mark 01675_distributed_bytes_to_delay_insert as long
...
https://clickhouse-test-reports.s3.yandex.net/23517/416bacc341a815b1b2d28ae24a31e13982ff5a0f/functional_stateless_tests_flaky_check_(address)/test_run.txt.out.log
2021-04-24 09:01:58 +03:00
alexey-milovidov
bcede10919
Merge pull request #23312 from vdimir/issue-23002
...
Correct sample_block in HashJoin for dict join with join_algorithm
2021-04-24 04:40:43 +03:00
alexey-milovidov
2cfc2c8825
Merge pull request #23397 from CurtizJ/better-move-to-prewhere
...
Allow to move more conditions to PREWHERE
2021-04-24 04:39:33 +03:00
mergify[bot]
a5da512e39
Merge branch 'master' into pid
2021-04-24 00:37:39 +00:00
alexey-milovidov
41ed8aab59
Merge pull request #23459 from CurtizJ/fix-replacing
...
Fix corner cases in vertical merges with ReplacingMergeTree
2021-04-24 03:30:44 +03:00
alexey-milovidov
ca230224cf
Merge pull request #23549 from vdimir/issue-17718
...
Remove clashed columns from totals for StorageJoin
2021-04-24 03:19:00 +03:00
Alexey Milovidov
4648782a05
Remove build date from system.build_options
2021-04-24 02:10:32 +03:00
Azat Khuzhin
416bacc341
Add retries into 01675_distributed_bytes_to_delay_insert (and tune delays)
2021-04-23 22:31:27 +03:00
Alexander Kuzmenkov
2e41d1859d
add test with aggregation
2021-04-23 18:21:34 +03:00
Ivan Lezhankin
cdd825b18b
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2021-04-23 18:08:25 +03:00
kssenii
a927611fcf
Better test
2021-04-23 12:58:22 +00:00
vdimir
9460989721
Remove clashed columns from totals for StorageJoin
2021-04-23 15:37:05 +03:00
feng lv
0f5c05854c
fix conflict
2021-04-23 12:22:51 +00:00
feng lv
4ffe199d39
Implement table comments
2021-04-23 12:18:23 +00:00
Alexander Kuzmenkov
54ad086753
fix for distributed
2021-04-23 13:59:21 +03:00
Alexander Kuzmenkov
1fe3fd864e
Merge remote-tracking branch 'origin/master' into HEAD
2021-04-23 10:41:35 +03:00
Alexander Kuzmenkov
ce0a58f86f
ignore empty input chunks generated by joins
2021-04-23 10:37:47 +03:00
kssenii
55d2627a27
Fix test
2021-04-23 04:16:36 +00:00
Azat Khuzhin
f1187aeb69
Convert 01548_query_log_query_execution_ms to .sh with endless retries
2021-04-23 07:08:59 +03:00
Anton Popov
3016bda264
add 'stop merges' to test
2021-04-23 00:54:45 +03:00
kssenii
3176c24a8a
Add test
2021-04-22 21:46:49 +00:00
Maksim Kita
2b822d896d
Merge pull request #23501 from kitaisreal/join-to-subqueries-columns-matcher-fix
...
JoinToSubqueriesVisitor ASTColumnsMatcher fix
2021-04-23 00:24:53 +03:00
Maksim Kita
f27002b1be
Merge pull request #23483 from hexiaoting/dev_alter_bugfix
...
Fix bug when modify column without type
2021-04-23 00:24:36 +03:00
Anton Popov
5b5030a888
update test
2021-04-22 21:46:28 +03:00
Azat Khuzhin
d78da1fa77
Fix 01548_query_log_query_execution_ms flap (by increasing the time delta)
...
From server logs in [1]:
2021.04.22 10:09:12.216874 [ 19931 ] {cad834d6-e01d-4695-ad19-0bc6cdff65c3} <Debug> executeQuery: (from [::1]:37534, using production parser) (comment: /usr/share/clickhouse-test/queries/0_stateless/01548_query_log_query_execution_ms.sql) select '01548_query_log_query_execution_ms', sleep(0.4) format Null;
...
2021.04.22 10:09:13.495662 [ 19931 ] {cad834d6-e01d-4695-ad19-0bc6cdff65c3} <Information> executeQuery: Read 1 rows, 1.00 B in 1.27832443 sec., 0 rows/sec., 0.78 B/sec.
[1]: https://clickhouse-test-reports.s3.yandex.net/23469/2134a4f4c16da093194486ead133afae5cb4e827/functional_stateless_tests_(thread).html#fail1
2021-04-22 21:02:23 +03:00
Russ Frank
41546e0d4f
Merge branch 'master' of github.com:ClickHouse/ClickHouse into rf/deltasum-with-timestamp
2021-04-22 11:23:24 -04:00
Maksim Kita
8fde34fc52
Updated tests
2021-04-22 16:23:42 +03:00
Maksim Kita
ceaf6d57b7
Merge pull request #23393 from ClickHouse/revert-17359
...
Revert argMin/Max for single Tuple argument.
2021-04-22 13:32:04 +03:00
Maksim Kita
44393ea78b
Merge pull request #23484 from hexiaoting/dev_add_tests
...
Add testcases for arrayElement
2021-04-22 13:24:22 +03:00
Maksim Kita
86ffa9fcfa
JoinToSubqueriesVisitor ASTColumnsMatcher fix
2021-04-22 13:14:35 +03:00
Kruglov Pavel
f125db243e
Merge pull request #23437 from rf/rf/deltasum-condition-fix
...
`deltaSum` aggregate function counter reset bugfix & test
2021-04-22 10:37:41 +03:00
hexiaoting
899d88459a
Add testcases for arrayElement
2021-04-22 15:13:46 +08:00
mergify[bot]
71bca99bbf
Merge branch 'master' into explain-output
2021-04-22 07:02:47 +00:00
hexiaoting
d24946f475
Fix bug when modify column without type
2021-04-22 14:48:57 +08:00
alexey-milovidov
3df3acc970
Merge pull request #23458 from kitaisreal/system-dictionaries-virtual-key-column
...
System dictionaries virtual key column
2021-04-22 08:42:15 +03:00
Alexey Milovidov
43375e525e
Fix test
2021-04-22 04:27:27 +03:00
Anton Popov
3548e31afd
fix corner cases in vertical merges with ReplacingMergeTree
2021-04-22 01:27:18 +03:00
Maksim Kita
7168b3a04c
Table system.dictionaries added virtual key column
2021-04-22 01:16:03 +03:00
Russ Frank
53f6a8f9a0
Merge remote-tracking branch 'origin/master' into rf/deltasum-with-timestamp
2021-04-21 13:52:50 -04:00
Maksim Kita
631d870ae3
Cast to array from empty array
2021-04-21 20:29:49 +03:00
Russ Frank
822fc9b110
deltasum counter reset bugfix & test
2021-04-21 09:52:53 -04:00
Nikita Mikhaylov
d4e8f9676b
Merge pull request #21304 from amosbird/indexhint
...
Resurrect indexHint function.
2021-04-21 16:14:43 +03:00
mergify[bot]
7da7279390
Merge branch 'master' into fix_create_drop_replica_race
2021-04-21 13:03:29 +00:00
alexey-milovidov
20a5fed53e
Merge pull request #23392 from ClickHouse/fix-4854
...
Keep default timezone on DateTime operations if it was not provided explicitly #4854
2021-04-21 15:00:59 +03:00
alexey-milovidov
9c649932bc
Merge pull request #23375 from ClickHouse/fix-read-in-order-with-collation
...
Fix read in order optimization of COLLATE is present #22379
2021-04-21 15:00:02 +03:00
Alexey Milovidov
a8da1b5e40
The annoying Arcadia
2021-04-21 14:59:49 +03:00
Maksim Kita
71c27a4dc0
Merge pull request #23378 from ClickHouse/add-test-2582
...
Add test for #2582
2021-04-21 13:36:19 +03:00
Maksim Kita
20b1930ee2
Merge pull request #23379 from ClickHouse/add-test-1647
...
Add test for #1647
2021-04-21 13:34:27 +03:00
Pavel Kovalenko
37c637cc34
Minor fixes.
2021-04-21 13:34:07 +03:00
Nikolai Kochetov
44112587d4
Merge pull request #23309 from ClickHouse/try-fix-crash-with-unknown-packet
...
Fix crash in case of unknown packet
2021-04-21 08:47:17 +03:00
Nikolai Kochetov
9ec6fd1943
Merge pull request #23359 from ClickHouse/try-fix-23029
...
Fix #23029
2021-04-21 08:46:21 +03:00
Amos Bird
50f2e488bd
Fix invalid virtual column expr
2021-04-21 10:29:03 +08:00
Anton Popov
a83a07246e
allow to move more conditions to PREWHERE
2021-04-21 01:03:58 +03:00
Maksim Kita
02515ff0a4
Merge pull request #23191 from kitaisreal/use-local-shard-if-no-remote-connections
...
Updated QueryAliasVisitor to prefer alias for aliases like _subquery
2021-04-21 00:58:47 +03:00
Alexey Milovidov
579ae270ce
Return test
2021-04-21 00:58:33 +03:00
Alexey Milovidov
502bc3575c
Revert #17359
2021-04-21 00:22:29 +03:00
Alexey Milovidov
416efbacbb
Keep default timezone on DateTime operations if it was not provided explicitly #4854
2021-04-21 00:08:06 +03:00
Alexey Milovidov
c7e20282f5
Add test for #1647
2021-04-20 22:28:20 +03:00
Alexey Milovidov
c661ffd763
Add test for #2582
2021-04-20 22:21:15 +03:00
Alexey Milovidov
9bc0706d2f
Fix read in order optimization of COLLATE is present #22379
2021-04-20 21:20:45 +03:00
Nikita Mikhaylov
16e7715039
Merge pull request #23202 from nikitamikhaylov/with_names_use_header_bug
...
`CSVWithNames` with `input_format_with_names_use_header=0`
2021-04-20 20:00:57 +03:00
alexey-milovidov
632a5288fa
Merge pull request #23348 from azat/zero-streams
...
Fix LOGICAL_ERROR for max_distributed_connections=0
2021-04-20 19:48:21 +03:00
Nikita Mikhaylov
53ea92d89c
better
2021-04-20 18:22:06 +03:00
Nikita Mikhaylov
fc01b5b951
Update 01818_input_format_with_names_use_header.sh
2021-04-20 16:46:18 +03:00
Nikolai Kochetov
9632b83bdf
Support explain json = 1, indexes = 1. Added test.
2021-04-20 16:39:23 +03:00
alexey-milovidov
733f9900fa
Merge pull request #23335 from ClickHouse/fix-flaky-test-1666
...
Fix flaky test 01666_merge_tree_max_query_limit.sh
2021-04-20 16:31:50 +03:00
Maksim Kita
02cbb9ed14
Fixed test database name
2021-04-20 16:31:10 +03:00
alexey-milovidov
f99a58bfc3
Merge pull request #23317 from ClickHouse/fix-bad-test-max_distributed_connections
...
Fix bad test 01602_max_distributed_connections
2021-04-20 16:25:04 +03:00
Nikolai Kochetov
03273cad9c
Add test
2021-04-20 14:57:52 +03:00
Anton Popov
8f57141fad
Merge pull request #23195 from CurtizJ/nested-update
...
Merging #22503
2021-04-20 14:57:47 +03:00
Amos Bird
32c84f77c3
Resurrect indexHint function.
2021-04-20 19:27:23 +08:00
Maksim Kita
0fc4776424
Added another test case
2021-04-20 13:32:52 +03:00
Maksim Kita
457b75a196
Updated tests
2021-04-20 13:31:01 +03:00
vdimir
3266bbb54c
TableJoin: forceHashJoin for dictionary_reader, add tests
2021-04-20 12:52:52 +03:00
Maksim Kita
1bdd699f20
Merge pull request #23332 from ClickHouse/add-test-7815
...
Add test for #7815
2021-04-20 12:02:50 +03:00
Amos Bird
d5f606c544
Another fix
2021-04-20 14:15:28 +08:00
Azat Khuzhin
86069ffb40
Fix LOGICAL_ERROR for max_distributed_connections=0
2021-04-20 09:05:44 +03:00
alexey-milovidov
82b6f49516
Merge pull request #23321 from den-crane/patch-15
...
add check that p.pruning works
2021-04-20 05:59:45 +03:00
Anton Popov
0a0c510aa2
minor fixes
2021-04-20 05:51:07 +03:00
Alexey Milovidov
e60af08ce3
Fix flaky test 01666_merge_tree_max_query_limit.sh
2021-04-20 04:29:19 +03:00
alexey-milovidov
62899436db
Revert "add uniqThetaSketch"
2021-04-20 03:34:21 +03:00
alexey-milovidov
3381d0dce9
Update 01602_max_distributed_connections.sh
2021-04-20 03:20:36 +03:00
Alexey Milovidov
8ef84eeaa1
Add test for #7815
2021-04-20 03:16:39 +03:00
Denny Crane
1dbbe2d075
add check that p.pruning works
2021-04-19 18:06:54 -03:00
alexey-milovidov
5b66086bc9
Merge pull request #23219 from azat/optimize_skip_unused_shards_rewrite_in-fix
...
Add type conversion for optimize_skip_unused_shards_rewrite_in
2021-04-19 22:45:35 +03:00
Alexey Milovidov
0784efa813
Better test
2021-04-19 22:42:39 +03:00
Alexey Milovidov
f7d3f77222
Fix bad test 01602_max_distributed_connections
2021-04-19 22:36:45 +03:00
vdimir
a95c4dcfff
Correct sample_block in HashJoin for dict join with join_algorithm = auto
2021-04-19 18:02:56 +03:00
Nikolai Kochetov
c59628846c
Merge pull request #22352 from ClickHouse/add-read-from-mt-step
...
Special query plan step for read from MergeTree
2021-04-19 17:38:40 +03:00
Nikolai Kochetov
0420b7bb33
Reset replica state in MultiplexedConnections in case of exception.
2021-04-19 17:25:43 +03:00
Amos Bird
aeff06d67d
Don't relax NOT conditions during partition pruning.
2021-04-19 22:15:53 +08:00
Nikolai Kochetov
0c23d44b99
Add test.
2021-04-19 17:12:08 +03:00
Alexander Kuzmenkov
dd55fd8954
Merge pull request #23201 from ClickHouse/aku/negate-stable-formatting
...
more stable formatting for negate()
2021-04-19 16:48:43 +03:00
Alexander Kuzmenkov
2a4bcb6e3f
Merge pull request #23159 from ClickHouse/aku/merge-fusecount
...
merging sumCount fusion PR #21337
2021-04-19 16:47:13 +03:00
Nikita Mikhaylov
1ead618895
Update 01818_input_format_with_names_use_header.sh
2021-04-19 14:44:23 +03:00
Alexander Tokmakov
9bc98771f7
fix race on replica creation
2021-04-19 11:21:42 +03:00
Kruglov Pavel
995973bf1f
Merge pull request #22609 from pingyu/datasketches-uniq
...
add uniqThetaSketch
2021-04-19 10:32:29 +03:00
Nikolai Kochetov
4d86f51eff
Merge branch 'master' into add-read-from-mt-step
2021-04-19 10:17:21 +03:00
Maksim Kita
2f56f8d040
Merge pull request #23278 from kitaisreal/to-date-time-decimal-overflow-ubsan-fix
...
Function toDateTime decimal overflow ubsan fix
2021-04-19 10:12:24 +03:00
fuqi
73a5e7a7c3
fix test case new line
2021-04-19 10:22:18 +08:00
Maksim Kita
1bfd4f7568
Function toDateTime decimal overflow ubsan fix
2021-04-19 02:00:33 +03:00
alexey-milovidov
1d5a4cfa32
Revert "[RFC] Fix memory tracking with min_bytes_to_use_mmap_io"
2021-04-19 01:30:53 +03:00
Maksim Kita
ca93987ae9
Merge pull request #23182 from kitaisreal/system-query-reload-model
...
Added system query reload model
2021-04-19 00:39:31 +03:00
Azat Khuzhin
d476a4a9bd
Add type conversion for optimize_skip_unused_shards_rewrite_in
...
MSan reports [1]:
2021.04.17 15:20:06.665152 [ 56 ] {2336bf92-0269-4acd-8b3f-f09623223d18} <Debug> executeQuery: (from [::1]:44744, using production parser) SELECT * FROM dist_01757 WHERE dummy IN ('255', 0) FORMAT Null
...
0 0x305af885 in (anonymous namespace)::shardContains() obj-x86_64-linux-gnu/../src/Interpreters/OptimizeShardingKeyRewriteInVisitor.cpp:50:28
...
Uninitialized value was created by an allocation of 'sharding_value' in the stack frame of function '_ZN12_GLOBAL__N_113shardContainsERKN2DB5FieldERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEERKNS4_10shared_ptrINS0_17ExpressionActionsEEESC_RKNS0_7Cluster9ShardInfoERKNS4_6vectorImNS8_ImEEEE'
0 0x305ae260 in (anonymous namespace)::shardContains() obj-x86_64-linux-gnu/../src/Interpreters/OptimizeShardingKeyRewriteInVisitor.cpp:42
[1]: https://clickhouse-test-reports.s3.yandex.net/23212/d02eb3f6b7a8dc07bbed5605e1afcf7634436b3a/fuzzer_msan/report.html#fail1
P.S. fuzzers are great!
2021-04-19 00:03:38 +03:00
vdimir
67e427c13a
Update Nullable LowCardinality join tests
2021-04-18 15:55:04 +03:00
Maksim Kita
b26dfcd514
Simple key dictionary primary key wrong order fix
2021-04-18 15:19:44 +03:00
Maksim Kita
aa42150ebd
Added integration test
2021-04-18 13:38:36 +03:00
fuqi
31f2c65e4f
support join table mutation
2021-04-18 17:38:50 +08:00
alexey-milovidov
83038f84af
Revert "Function arrayFold
for folding over array with accumulator"
2021-04-18 03:34:05 +03:00
Alexey Milovidov
57a2dc1f51
Mark test as long
2021-04-18 03:23:54 +03:00
Alexey Milovidov
c669ac81a0
Merge branch 'master' into remove-strange-code-fix-19283
2021-04-18 03:22:10 +03:00
alexey-milovidov
96fced4c3c
Merge pull request #23211 from azat/mmap-accounting
...
[RFC] Fix memory tracking with min_bytes_to_use_mmap_io
2021-04-18 03:17:30 +03:00
alexey-milovidov
7f3a40e1b0
Merge pull request #22237 from ClickHouse/protocol-compression-auto
...
Autodetect compression #22234
2021-04-18 03:13:54 +03:00
Alexey Milovidov
8ac953f459
Make function unhex
case insensitive for compatibility
2021-04-17 19:31:35 +03:00
Alexey Milovidov
a790652029
Merge branch 'protocol-compression-auto' of github.com:yandex/ClickHouse into protocol-compression-auto
2021-04-17 16:47:13 +03:00
Alexey Milovidov
77e64b3ebd
Merge branch 'master' into protocol-compression-auto
2021-04-17 16:46:51 +03:00
alexey-milovidov
138c6ae228
Merge pull request #23185 from ClickHouse/fix_22573
...
Fix data_type_default_nullable on ATTACH
2021-04-17 16:13:42 +03:00
Azat Khuzhin
6bd32bd2cb
Mark 01605_adaptive_granularity_block_borders as long
2021-04-17 13:50:52 +03:00
Azat Khuzhin
1b367ee71d
Update 01605_adaptive_granularity_block_borders to avoid using mmap
2021-04-17 10:37:58 +03:00
Azat Khuzhin
6064f3ef1d
Fix memory tracking with min_bytes_to_use_mmap_io
...
With min_bytes_to_use_mmap_io=1 memory regions for mmap() will not be
accounted. But this creates issues, since if you will run simple
"SELECT * FROM big_enough_table" it will mmap lot's of files and the
process RSS will grow at some point, and before the kernel will
understand that it needs to unmap physical pages the clickhouse-server
will sync total_memory_tracker with RSS of the process and the
allocations will fail by per-server memory limits.
Also note, that this does not address all the issues with mmap()
regions.
v2: move track/untrack into the MMapReadBufferFromFileWithCache to avoid
data-race [1]
[1]: https://clickhouse-test-reports.s3.yandex.net/23211/6acf6cb9b22cee7db8d1aa523a6208f63e792f7a/functional_stateful_tests_(thread).html#fail1
2021-04-17 10:37:38 +03:00
Nikita Mikhaylov
7a23d8292f
done
2021-04-16 23:53:26 +00:00
Alexey Milovidov
ecf8de7111
Add a test for #14610
2021-04-17 02:22:32 +03:00
alexey-milovidov
786f340256
Merge pull request #22755 from kssenii/postgresql-protocol-with-row-policy
...
Allow row policy in postgresql protocol
2021-04-17 01:55:30 +03:00
Alexander Kuzmenkov
2782b2a6b0
fix
2021-04-16 21:50:12 +03:00
Nikolai Kochetov
abe84acc8c
Update test.
2021-04-16 20:19:03 +03:00
Alexander Kuzmenkov
b991cbf9d6
more stable formatting for negate()
2021-04-16 19:28:33 +03:00
Maksim Kita
9679bdd86e
Remove explicit database creation in tests
2021-04-16 16:16:11 +03:00
Maksim Kita
d88e0b1b44
Use local shard if there are no remote connections
2021-04-16 16:01:53 +03:00
vdimir
92e813c806
Merge branch 'master' into create-aggregate-func-settings
2021-04-16 15:48:39 +03:00
Kruglov Pavel
deb86ee520
Merge pull request #22986 from azat/StorageBuffer-flush
...
[RFC] Add ability to flush buffer only in background for StorageBuffer
2021-04-16 15:14:24 +03:00
Anton Popov
b14798af2a
Merge branch 'dev_nested_upadte' of git://github.com/hexiaoting/ClickHouse into nested-update
2021-04-16 14:41:19 +03:00
Nikolai Kochetov
a0c942c7d3
Update test
2021-04-16 14:32:59 +03:00
Alexander Kuzmenkov
74b4c56ba4
Merge pull request #21589 from dmalkr/dmalkr/arrayFold
...
Function `arrayFold` for folding over array with accumulator
2021-04-16 14:23:53 +03:00
Nikolai Kochetov
21e297b8a3
Update test
2021-04-16 14:18:55 +03:00
Nikolai Kochetov
23089a2fec
Add special setting to show indexes.
2021-04-16 14:11:45 +03:00
Alexander Tokmakov
ebf0a3119e
fix data_type_default_nullable on attach
2021-04-16 13:29:33 +03:00
Nikolai Kochetov
6fe3470893
Update test.
2021-04-16 12:43:11 +03:00
tavplubix
b5cbbce314
Merge pull request #22706 from songenjie/fetch_part
...
[clickhouse][server][ddl]support fetch part
2021-04-16 12:26:51 +03:00
tavplubix
ae3dc3dfc0
Merge pull request #23161 from ClickHouse/logs_for_debuging_test_failures
...
More verbose logs for debuging test failures with Replicated and Keeper
2021-04-16 12:01:58 +03:00
Pavel Kruglov
ec83aed3eb
Move long queries from 01798_uniq_theta_sketch to separate test
2021-04-16 11:44:32 +03:00
alexey-milovidov
dcb5d1b395
Merge pull request #23096 from ClickHouse/markdown-bad-alignment
...
Fix unpleasant behaviour of `Markdown` format
2021-04-16 00:06:58 +03:00
Alexander Tokmakov
0ad6205fa6
logs for debuging test failures with Replicated and Keeper
2021-04-15 21:34:53 +03:00
Azat Khuzhin
19e0439629
Add ability to flush buffer only in background for StorageBuffer
...
Add 3 new engine arguments:
- flush_time
- flush_rows
- flush_bytes
That will be checked only for background flush, this maybe useful if
INSERT latency is "crucial".
2021-04-15 21:22:13 +03:00
Alexander Kuzmenkov
3b95b637a5
Merge remote-tracking branch 'origin/master' into HEAD
2021-04-15 18:19:53 +03:00
Alexey Milovidov
f95bc68780
Merge branch 'master' into remove-strange-code-fix-19283
2021-04-15 17:08:49 +03:00
Alexey Milovidov
046f491d46
Adjust test
2021-04-15 17:08:35 +03:00
alexey-milovidov
02e77c3ef1
Merge pull request #23111 from ClickHouse/fix_test_name
...
Rename strange tests
2021-04-15 15:03:31 +03:00
alexey-milovidov
ec97414d5a
Update 01598_memory_limit_zeros.sql
2021-04-15 14:45:05 +03:00
Maksim Kita
e361f5943f
Merge pull request #22999 from azat/no-optimize_skip_unused_shards-single-node
...
Do not perform optimize_skip_unused_shards for cluster with one node
2021-04-15 14:36:56 +03:00
vdimir
33a9189151
Merge remote-tracking branch 'upstream/master' into create-aggregate-func-settings
2021-04-15 13:41:21 +03:00
Vladimir
8c7ffda676
Merge pull request #22753 from ClickHouse/revert-19685-dev_joinon
2021-04-15 12:42:50 +03:00
Dmitry Krylov
75036debf4
Check type match of lambda and accumulator
2021-04-15 19:25:30 +10:00
Pavel Kruglov
b909899cc9
Remove extra lines
2021-04-15 11:59:56 +03:00
Pavel Kruglov
8bd77e1c0c
Change markdown format test
2021-04-15 11:58:14 +03:00
alesapin
c979287526
Rename strange tests
2021-04-15 11:28:22 +03:00
Ivan
2cec6a2002
Merge branch 'master' into ast-table-identifier-2
2021-04-15 09:30:24 +03:00
alexey-milovidov
9b546f3b89
Merge pull request #22657 from amosbird/ctefix3
...
Fix CTE usage in view definition
2021-04-15 02:01:10 +03:00
Alexey Milovidov
346e16ce7f
Fix test
2021-04-15 00:45:39 +03:00
Alexey Milovidov
17d04cbca9
Merge branch 'master' into protocol-compression-auto
2021-04-15 00:24:07 +03:00
Alexey Milovidov
5828aa6c8f
Fix tests
2021-04-15 00:19:57 +03:00
tavplubix
2479c80fb7
Merge branch 'master' into fix_attach_mv
2021-04-15 00:07:48 +03:00
tavplubix
021cafff49
Merge pull request #23041 from ClickHouse/fix_testkeeper_multi_response
...
Fix multi response in TestKeeper
2021-04-14 23:25:40 +03:00
Ivan Lezhankin
fd2f5b9ede
Fix COLUMNS transformer
2021-04-14 19:36:44 +03:00
Ivan
57f61c954c
Another attempt to enable pytest ( #22664 )
...
* Fix some tests
* Fix tests
2021-04-14 19:35:17 +03:00
Ivan
b099ad467d
Merge branch 'master' into ast-table-identifier-2
2021-04-14 18:38:30 +03:00
Ivan Lezhankin
00e8571088
Fix for alter update and IN operator
2021-04-14 18:35:52 +03:00
Alexey Milovidov
3b1adbfea4
Fix test
2021-04-14 16:48:12 +03:00
alexey-milovidov
496c2e45d0
Merge pull request #23036 from Enmk/fix_extractAllGroupsHorizontal_max_matches
...
Fixed erroneus failure of extractAllGroupsHorizontal on large columns
2021-04-14 15:57:19 +03:00
Ivan
2b78765957
Merge branch 'master' into postgresql-protocol-with-row-policy
2021-04-14 14:50:28 +03:00
alexey-milovidov
f8ce5547aa
Merge pull request #21318 from azat/servers-pool-wait
...
Fix SIGSEGV by waiting servers thread pool
2021-04-14 14:15:07 +03:00
Alexander Tokmakov
c34e27ed1c
fix test
2021-04-14 14:07:56 +03:00
alexey-milovidov
d3f8a9c23a
Merge pull request #23044 from ClickHouse/array-has-any-all-generic
...
Fix unfinished code in GatherUtils #20272
2021-04-14 13:57:30 +03:00
alexey-milovidov
35260089e0
Merge pull request #23040 from ClickHouse/remove-useless-parts-from-suggest
...
Remove non-essential parts from Suggest
2021-04-14 13:55:25 +03:00
alexey-milovidov
86e20905e5
Merge pull request #23008 from ClickHouse/add-test-2719
...
Add a test for #2719
2021-04-14 13:54:36 +03:00
tavplubix
caf97d297b
Update arcadia_skip_list.txt
2021-04-14 12:17:41 +03:00
Nikita Mikhaylov
c0ed151239
Merge pull request #22012 from nikitamikhaylov/s3-distributed
...
Table function `s3Cluster`
2021-04-14 10:23:43 +03:00
songenjie
f731739fab
fix suggests
2021-04-14 10:05:41 +08:00
Alexey Milovidov
311011caf8
Merge branch 'remove-useless-parts-from-suggest' of github.com:yandex/ClickHouse into remove-useless-parts-from-suggest
2021-04-14 01:08:32 +03:00
Alexey Milovidov
58281eadc0
Mark test as long
2021-04-14 01:08:09 +03:00
tavplubix
5df608a11b
Merge pull request #23043 from ClickHouse/improve_hung_check
...
Improve hung check in Stress tests
2021-04-14 00:29:52 +03:00
Vasily Nemkov
77bdb5b391
Fixed erroneus failure of extractAllGroupsHorizontal on large columns
2021-04-14 00:17:06 +03:00
Alexey Milovidov
4914860f91
Fix style
2021-04-13 22:41:07 +03:00
Nikita Mikhaylov
a15757a9c9
better renaming
2021-04-13 22:39:43 +03:00
Nikita Mikhaylov
7c2b662e28
delete file
2021-04-13 22:39:42 +03:00
Nikita Mikhaylov
4465a0627f
better
2021-04-13 22:39:42 +03:00
Nikita Mikhaylov
efef179b89
remove prints
2021-04-13 22:39:42 +03:00
Nikita Mikhaylov
9144bc7176
Update 01801_s3_distributed.sh
2021-04-13 22:39:42 +03:00
Nikita Mikhaylov
36a8419f60
style
2021-04-13 22:39:42 +03:00
Nikita Mikhaylov
6f7f3a4ec5
better test
2021-04-13 22:39:42 +03:00
Nikita Mikhaylov
6f268476e6
chmod
2021-04-13 22:39:42 +03:00
Nikita Mikhaylov
3b22375c36
add func test
2021-04-13 22:39:42 +03:00
Alexey Milovidov
7254ed5e7f
This is correct
2021-04-13 22:32:10 +03:00
Alexey Milovidov
f7da292d2a
Merge branch 'master' into array-has-any-all-generic
2021-04-13 22:16:33 +03:00
Alexey Milovidov
39d7f50e8a
Fix style
2021-04-13 22:15:15 +03:00
Alexander Tokmakov
05e4c8d3ef
fix attach mv in atomic db
2021-04-13 22:13:26 +03:00
alexey-milovidov
1b61580fa3
Update 01676_clickhouse_client_autocomplete.sh
2021-04-13 21:58:04 +03:00
Azat Khuzhin
3afa94612a
Add a test to ensure that server will wait the server thread pools
...
v2: add into skip_list
v3: print server log on error
v4: increase sleep time to trigger some issues under TSAN
v5: avoid ports overlaps
v6: avoid endless loops to print server log on failure
2021-04-13 21:37:38 +03:00
Alexey Milovidov
a29334de7c
Fix test
2021-04-13 20:23:14 +03:00
Alexey Milovidov
4a14816ef2
Merge branch 'master' into add-test-2719
2021-04-13 20:22:39 +03:00
Alexey Milovidov
58ef54dd63
Fix test
2021-04-13 20:21:27 +03:00
Alexey Milovidov
63a272a533
Fix test
2021-04-13 20:15:18 +03:00
Alexey Milovidov
924eb69217
Fix test
2021-04-13 20:14:29 +03:00
Alexey Milovidov
919e96dbbe
Fix test
2021-04-13 20:12:40 +03:00
Alexey Milovidov
a54985458d
Add a test
2021-04-13 20:10:27 +03:00
Pavel Kruglov
0518349333
Update reference
2021-04-13 19:37:59 +03:00
Kruglov Pavel
6350f734dc
Merge branch 'master' into datasketches-uniq
2021-04-13 19:34:15 +03:00
Pavel Kruglov
6ce9873a76
Move all uniqThetaSketch tests into one file, add it in fasttest and arcadia skip lists
2021-04-13 19:33:15 +03:00
tavplubix
da681d9907
Merge pull request #22998 from ClickHouse/fix_22989
...
Fix assertion when filtering tables in StorageMerge
2021-04-13 18:57:24 +03:00
tavplubix
35c9619444
Update 01181_db_atomic_drop_on_cluster.sql
2021-04-13 18:17:43 +03:00
vdimir
5747fa0216
Test option allow_experimental_funnel_functions
2021-04-13 17:34:57 +03:00
Alexander Tokmakov
fdf3cf378f
fix testkeeper multi response
2021-04-13 15:49:40 +03:00
hexiaoting
4f36ac7f64
Fix error
2021-04-13 17:31:49 +08:00
Nikolai Kochetov
9b67067f05
Fix flappy test.
2021-04-13 11:53:23 +03:00
Maksim Kita
305d3d6b16
Merge pull request #22978 from ClickHouse/filter-by-virtual-columns-fix
...
Fix trivial mistake in filtering by virtual columns
2021-04-13 11:42:16 +03:00
Maksim Kita
e687fc320f
Merge pull request #22997 from ClickHouse/increase-max-uri-size
...
Increase `max_uri_size` to 1 MiB by default
2021-04-13 11:26:23 +03:00
Nikolai Kochetov
e731dfe650
Merge pull request #22991 from ClickHouse/untuple-and-subquery
...
Fix subquery with untuple.
2021-04-13 09:53:13 +03:00
songenjie
fbd26789af
[test] show privileges
2021-04-13 14:08:26 +08:00
hexiaoting
77c460e8d1
Merge remote-tracking branch 'origin/master' into dev-sumcount
2021-04-13 11:14:14 +08:00
hexiaoting
52bdec396b
Merge remote-tracking branch 'origin/master' into dev_nested_upadte
2021-04-13 09:56:47 +08:00
alexey-milovidov
ee9aaab4bc
Merge pull request #22937 from Enmk/formatDateTime_toDateTime64_fixes
...
Fixes: formatDateTime and toDateTime64
2021-04-13 01:40:25 +03:00
alexey-milovidov
d239c66fd3
Merge pull request #21511 from azat/optimize_skip_unused_shards-improvement
...
Rewrite IN in query for remote shards to exclude values that do not belong to the shard
2021-04-13 01:18:11 +03:00
Alexey Milovidov
61816ad076
Add a test for #2719
2021-04-13 00:57:08 +03:00
Alexey Milovidov
5172de3e74
Add test case
2021-04-13 00:12:07 +03:00
Azat Khuzhin
a497d4d462
Do not perform optimize_skip_unused_shards for cluster with one node
2021-04-12 22:18:31 +03:00
Alexey Milovidov
d04541446c
Fix test
2021-04-12 22:04:30 +03:00
Alexander Tokmakov
ad414bab05
fix assertion when filtering tables in StorageMerge
2021-04-12 22:04:26 +03:00
kssenii
1251b3260c
Merge branch 'postgresql-protocol-with-row-policy' of github.com:kssenii/ClickHouse into postgresql-protocol-with-row-policy
2021-04-12 18:42:15 +00:00
kssenii
9089f44a50
Fix tests
2021-04-12 18:40:34 +00:00
Ivan
a73483751f
Merge branch 'master' into ast-table-identifier-2
2021-04-12 20:23:28 +03:00
Ivan Lezhankin
b559e45d93
Some minor fixes
2021-04-12 20:19:46 +03:00
Nikolai Kochetov
f6d86d6032
Merge branch 'master' into add-read-from-mt-step
2021-04-12 15:23:32 +03:00
Nikolai Kochetov
0448e1415f
Fix subquery with untuple.
2021-04-12 15:15:55 +03:00
Maksim Kita
b9fe85d537
Merge pull request #22964 from ClickHouse/uniq-up-to-ubsan
...
Check out of range values in FieldVisitorConverToNumber
2021-04-12 11:50:19 +03:00
Azat Khuzhin
de64b6e987
Cleanup 01756_optimize_skip_unused_shards_rewrite_in
2021-04-12 10:37:28 +03:00
Azat Khuzhin
79bd8d4d3f
Respect optimize_skip_unused_shards_rewrite_in with optimize_skip_unused_shards_limit
2021-04-12 10:37:28 +03:00
Azat Khuzhin
fbb386dca5
Rewrite IN in query for remote shards to exclude values that does not belongs to shard
...
v2: fix optimize_skip_unused_shards_rewrite_in for sharding_key wrapped into function
v3: fix column name for optimize_skip_unused_shards_rewrite_in
v4: fix optimize_skip_unused_shards_rewrite_in with Null
v5:
- squash with Remove query argument for IStreamFactory::createForShard()
- use proper column after function execution (using sharding_key_column_name)
- update the test reference since (X) now is tuple(X)
2021-04-12 10:37:28 +03:00
Dmitry Krylov
a5a4fbdb00
Fix test filenames
2021-04-12 13:09:36 +10:00
Dmitry Krylov
18f58b0c49
Fix test filenames
2021-04-12 12:16:20 +10:00
Dmitry Krylov
b5f6de3cf9
Renaming tests
2021-04-12 10:23:31 +10:00
Dmitry Krylov
160d4a756e
Tests for errors and tests for multi arrays
2021-04-12 10:23:31 +10:00
Dmitry Krylov
517ef8ebf4
Bug with string functions in arrayFold
fixed
2021-04-12 10:23:31 +10:00
Dmitry Krylov
21941bffc8
Tests for arrayFold
2021-04-12 10:23:31 +10:00
Kseniia Sumarokova
71484fcfbd
Merge branch 'master' into postgresql-protocol-with-row-policy
2021-04-12 00:12:49 +03:00