alesapin
0c6ce276b2
Add dead watches cleaner
2020-11-26 17:57:32 +03:00
Alexander Kuzmenkov
15a0f14445
Merge pull request #15419 from myrrc/improvement/diff-types-in-avg-weighted
...
Allow different types in avgWeighted. Allow avg and avgWeighed to operate on extended integral types.
2020-11-26 17:16:48 +03:00
alesapin
6719fb3a1d
Merge pull request #17416 from ClickHouse/tavplubix-patch-2
...
Fix backoff in BackgroundJobExecutor
2020-11-26 16:43:15 +03:00
alesapin
90bddce5ed
Merge pull request #17410 from ClickHouse/test_mutation_for_empty_partitions
...
Add test for mutation with empty partition
2020-11-26 16:42:43 +03:00
qianmoQ
e4bf44d4a4
translate example for metrica documentation
2020-11-26 21:01:03 +08:00
qianmoQ
b34313666b
translate tutorial documentation
2020-11-26 20:43:03 +08:00
alesapin
15a76b4763
Fix clang-tidy
2020-11-26 15:28:54 +03:00
alesapin
fc0bca1ff2
Fix bug with buffered read
2020-11-26 15:26:41 +03:00
Nikita Mikhaylov
084c75fa6e
Merge pull request #17309 from nikitamikhaylov/merging-sequential-consistency
...
Merging #16309
2020-11-26 15:26:05 +03:00
Nikita Mikhaylov
adb82649c4
Merge pull request #16883 from nikitamikhaylov/refactor-rank-corr
...
mannWhitneyUTest + studentTTest + welchTTest + small rankCorr refactor
2020-11-26 15:17:18 +03:00
Nikita Mikhaylov
1724f182e6
Merge pull request #17412 from nikitamikhaylov/radix-malloc
...
Replaced malloc with new in RadixSort
2020-11-26 15:05:01 +03:00
qianmoQ
5b8d4e8292
translate and improve the installation and deployment documentation
2020-11-26 19:58:56 +08:00
Nikolai Kochetov
83f2fc3d9c
Update test.
2020-11-26 12:51:55 +03:00
Nikolai Kochetov
4378ca21ca
Properly check distinct columns.
2020-11-26 12:46:41 +03:00
felixxdu
4cc6594cb8
Support configure Ssystem log table's ttl in config.xml
2020-11-26 17:37:42 +08:00
alesapin
0b079cdeb8
Better polling
2020-11-26 11:59:23 +03:00
Nikolai Kochetov
4c09880bc4
Properly check distinct columns.
2020-11-26 11:50:02 +03:00
Nikolai Kochetov
42399e8866
Merge branch 'dist-agg-issue' of https://github.com/chengxianglibra/ClickHouse into chengxianglibra-dist-agg-issue
2020-11-26 11:35:47 +03:00
Vitaly Baranov
99343bc127
Add constants to ClientInfo::Interface for MySQL and PostgreSQL protocols.
2020-11-26 11:30:38 +03:00
Amos Bird
022ba2b0a9
Fix unmatched type comparison in KeyCondition
2020-11-26 16:15:50 +08:00
alexey-milovidov
ee3a0b790b
Merge pull request #17376 from azat/toUnixTimestamp-Date-fix
...
Prohibit toUnixTimestamp(Date())
2020-11-26 10:50:00 +03:00
Vitaly Baranov
1fc43b3c93
Remove trailing whitespaces in config.xml
2020-11-26 10:27:04 +03:00
alesapin
960d077612
Better functions
2020-11-26 10:25:57 +03:00
Vitaly Baranov
2063cbae0e
Remove old and broken C++ grpc-client.
2020-11-26 10:23:01 +03:00
Vitaly Baranov
3d00cc36f3
Remove accidently committed src/Core/include/config_core.h
2020-11-26 10:18:21 +03:00
Vitaly Baranov
49cf980761
Use port 9100 for grpc by default.
2020-11-26 10:14:27 +03:00
Vitaly Baranov
dbd136672f
Fix error handling in grpc-client.py
2020-11-26 10:07:04 +03:00
Alexey Milovidov
932597e355
Simplify init script: even more
2020-11-26 08:13:45 +03:00
Alexey Milovidov
36151b9e54
Simplify init script (part 2)
2020-11-26 07:54:18 +03:00
alexey-milovidov
8eccf680d8
Update ODBCBlockInputStream.cpp
2020-11-26 07:11:34 +03:00
alexey-milovidov
75a78e6c20
Update BackgroundJobsExecutor.h
2020-11-26 07:09:05 +03:00
alexey-milovidov
aca4da7a2b
Update Install.cpp
2020-11-26 07:07:48 +03:00
alexey-milovidov
747453b008
Merge pull request #17051 from hexiaoting/bugfix_fuzzbits
...
Bug fix for funciton fuzzBits
2020-11-26 06:41:20 +03:00
Alexey Milovidov
85d3e62275
Remove timeSeriesGroupSum
2020-11-26 05:46:28 +03:00
Alexey Milovidov
2ff3e96e95
Many fixes in Install script
2020-11-26 05:11:55 +03:00
Alexey Milovidov
e89d1632a1
Improvements of Install script
2020-11-26 04:44:26 +03:00
alexey-milovidov
fb3a69b298
Merge pull request #17254 from azat/fix-dist-query-cancelation
...
Fix "Unexpected packet Data received from client" for Distributed queries
2020-11-26 03:46:27 +03:00
alexey-milovidov
c438b43892
Merge pull request #17375 from ClickHouse/always-working-test
...
Added a test for what was always working
2020-11-26 03:29:14 +03:00
alexey-milovidov
f7a9d716b4
Merge pull request #17358 from qianmoQ/patch-2
...
Fixed a problem with the translation of clickhouse-local.md document
2020-11-26 03:27:39 +03:00
alexey-milovidov
f4c2c42b5a
Merge pull request #17360 from qianmoQ/fix-docs
...
Fixed a problem with the translation of introduction
2020-11-26 03:27:26 +03:00
alexey-milovidov
2e76f8b103
Merge pull request #17384 from nikhilnadig28/patch-1
...
Fixing typo in tutorial.md
2020-11-26 03:26:56 +03:00
alexey-milovidov
2d5072844f
Update InsertQuerySettingsPushDownVisitor.h
2020-11-26 03:25:08 +03:00
alexey-milovidov
f3c12397c2
Update RadixSort.h
2020-11-26 03:20:43 +03:00
Nikita Mikhaylov
ede023a237
rerun tests to be sure
2020-11-26 01:24:42 +03:00
alesapin
6f6476ad95
Remove complex code on session timeout
2020-11-26 00:00:51 +03:00
alesapin
77651dd239
Don't epoll_create each poll
2020-11-25 23:42:23 +03:00
Alexander Kuzmenkov
394b81ac46
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-25 23:38:55 +03:00
Azat Khuzhin
0b47f4a9e9
Fix optimize_trivial_count_query with partition predicate
...
Consider the following example:
CREATE TABLE test(p DateTime, k int) ENGINE MergeTree PARTITION BY toDate(p) ORDER BY k;
INSERT INTO test VALUES ('2020-09-01 00:01:02', 1), ('2020-09-01 20:01:03', 2), ('2020-09-02 00:01:03', 3);
- SELECT count() FROM test WHERE toDate(p) >= '2020-09-01' AND p <= '2020-09-01 00:00:00'
In this case rpn will be (FUNCTION_IN_RANGE, FUNCTION_UNKNOWN (due to strict), FUNCTION_AND)
and for optimize_trivial_count_query we cannot use index if there is at least one FUNCTION_UNKNOWN.
since there is no post processing and return count() based on only the first predicate is wrong.
Before this patch FUNCTION_UNKNOWN was allowed for optimize_trivial_count_query, and the result was wrong.
And two examples above just to show the difference, the behaviour hadn't been changed with this patch:
- SELECT * FROM test WHERE toDate(p) >= '2020-09-01' AND p <= '2020-09-01 00:00:00'
In this case will be (FUNCTION_IN_RANGE, FUNCTION_IN_RANGE (due to non-strict), FUNCTION_AND)
so it will prune everything out and nothing will be read.
- SELECT * FROM test WHERE toDate(p) >= '2020-09-01' AND toUnixTimestamp(p)%5==0
In this case will be (FUNCTION_IN_RANGE, FUNCTION_UNKNOWN, FUNCTION_AND)
and all, two, partitions will be scanned, but due to filtering later none of rows will be matched.
2020-11-25 23:09:17 +03:00
Azat Khuzhin
32f69dc76f
Cleanup 01505_trivial_count_with_partition_predicate
2020-11-25 23:09:17 +03:00
Nikolai Kochetov
729272391f
Merge branch 'master' into ip-dict-no-trie
2020-11-25 23:07:19 +03:00