Commit Graph

5428 Commits

Author SHA1 Message Date
Anton Popov
6336fbf1df fix removing of empty parts in tables with old syntax 2020-12-29 20:16:57 +03:00
Alexander Kuzmenkov
d4e5d5fdb4
Merge pull request #18455 from ClickHouse/aku/window-prototype
[wip] some window function fixes
2020-12-29 19:23:19 +03:00
Nikita Mikhaylov
9cd1ddb38a
Merge pull request #18516 from nikitamikhaylov/hexiaoting-dev_withfill
Merging  #18188
2020-12-29 18:00:33 +03:00
Yatsishin Ilya
cb5986d426 better 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
b3723e5e56 md5sum of test query has changed 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
223f122aa3 remove duplicate comment 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
a25fa1996b fix style checks 2020-12-29 17:57:12 +03:00
tavplubix
614d29433c
Merge pull request #18553 from awesomeleo/fix-18450
MaterializedMySQL: fix 18450, DB::Exception: Unsupported type FixedString
2020-12-29 13:14:39 +03:00
alesapin
00836a7c52
Merge pull request #18518 from ClickHouse/fix_bug_with_alter_hung
Control alter sequential execution more correctly
2020-12-29 12:08:21 +03:00
spongedc
494c9ac809 Merge remote-tracking branch 'origin/master' into support_show_create_view 2020-12-29 10:20:06 +08:00
Alexander Tokmakov
ecc0339472 add test 2020-12-28 23:21:57 +03:00
pingyu
d12e29cfa9 bug fix; codes refinement 2020-12-29 01:36:19 +08:00
Ivan
35d62b73a7
Check for CLICKHOUSE_CLIENT_OPT env before setting it (#18574) 2020-12-28 18:47:44 +03:00
alexey-milovidov
48050a3ed4
Merge pull request #18524 from ClickHouse/sim-hash-fixes
Sim/Min Hash fixes
2020-12-28 18:01:12 +03:00
alexey-milovidov
df57706f35
Merge pull request #18550 from ClickHouse/fix-delayed-source
Fix pipeline stuck after join
2020-12-28 16:45:25 +03:00
Nikita Mikhaylov
6863dbd6a8
Merge pull request #18480 from vdimir/ip-dict-key-access
IP dict key access
2020-12-28 16:15:40 +03:00
Nikita Mikhailov
c3288c3fbf Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format 2020-12-28 15:09:37 +03:00
alesapin
50afe27461 More stable test 2020-12-28 14:46:45 +03:00
pingyu
d81392c539 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into func_byte_size 2020-12-28 19:32:08 +08:00
pingyu
d2ce110a6d bug fix 2020-12-28 19:29:54 +08:00
hexiaoting
ccaea5fa42 Make Date > 2106-02-07 overflow as 0 2020-12-28 19:09:41 +08:00
Alexander Kuzmenkov
1c52fdb265 cleanup 2020-12-28 13:08:38 +03:00
hexiaoting
4adbdf364e Fix bug for orderby withfill with limit clause 2020-12-28 13:05:16 +03:00
Alexander Kuzmenkov
2905f70cce fix aliases in partition by/order by 2020-12-28 12:56:38 +03:00
alexey-milovidov
bf3187010b
Merge pull request #18145 from myrrc/improvement/multiply-decimals-and-floats
Allow multiplication of Decimal and Float
2020-12-27 22:37:09 +03:00
alesapin
436df8fe3a Check fuzzer tests 2020-12-27 14:36:08 +03:00
Nikolai Kochetov
7f1eb506ab Added test. 2020-12-27 14:28:13 +03:00
alexey-milovidov
d84f308291
Merge pull request #18521 from ClickHouse/implement_create_or_replace
Implement [CREATE OR] REPLACE TABLE
2020-12-27 11:48:06 +03:00
pingyu
f8e55a9c9b wip #17540 2020-12-27 12:11:38 +08:00
Vitaly Baranov
9271b3d627 SELECT JOIN now requires the SELECT privilege on each of the joined tables. 2020-12-26 18:35:32 +03:00
alexey-milovidov
8eb9788955
Merge pull request #18523 from CurtizJ/fix-cast-to-map
Fix cast to map from tuple of arrays with unequal sizes
2020-12-26 10:00:01 +03:00
Nikita Mikhaylov
c3ad122142
Merge pull request #18520 from nikitamikhaylov/fuzz-17876
NaN argument in function 'bar'
2020-12-26 04:32:05 +03:00
Nikita Mikhaylov
7b23b866a2
Merge pull request #18475 from nikitamikhaylov/andyyzh-bitmap64A
Merging #17858
2020-12-26 04:31:49 +03:00
Azat Khuzhin
b4c7540436 Fix 01019_Buffer_and_max_memory_usage
Before it does not check what it was intended, since it was too tricky.
2020-12-25 23:49:22 +03:00
alexey-milovidov
230f9b6ad4
Merge pull request #18449 from vladimir-golovchenko/fix-AM-abbreviation-handling-for-parseDateTimeBestEffort
Bug fix '#18402 parseDateTimeBestEffort should not ignore AM abbreviation for 12th hour'
2020-12-25 22:32:43 +03:00
alexey-milovidov
849ca482c9
Merge pull request #18458 from spongedu/support_exists_database
support EXISTS DATABASE syntax
2020-12-25 22:28:02 +03:00
Nikolai Kochetov
2cfbe056a0 Update test. 2020-12-25 21:08:45 +03:00
Nikolai Kochetov
2f9c5cf745 Update test. 2020-12-25 21:07:03 +03:00
Nikolai Kochetov
feadf02e20 Update test. 2020-12-25 20:14:10 +03:00
Anton Popov
721bb60edd fix cast to map from tuple of arrays with unequal sizes 2020-12-25 20:12:47 +03:00
myrrc
80b96f2c23 Merge remote-tracking branch 'upstream/master' into improvement/multiply-decimals-and-floats 2020-12-25 19:34:26 +03:00
Alexander Tokmakov
42911e2438 implement CREATE OR REPLACE TABLE 2020-12-25 19:32:09 +03:00
Nikita Mikhailov
2239f9b0c6 done 2020-12-25 18:54:38 +03:00
Nikita Mikhailov
cdc1f068d2 skip arcadia 2020-12-25 17:13:26 +03:00
Ivan
ff80c1f3ce
Move --antlr arg outside of parser group 2020-12-25 15:59:02 +03:00
alexey-milovidov
aba7b5f60d
Merge pull request #18493 from ClickHouse/fix-flaky-test-buffer
Fix flaky test 01584_distributed_buffer_cannot_find_column
2020-12-25 12:07:03 +03:00
Alexander Kuzmenkov
a17f0b50ad Merge remote-tracking branch 'origin/master' into tmp 2020-12-25 10:34:28 +03:00
alesapin
c9bbde649c
Merge pull request #18312 from ClickHouse/simplier_coverage
Make single image for building coverage report
2020-12-25 10:18:39 +03:00
Alexander Kuzmenkov
998bd17877 fix column name clash w/agg fns
also fix some test references influenced by the explain changes
2020-12-25 07:59:17 +03:00
Alexander Kuzmenkov
a38787553c perf test fix 2020-12-25 06:15:36 +03:00
Alexander Kuzmenkov
5bd025a180 fix DISTINCT and ORDER BY 2020-12-25 06:13:30 +03:00
Alexey Milovidov
a671f13595 Fix flaky test 01584_distributed_buffer_cannot_find_column 2020-12-25 04:20:09 +03:00
Nikita Mikhaylov
7d8a307bb2
Merge pull request #15316 from nikitamikhaylov/copier-segfault
Add some extra tests to copier
2020-12-25 03:08:12 +03:00
vdimir
1e3bd37380 Add option access_to_key_from_attributes to ip dictionary 2020-12-24 19:13:49 +00:00
alesapin
303c4f98cc Add ability to collect coverage from integration tests 2020-12-24 18:51:53 +03:00
Nikita Mikhaylov
6818b24fe5
Merge pull request #18381 from CurtizJ/part-types-merge
Restrict merges from wide to compact parts
2020-12-24 17:47:14 +03:00
Amos Bird
6648b89843 fix test 2020-12-24 17:43:20 +03:00
Andy Yang
ccb2fcc161 Support bitmap64 feature 2020-12-24 17:43:20 +03:00
Nikita Mikhailov
63dc8c5462 better 2020-12-24 17:24:51 +03:00
Kruglov Pavel
0529c2906a
Merge pull request #18349 from spongedu/support_is_ipv4
Support builtin function isIPv4String && isIPv6String
2020-12-24 14:52:07 +03:00
tavplubix
5fbfc1935c
Merge pull request #18445 from ClickHouse/fix_to_nullable_conversion
Try fix 'value is too short' when converting from String to Nullable(T)
2020-12-24 13:38:43 +03:00
spongedc
71ab8c18fa support EXISTS DATABASE syntax 2020-12-24 17:16:47 +08:00
alexey-milovidov
4561527d4d
Merge pull request #18404 from amosbird/fixsimplestate
-SimpleState function arg type = return type
2020-12-24 12:12:29 +03:00
Nikolai Kochetov
34cd4fea0e Fixing integrational test. 2020-12-24 12:05:14 +03:00
Alexander Kuzmenkov
912995cbae some provision for aggregate fns as window fn args
(doesn't work yet)

also a perf test w/LIMIT BY
2020-12-24 11:49:55 +03:00
Alexander Kuzmenkov
8deb8e4808 Merge origin/master into tmp (using imerge) 2020-12-24 10:00:35 +03:00
Alexander Kuzmenkov
844239b1c3 tmp fixes (split me) 2020-12-24 07:03:33 +03:00
vladimir golovchenko
f39c961328 Added tests to cover cases with 12-hour clock time. 2020-12-23 18:09:40 -08:00
Alexander Kuzmenkov
e3fb30b9f7
Merge pull request #18386 from ClickHouse/aku/faster-perf
Make some perf tests faster on slower machines
2020-12-24 03:47:18 +03:00
Alexander Tokmakov
c49a6302fa fix, add test 2020-12-24 03:13:53 +03:00
alexey-milovidov
c4bbb95b0f
Merge pull request #18405 from ClickHouse/add_test_for_compact_parts
Add test for already working code
2020-12-24 01:24:09 +03:00
alesapin
f3f5466d23
Merge pull request #18306 from amosbird/restrictsettings
Extend mergetree setting alter restriction
2020-12-23 23:09:59 +03:00
Nikita Mikhailov
7ac7d991ad replace word anime with word big 2020-12-23 22:02:53 +03:00
Nikita Mikhailov
a35ef5ace3 better 2020-12-23 21:59:27 +03:00
Nikita Mikhailov
9a069b2cc0 Merge branch 'copier-segfault' of github.com:nikitamikhaylov/ClickHouse into copier-segfault 2020-12-23 21:31:18 +03:00
Vitaliy Zakaznikov
13e633c1ad Regenerating ldap/authentication/requirements/requirements.py 2020-12-23 13:17:18 -05:00
Nikita Mikhailov
bcb595e34c Merge branch 'master' of github.com:ClickHouse/ClickHouse into copier-segfault 2020-12-23 20:30:51 +03:00
Anton Popov
84ec3930ba
Merge pull request #18223 from ClickHouse/delayed_last_mark_for_wide_parts
Better adaptive granularity calculation for wide parts
2020-12-23 19:37:25 +03:00
Nikita Mikhailov
744ee23820 Merge branch 'master' of github.com:ClickHouse/ClickHouse into copier-segfault 2020-12-23 19:32:21 +03:00
Amos Bird
6fc225e676
Distributed insertion to one random shard (#18294)
* Distributed insertion to one random shard

* add some tests

* add some documentation

* Respect shards' weights

* fine locking

Co-authored-by: Ivan Lezhankin <ilezhankin@yandex-team.ru>
2020-12-23 19:04:05 +03:00
Ivan
51481c9c5f
Add ANTLR test config to another json 2020-12-23 18:25:05 +03:00
myrrc
631a2bce79 reverted the tests to initial state 2020-12-23 17:29:03 +03:00
Nikita Mikhaylov
c005dcdd26
Merge pull request #17641 from nikitamikhaylov/parallel_row_numbers
Added an offset to exception message for parallel parsing
2020-12-23 17:24:35 +03:00
Vitaliy Zakaznikov
26ca04c92d Merge branch 'master' of https://github.com/traceon/ClickHouse into ldap-cache-login 2020-12-23 08:17:12 -05:00
myrrc
473aef519d reverted 1 scale to fix 3 tests 2020-12-23 16:11:20 +03:00
Amos Bird
2e0a2257b8
-SimpleState function arg type = return type 2020-12-23 21:09:05 +08:00
alexey-milovidov
0f98fe3c0c
Merge pull request #18365 from CurtizJ/fix-group-by-distinct
Fix race in aggregation with combinator distinct
2020-12-23 15:41:20 +03:00
alexey-milovidov
2c7979dd64
Merge pull request #18379 from vitlibar/fix-filling-table-system-settings-profile-elements
Fix filling table system.settings_profile_elements.
2020-12-23 15:34:00 +03:00
alesapin
e3d9f4739d
Update test.py 2020-12-23 15:06:21 +03:00
alesapin
28aef2ddd4
Update test.py 2020-12-23 15:05:55 +03:00
alesapin
af53559b4f
Update test.py 2020-12-23 15:05:25 +03:00
alesapin
5fc3da74d0
Update test.py 2020-12-23 15:04:29 +03:00
alesapin
54455b4740 Add test for already working code 2020-12-23 14:53:49 +03:00
Nikolai Kochetov
3fd0b69fab
Merge pull request #7649 from ucasFL/master
Add simhash, minhash, and hammingdistance function
2020-12-23 12:22:38 +03:00
Nikolai Kochetov
af7f5c9518
Merge pull request #17868 from ClickHouse/async-read-from-socket
Async read from socket
2020-12-23 12:20:42 +03:00
Alexander Kuzmenkov
51b2329295
Merge branch 'master' into aku/window-prototype 2020-12-23 09:26:11 +03:00
spongedc
be41af79de Merge remote-tracking branch 'origin/master' into support_is_ipv4 2020-12-23 11:58:23 +08:00
spongedc
a277308ac6 Merge remote-tracking branch 'origin/master' into support_show_create_view 2020-12-23 11:56:46 +08:00
Alexander Kuzmenkov
d9180f1e3e Make some perf tests faster on slower machines 2020-12-23 05:40:55 +03:00
alexey-milovidov
8e48a25607
Merge pull request #18299 from ClickHouse/enable_thread_fuzzer_for_flaky_check
Trying to enable thread fuzzer in flaky check
2020-12-23 05:32:19 +03:00
Nikita Mikhailov
dcfbe782c6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format 2020-12-23 05:20:22 +03:00
alexey-milovidov
c72a480d89
Merge pull request #17630 from amosbird/stacktracefix
Fix system.stack_trace when running in daemon mode
2020-12-23 04:40:50 +03:00
Nikita Mikhaylov
1e12290e2d
Update task_many_to_one.xml 2020-12-23 04:26:23 +03:00
Nikita Mikhaylov
92b2f5ae98
Update 00900_parquet_load.reference 2020-12-23 03:44:23 +03:00
Anton Popov
78c4b9f2bc do not allow merge from wide to compact parts 2020-12-23 03:16:15 +03:00
nikitamikhaylov
ffce2a490b done 2020-12-23 01:46:40 +03:00
nikitamikhaylov
4bb52c062a fix tests 2020-12-23 01:02:45 +03:00
nikitamikhaylov
c60c161168 add ParsingException 2020-12-23 01:02:01 +03:00
nikitamikhaylov
27f647f93d done 2020-12-23 01:01:05 +03:00
myrrc
ba33b815b1 updated the tests 2020-12-22 23:33:11 +03:00
Vitaly Baranov
9e31800ebb Fix filling table system.settings_profile_elements. 2020-12-22 23:24:59 +03:00
myrrc
bb50329aa3 fixed the test and the code 2020-12-22 22:04:46 +03:00
Alexander Kuzmenkov
3f33e6b3e0 some review fixes 2020-12-22 20:46:31 +03:00
nikitamikhaylov
8fc984fbc5 fix 2020-12-22 19:32:13 +03:00
nikitamikhaylov
99404e914e done 2020-12-22 18:19:58 +03:00
hexiaoting
93d28ef5c9
Implement untuple field access (#18309) 2020-12-22 16:48:40 +03:00
alesapin
4b28d6d030 Merge branch 'master' into enable_thread_fuzzer_for_flaky_check 2020-12-22 16:36:51 +03:00
Ivan
5fd6f260ac
Add support for ANTLR inside clickhouse-test (#18319) 2020-12-22 15:24:46 +03:00
Anton Popov
57a1642035 fix race in aggregation with combinator distinct 2020-12-22 14:30:29 +03:00
Amos Bird
c974fb8948
Remove obtrusive tests 2020-12-22 18:42:18 +08:00
alesapin
35413635e7 Add ability to change some types for primary key 2020-12-22 13:41:12 +03:00
spongedc
121f7ae833 Support builtin function isIPv4String && isIPv6String 2020-12-22 16:06:33 +08:00
alexey-milovidov
a4b0d9ba4c
Merge pull request #16664 from FawnD2/switch-upstream-for-arrow-submodule
Switch upstream repo for Arrow submodule
2020-12-22 10:55:23 +03:00
Alexey Milovidov
af8022a0b1 Merge branch 'master' into amosbird-stacktracefix 2020-12-22 10:48:28 +03:00
alexey-milovidov
f0dc3ec152
Merge pull request #17665 from amosbird/clientedit
clickhouse-client editor
2020-12-22 09:53:54 +03:00
alexey-milovidov
c57312385b
Merge pull request #18318 from abyss7/pytest
Add more tests to skip-list
2020-12-22 09:46:25 +03:00
alexey-milovidov
ea1b62cdc5
Merge pull request #18317 from Enmk/CoulmnMap_perf_test
Perf test for ColumnMap
2020-12-22 09:33:16 +03:00
alexey-milovidov
adab35003e
Merge pull request #18271 from ClickHouse/arrays-as-nested-csv
Support to parse Arrays in CSV as nested CSV in a String
2020-12-22 09:28:25 +03:00
alexey-milovidov
3bd72dcdd7
Merge pull request #18334 from azat/tests-cleanup
tests: remove unused configs/scripts
2020-12-22 09:22:24 +03:00
alexey-milovidov
8e325d63b4
Merge pull request #18332 from ClickHouse/check-conflict-markers
Check for conflict markers in docs
2020-12-22 09:21:58 +03:00
alexey-milovidov
7985ed9778
Merge pull request #18050 from Enmk/DateTime64_DateTime_comparison
Fixed Date vs DateTime64 comparison
2020-12-22 05:12:14 +03:00
Alexander Kuzmenkov
52ace7a3d1 one plan step per window 2020-12-22 04:37:45 +03:00
alexey-milovidov
fbcea6d933
Update ColumnMap.xml 2020-12-22 01:16:51 +03:00
Azat Khuzhin
8883b6125e tests: remove unused configs/scripts
Those configs was used by clickhouse-test-server, that is used for
ctest, but later does not used on CI, and for debian manifets
with_server was excluded.

So remove those configs not to confuse other people.
2020-12-22 01:13:38 +03:00
Alexey Milovidov
5bdf287910 Check for conflict markers in docs 2020-12-22 00:55:54 +03:00
alexey-milovidov
69719f743d
Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock 2020-12-22 00:41:52 +03:00
Alexey Milovidov
e03196b3d3 Add a test 2020-12-22 00:33:01 +03:00
Alexey Milovidov
e6ab6badf9 Fix clickhouse-test 2020-12-22 00:03:41 +03:00
alexey-milovidov
7eea1cbe0f
Merge pull request #18313 from Enmk/Optimize_deduplicate_fix
Fixed flaky test
2020-12-21 23:46:55 +03:00
alexey-milovidov
d66506299f
Merge pull request #18238 from azat/jemalloc-MADV_DONTNEED-runtime-check
MADV_DONTNEED check in runtime for qemu (via patching jemalloc)
2020-12-21 21:07:49 +03:00
Nikolai Kochetov
12f0f82d3d Update test. 2020-12-21 19:53:28 +03:00
alesapin
f22b7fec91
Merge pull request #18293 from ClickHouse/fix_flaky_test_01076
Fix flaky 01076_parallel_alter test
2020-12-21 19:39:31 +03:00
Vasily Nemkov
b11301f257
Un-commented cleanup code in test 2020-12-21 18:36:02 +02:00
Ivan Lezhankin
66b2ebca78 Another flaky 2020-12-21 19:28:12 +03:00
Ivan Lezhankin
9d70b9e520 Add more tests to skip-list 2020-12-21 17:04:52 +03:00
Vasily Nemkov
b93a2cfa25 Perf test for ColumnMap 2020-12-21 16:02:58 +02:00
alesapin
22646ef284 Add stress test debug to ci list 2020-12-21 16:14:15 +03:00
Vasily Nemkov
f8c9d6e863 Fixed flaky test 2020-12-21 14:27:46 +02:00
alesapin
0bc1479a48 Fix clickhouse-test 2020-12-21 15:22:20 +03:00
alesapin
ce2028e3ce Fix clickhouse-test 2020-12-21 14:19:12 +03:00