Azat Khuzhin
c6b9816d45
tests: mark 00763_lock_buffer as long
...
https://clickhouse-test-reports.s3.yandex.net/28827/58266e4ed6db77109e6237ecd2612d34c0b19516/functional_stateless_tests_flaky_check_(address).html#fail1
2021-09-11 09:15:38 +03:00
Azat Khuzhin
f7540dad56
tests: update 01305_replica_create_drop_zookeeper after client query printing
2021-09-11 09:13:23 +03:00
alexey-milovidov
28911a959f
Merge pull request #28431 from azat/thread-pool-joinable
...
[RFC] Do not allow ThreadFromGlobalPool::join() from the spawned/occupated thread
2021-09-11 05:44:56 +03:00
alexey-milovidov
d50335041d
Merge pull request #28874 from azat/heavy-build-heavy-system
...
Relax ENABLE_CHECK_HEAVY_BUILDS restrictions on systems under pressure (increase RLIMIT_CPU)
2021-09-11 05:29:32 +03:00
adevyatova
1d4f73ac7b
Add example
2021-09-11 02:13:55 +00:00
Mike Kot
bce011cb33
Replacing IsDecimalNumber
2021-09-11 00:40:18 +02:00
Mike Kot
c4385a2c40
Simplifying exception messages
2021-09-11 00:40:18 +02:00
Azat Khuzhin
017dc9fa2a
Remove unused ILLEGAL_AGGREGATION from AggregateFunctionIf
2021-09-11 00:48:17 +03:00
Azat Khuzhin
a764d46f62
Eliminate int64_t > INT64_MAX checks (found by PVS)
...
https://clickhouse-test-reports.s3.yandex.net/28773/b38311538979c0ffe27f6c8c5732b4afc18c4d35/pvs_check.html#fail1
2021-09-10 23:31:41 +03:00
Azat Khuzhin
56ac032413
Use the same error for leadInFrame()/lagInFrame() as in nth_value()
2021-09-10 23:27:36 +03:00
Azat Khuzhin
58266e4ed6
tests/queries/0_stateless/01175_distributed_ddl_output_mode_long: use unique tmp file
2021-09-10 23:23:24 +03:00
Azat Khuzhin
4336038711
tests: update more references after client started printing query
2021-09-10 23:19:16 +03:00
Azat Khuzhin
c362e7c541
Introduce IAggregateFunctionCombinator::supportsNesting()
2021-09-10 22:41:38 +03:00
Azat Khuzhin
d8bf2f81ec
Allow Array/OrNull combinators regardless nesting
2021-09-10 22:35:25 +03:00
Azat Khuzhin
4e9b2c5d69
Relax ENABLE_CHECK_HEAVY_BUILDS restrictions on systems under pressure (increase RLIMIT_CPU)
...
The problem was with compiling src/AggregateFunctions/AggregateFunctionQuantile.cpp
2021-09-10 21:05:41 +03:00
Azat Khuzhin
1e7714d56d
Forbid nested identical (only) combinators
...
Nested identical combinators (i.e. uniqCombinedIfIf) is not
supported (since they even don't work -- silently).
But non-identical does supported and works, for example
uniqCombinedIfMergeIf, it is useful in case when the underlying
storage stores AggregateFunction(uniqCombinedIf) and in SELECT you
need to filter aggregation result based on another column for
example.
2021-09-10 21:03:24 +03:00
Azat Khuzhin
60df1e8800
Relax nested function for If-combinator check
...
Second If combinator can be useful to add condition based on another
column, when Merge combinator is applied for example (i.e.
uniqCombinedIfMergeIf(state_of_merge_that_is_stored_in_table, event_date = today())).
2021-09-10 21:03:24 +03:00
Azat Khuzhin
c4a24c7696
tests: update reference after client started printing query
2021-09-10 21:02:55 +03:00
Azat Khuzhin
09f43d21a8
client: print query on client exception only in non-interactive mode
2021-09-10 21:02:55 +03:00
Azat Khuzhin
f0f31ab8f3
client: print full query in case of server exception
2021-09-10 21:02:54 +03:00
Azat Khuzhin
af5072db50
client: print full query in case of test hints failures
2021-09-10 21:02:54 +03:00
Azat Khuzhin
b383115389
Allow values up to INT64_MAX for nth_value/lagInFrame/leadInFrame
2021-09-10 21:02:06 +03:00
Azat Khuzhin
62a29420bd
Fix signed integer overflow for nth_value() window function
...
CI report [1]:
../src/Processors/Transforms/WindowTransform.cpp:1699:54: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long' Received signal -3 Received signal Unknown signal (-3)
In query:
SELECT
number,
nth_value(number, 2147483648) OVER w,
anyOrNull(number) OVER (ORDER BY -2147483648 - intDiv(number, 1024) DESC NULLS FIRST, number DESC ROWS BETWEEN 65535 FOLLOWING AND UNBOUNDED FOLLOWING),
nth_value(number, 65537) OVER w AS firstValue,
nth_value(number, -9223372036854775808) OVER w AS secondValue,
nth_value(number, 1048576) OVER w AS thirdValue
FROM numbers(1)
WINDOW w AS (ORDER BY number DESC)
ORDER BY number DESC
[1]: https://clickhouse-test-reports.s3.yandex.net/28532/7623af5513e12aa8dfa1bee963caffe00185c31a/fuzzer_ubsan/report.html#fail1
2021-09-10 21:02:04 +03:00
Anton Popov
8999a83320
add comment
2021-09-10 20:22:28 +03:00
Anton Popov
a63887413c
fix reading of subcolumns from compact parts
2021-09-10 20:19:18 +03:00
alesapin
21af80baf5
Update docs/ru/operations/settings/merge-tree-settings.md
2021-09-10 18:33:58 +03:00
alesapin
32b61a4bb6
Update docs/ru/operations/settings/merge-tree-settings.md
2021-09-10 18:33:53 +03:00
Vladimir C
5b967d91ba
Merge pull request #28716 from olgarev/revolg-DOCSUP-13742-partitions_in_s3_table_function
2021-09-10 17:57:58 +03:00
Maksim Kita
a87ffdff92
Column default dictGet identifier fix
2021-09-10 17:41:09 +03:00
alesapin
efaf9e7583
Upload from separate dir
2021-09-10 17:38:34 +03:00
Anton Popov
0bb74f8eaf
Merge pull request #28762 from CurtizJ/fix-nested-1
...
Fix usage of nested columns with non-array columns with the same prefix [2]
2021-09-10 17:34:43 +03:00
Alexander Tokmakov
518f542c3e
fix reordering of REPLACE_RANGE and DROP PART
2021-09-10 17:32:45 +03:00
alesapin
d353fd1a3d
Remove description
2021-09-10 17:28:57 +03:00
alesapin
f14ee387d5
Fix
2021-09-10 17:28:05 +03:00
alesapin
7538f6f168
Better stylecheck
2021-09-10 17:27:03 +03:00
alesapin
bb778cc0fe
Followup
2021-09-10 15:50:24 +03:00
alesapin
03c6a31e7c
Fix
2021-09-10 15:49:52 +03:00
alesapin
e8c0f35708
Report html
2021-09-10 15:43:55 +03:00
alesapin
686f8b4f09
One more try
2021-09-10 15:40:13 +03:00
alesapin
ee32c34d9a
Something wrong
2021-09-10 15:23:04 +03:00
alesapin
1991e0a528
One more
2021-09-10 15:18:58 +03:00
alesapin
53fe271c2e
One more time
2021-09-10 15:15:31 +03:00
alesapin
499e713959
Trying other way
2021-09-10 15:12:47 +03:00
mergify[bot]
e3b3439535
Merge branch 'master' into fix-build-clang-13-2
2021-09-10 12:05:54 +00:00
Nikita Mikhaylov
56abedfb2b
Clang tidy
2021-09-10 12:04:43 +00:00
alesapin
2931810dfa
Fix
2021-09-10 14:53:34 +03:00
alesapin
b6219376e3
Trying style check
2021-09-10 14:52:21 +03:00
Maksim Kita
43102e8427
Merge pull request #28833 from kitaisreal/executable-added-option-send-chunk-header
...
Executable added option send_chunk_header
2021-09-10 14:44:34 +03:00
Nikita Mikhaylov
d7dafd6d2f
Switch performance and merge contrib
2021-09-10 11:10:45 +00:00
kssenii
939032b0eb
Slightly better
2021-09-10 13:41:41 +03:00