Commit Graph

55576 Commits

Author SHA1 Message Date
alexey-milovidov
f7e7725b8e
Merge pull request #18884 from fuwhu/feature/fix-windowFunnel-inconsistency
fix the inconsistent result of windowFunnel in case of same timestamp for different events
2021-01-10 14:56:58 +03:00
Alexey Milovidov
24ded3c1c1 Allow clickhouse-local to run without system tables 2021-01-10 14:12:22 +03:00
alexey-milovidov
95ac01ab82
Merge pull request #18893 from ClickHouse/fix-clickhouse-local
Fix hang at shutdown in clickhouse-local
2021-01-10 13:26:44 +03:00
alexey-milovidov
1921494bc9
Merge pull request #18864 from azat/dist-fsync
Add fsync support for Distributed engine.
2021-01-10 13:16:13 +03:00
alexey-milovidov
571e37188a
Merge pull request #18886 from ClickHouse/remove-useless-code-4
Remove useless code
2021-01-10 13:13:17 +03:00
alexey-milovidov
b95fae737a
Merge pull request #18892 from ClickHouse/remove-useless-headers-3
Remove useless headers
2021-01-10 13:12:51 +03:00
Azat Khuzhin
39cfffd4d2 Add log message for list of tables on RESTART REPLICAS 2021-01-10 12:44:56 +03:00
Amos Bird
44758935df
correct index analysis of WITH aliases 2021-01-10 17:40:47 +08:00
Azat Khuzhin
ff16f68116 Add a smoke test for SYSTEM RESTART REPLICAS 2021-01-10 12:40:41 +03:00
Azat Khuzhin
30741232d2 Drop RESTART REPLICAS from stateless tests to avoid locking lots of mutexes
Under TSan you can lock only not more then 64 mutexes from one thread at
once [1] [2], while RESTART REPLICAS can acquire more (it depends on the
number of replicated tables).

  [1]: https://github.com/google/sanitizers/issues/950#issuecomment-386711603
  [2]: b02eab9058/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h (L67)

And since stress tests run tests in parallel, you can have more then 64
ReplicatedMergeTree tables at once (even though it is unlikely).

Fix this by using RESTART REPLICA table over RESTART REPLICAS.
2021-01-10 12:39:27 +03:00
kssenii
fc9de76f7d Fix incorrect getCreateTableQueryImpl with multidim arrays 2021-01-10 09:00:35 +00:00
nautaa
a0982bfd55 update decodeXMLComponent.cpp 2021-01-10 16:21:21 +08:00
nautaa
d7456f8ddd update decodeXMLComponent.cpp 2021-01-10 16:18:26 +08:00
alexey-milovidov
6d0799b6c3
Merge pull request #17462 from chenziliang/feature/wildcard-dynamic-columns
include dynamic columns for wildcard query
2021-01-10 10:57:41 +03:00
zhang2014
a9f0ede755 trigger CI again 2021-01-10 13:03:22 +08:00
feng lv
09d71029c2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster 2021-01-10 03:47:14 +00:00
Alexey Milovidov
79a38c4c6e Fix hang at shutdown in clickhouse-local 2021-01-10 06:35:05 +03:00
HuFuwang
833054251b update sorted logic in AggregateFunctionWindowFunnelData::add 2021-01-10 11:31:44 +08:00
Alexey Milovidov
c38dca155c Fix clang-tidy 2021-01-10 05:51:54 +03:00
Alexey Milovidov
76149947ef Remove useless headers 2021-01-10 05:48:57 +03:00
alexey-milovidov
f2cb271425
Merge pull request #18888 from ClickHouse/remove-testflows
Remove TestFlows due to timeouts
2021-01-10 05:39:23 +03:00
Alexey Milovidov
7e9120b34f Merge branch 'master' into chenziliang/feature/wildcard-dynamic-columns 2021-01-10 04:04:47 +03:00
Alexey Milovidov
0421cc8dc2 Remove TestFlows due to timeouts 2021-01-10 03:49:29 +03:00
alexey-milovidov
7e21d4d70a
Update ccache.cmake 2021-01-10 03:46:35 +03:00
Alexey Milovidov
8387ac86ef Add another issue template 2021-01-10 03:44:10 +03:00
Alexey Milovidov
1fa3311837 Reformulate some issue templates 2021-01-10 03:42:05 +03:00
Alexey Milovidov
7dd9155a62 Reorder issue templates 2021-01-10 03:36:47 +03:00
Alexey Milovidov
3b11ad14da Added issue template for fuzz reports 2021-01-10 03:33:45 +03:00
Alexey Milovidov
6eb5a5f4d9 Remove useless code 2021-01-10 03:28:59 +03:00
HuFuwang
d0378395c5 add tests 01646_fix_window_funnel_inconistency. 2021-01-10 07:49:11 +08:00
HuFuwang
21659e8aa5 Merge branch 'master' into feature/fix-windowFunnel-inconsistency 2021-01-10 07:34:05 +08:00
Azat Khuzhin
0421ab6c80 Use time_macros over unset SOURCE_DATE_EPOCH in ccache 4.2 (unreleased)
ccache 4.2+ will ignore SOURCE_DATE_EPOCH [1].

  [1]: https://github.com/ccache/ccache/pull/755
2021-01-10 02:28:02 +03:00
kssenii
0088d66d59 Hopefully better array conversions for insert query 2021-01-09 22:42:42 +00:00
alexey-milovidov
fe1c153c6f
Merge pull request #18817 from ucasFL/wf
replace PODArray with PODArrayWithStackMemory in AggregateFunctionWindowFunnelData
2021-01-10 00:11:57 +03:00
alexey-milovidov
d593b1faf2
Merge pull request #18876 from ClickHouse/external-queries-in-with-table
External queries: fix the case of expr IN table #9756
2021-01-10 00:10:56 +03:00
alexey-milovidov
7dd7ded605
Merge pull request #18880 from ClickHouse/fuzzer-fail-fast
Query Fuzzer: return fail fast semantics
2021-01-10 00:10:20 +03:00
Ivan Lezhankin
321f65a649 Merge remote-tracking branch 'upstream/master' into antlr-test 2021-01-09 19:38:09 +03:00
feng lv
94e1bc05d2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all 2021-01-09 16:07:52 +00:00
HuFuwang
8e63328221 refine naming. 2021-01-09 23:13:03 +08:00
Azat Khuzhin
471deab63a Rename fsync_tmp_directory to fsync_directories for Distributed engine 2021-01-09 17:51:30 +03:00
nautaa
445bc1c65c fix bug 2021-01-09 22:39:25 +08:00
HuFuwang
dd52f88e54 fix the inconsistent result of windowFunnel in case of same timestamp for different events. 2021-01-09 22:37:49 +08:00
Azat Khuzhin
9cdb1d4ae6 Simple coverage of fsync_after_insert/fsync_tmp_directory with batching 2021-01-09 16:31:52 +03:00
Azat Khuzhin
ae0b15455f Add fsync_tmp_directory support into DirectoryMonitor 2021-01-09 16:31:52 +03:00
Azat Khuzhin
2e55bd2285 Accept IDisk in DirectoryMonitor (for further fsync) 2021-01-09 16:31:42 +03:00
Azat Khuzhin
dd669cb2b6 Add fsync support for Distributed/DirectoryMonitor
Note that there is no fsync_tmp_directory support in DirectoryMonitor
since you cannot propagate the error to user anyway.
2021-01-09 15:26:25 +03:00
nautaa
33996d41f5 add test cases reference 2021-01-09 19:15:09 +08:00
nautaa
8359289283 add unicode decode 2021-01-09 19:08:19 +08:00
feng lv
378b10863e fix conflict 2021-01-09 09:07:20 +00:00
Azat Khuzhin
fbe5df809b Sync other temporary directories for Distributed fsync_tmp_directories 2021-01-09 11:36:04 +03:00