Nicolae Vartolomei
94f3db3c78
Use ZK check requests as barriers to prevent issuing tasks based on stale state information
2021-04-27 14:20:13 +01:00
alesapin
d12deed53d
bump ci
2021-04-27 14:20:12 +01:00
alesapin
b930ca5d59
Followup fix
2021-04-27 14:20:12 +01:00
Nicolae Vartolomei
53d57ffb52
Part movement between shards
...
Integrate query deduplication from #17348
2021-04-27 14:20:12 +01:00
Nikolai Kochetov
96e84a44d1
Merge pull request #23594 from lehasm/alexey-sm-DOCSUP-6702-document-timezoneOffset
...
DOCSUP-6702: document the timezoneOffset function
2021-04-27 15:42:17 +03:00
Maksim Kita
3891205f50
Merge pull request #23663 from ClickHouse/fix-pvs
...
Fix a few PVS-Studio warnings
2021-04-27 14:11:38 +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
Alexey Milovidov
a5a4e64ba7
Fix a few PVS-Studio warnings
2021-04-27 07:22:32 +03: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
b9337eac4c
Update QuantileTDigest.h
2021-04-27 06:56:13 +03:00
Nikita Mikhaylov
710921dc46
fix tests
2021-04-27 02:12:15 +03:00
Nikita Mikhaylov
175ae42bae
better
2021-04-27 01:56:47 +03:00
Maksim Kita
8b5a049ca0
Merge pull request #23635 from kitaisreal/aggregate-functions-remove-unused-code
...
Aggregator remove unused code
2021-04-27 00:52:34 +03:00
Alexey
283442e249
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into alexey-sm-DOCSUP-6702-document-timezoneOffset
2021-04-26 19:43:12 +00:00
Alexey
beca754aff
Alias timeZoneOffset added to source code
2021-04-26 19:17:23 +00: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
5bb263f535
Fixed tests
2021-04-26 13:44:59 +03: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
tavplubix
1d5d69f651
Merge pull request #23637 from ClickHouse/fix-build-with-AMQP
...
Merging #22984
2021-04-26 11:33:52 +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
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
523f8f1743
Added clarification.
2021-04-26 10:21:06 +03:00
Vladimir Chebotarev
1febe4071e
Style fix.
2021-04-26 10:21:06 +03:00
Vladimir Chebotarev
a5ed193d93
Added singletons to quantilesTDigest
.
2021-04-26 10:21:06 +03:00
Vladimir Chebotarev
3911ef40e1
Added singletons to quantileTDigest
.
2021-04-26 10:21:05 +03:00
Vladimir Chebotarev
7cac69c9a2
Removed perfect aggregation in quantileTDigest
.
2021-04-26 10:21:05 +03:00
tavplubix
fc2e2848bf
Merge pull request #23413 from TCeason/modify_MaterializeMySQL_var_check
...
modify MaterializeMySQL check MySQL var logical
2021-04-26 09:52:59 +03:00
Maksim Kita
6e3efee28c
Updated HashMap functions
2021-04-26 01:36:47 +03:00
Maksim Kita
cac4a85286
Aggregator remove unused code
2021-04-26 01:17:24 +03:00
Azat Khuzhin
a4036a8199
Correctly stop ParallelFormattingOutputFormat from StorageS3BlockOutputStream
2021-04-25 12:49:57 +03:00
Azat Khuzhin
18575c4433
Avoid flushing of BlockOutputStream from destructor
...
That may lead to uncaught exception [1].
[1]: https://github.com/ClickHouse/ClickHouse/pull/21624#issuecomment-808066747
v0: New method BlockOutputStream::finalize() -- bad (forgot some places
and superfluous)
v2: Flush BlockOutputStream in QueryStatus::releaseQueryStreams()
Safer query termination (report some uncaugh errors to user)
v3: Flush BlockOutputStream from TCPHandler only
Other places uses different executeQuery() implementation
v4: Do not call writeSuffix() twice
2021-04-25 12:49:44 +03:00
Azat Khuzhin
6ebe4e7dbb
Do not silently catch errors for writing to S3
2021-04-25 12:47:30 +03:00
Azat Khuzhin
7a8da84eee
Respect lock_acquire_timeout_for_background_operations for OPTIMIZE
2021-04-25 10:12:15 +03: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
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
alexey-milovidov
1ffa63b20a
Merge pull request #23598 from ClickHouse/paths-with-whitespaces
...
Somewhat better handling of paths in CMake (incomplete)
2021-04-25 01:58:28 +03:00
alexey-milovidov
d13d543811
Merge pull request #23600 from ClickHouse/reproducible-build-2
...
Avoid possible build dependency on locale and filesystem order
2021-04-25 01:55:28 +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
Alexey Milovidov
2d3623b011
Remove build dependency on CMAKE_SYSTEM_NAME
2021-04-24 23:05:08 +03:00
Alexey Milovidov
3705dbfabc
Avoid possible build dependency on locale and filesystem order
2021-04-24 23:01:07 +03:00
Alexey Milovidov
6f05c447ad
Remove old trash
2021-04-24 22:54:44 +03:00
Alexey Milovidov
4ff812db7f
Maybe better support for paths with whitespaces
2021-04-24 22:47:52 +03:00
alexey-milovidov
280c0666a5
Merge pull request #23559 from ClickHouse/reproducible-build
...
Reproducible build
2021-04-24 21:26:31 +03:00
alexey-milovidov
cae5260817
Update KeyCondition.cpp
2021-04-24 05:34:35 +03:00