Commit Graph

101783 Commits

Author SHA1 Message Date
Azat Khuzhin
aa77beabc9 Fix possible "No column to rollback" logical error during INSERT into Buffer
In case of concurrent INSERT and SELECT, and memory pressure it is
possible to get this error, if you are very lucky.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-17 19:12:58 +01:00
Vitaly Baranov
86e486d051 Remove unused argument hilite in formatWithSecretHidden(). 2022-11-17 18:16:33 +01:00
Vitaly Baranov
050df6ac7f Move InDepthNodeVisitor.h back to src/Interpreters. 2022-11-17 18:16:32 +01:00
Vitaly Baranov
6e0762f1fa Move function findFunctionSecretArguments() to ASTFunction.cpp 2022-11-17 18:16:28 +01:00
Azat Khuzhin
62d01f3943 tests: simplify 02124_buffer_with_type_map_long using clickhouse-benchmark
Using clickhouse-benchmark is better since it can send way more queries,
especially if you have debug/sanitizers build.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-17 18:10:32 +01:00
Azat Khuzhin
e67fc54fc9 StorageBuffer: log exception before rollback
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-17 18:10:11 +01:00
serxa
e6270065b9 test: .sql -> .sh to avoid AST fuzzing 2022-11-17 17:01:00 +00:00
Sergei Trifonov
f2f0676bcc
Revert "Revert "S3 request per second rate throttling"" 2022-11-17 17:35:04 +01:00
Vitaly Baranov
2b9ed89721 Rename formatWithHiddenSecrets() -> formatWithSecretsHidden(). 2022-11-17 17:30:37 +01:00
serxa
1920c6267d typo 2022-11-17 16:20:21 +00:00
Alexey Milovidov
ef1278f5c4
Merge pull request #43313 from ClickHouse/pmod
`pmod`: compatibility with Spark, better documentation
2022-11-17 17:13:45 +01:00
serxa
c0d98aa749 do not reorder, ignore 4 readings, fix period 2022-11-17 15:53:47 +00:00
Mikhail f. Shiryaev
6d532d310d
Migrate cancel-lambda to python package 2022-11-17 15:55:48 +01:00
Mikhail f. Shiryaev
1fe095ae90
Explicitly return OK for python lambdas 2022-11-17 15:55:25 +01:00
Antonio Andelic
d324e8cc3e Write to first non-readonly disk 2022-11-17 14:52:35 +00:00
robot-clickhouse
926b35b7c4 Automatic style fix 2022-11-17 14:46:25 +00:00
robot-clickhouse
13e051a5de Automatic style fix 2022-11-17 13:46:21 +00:00
Antonio Andelic
d41af8b741 Check and compare content of format_version file 2022-11-17 13:41:36 +00:00
Igor Nikonov
00920b1aa9
Merge pull request #43117 from ClickHouse/igor/keeper_retries_enable_fault_injection_in_tests
Enable keeper fault injection for inserts in functional tests
2022-11-17 14:36:09 +01:00
Kseniia Sumarokova
494d0b575d
Fix tests 2022-11-17 14:33:30 +01:00
Igor Nikonov
d2d6e75d97 Fix: make test_read_only_table more stable
+ add retries to INSERT queries after keeper node restart
2022-11-17 13:26:32 +00:00
Antonio Andelic
380da87a65
Fix test 2022-11-17 14:25:32 +01:00
Alexander Tokmakov
5d959ab6a0
Merge pull request #43287 from filimonov/patch-7
Allow autoremoval of old parts if detach_not_byte_identical_parts enabled
2022-11-17 16:11:02 +03:00
Kruglov Pavel
ebdfbf43db
Adjust test 2022-11-17 13:43:49 +01:00
kssenii
5323c51176 Restrict access to system.named_collections 2022-11-17 13:40:03 +01:00
Mikhail f. Shiryaev
2e5e9a8729
Get rid of API_URL environment 2022-11-17 13:31:41 +01:00
Nikita Taranov
7beb58b0cf
Optimize merge of uniqExact without_key (#43072)
* impl for uniqExact

* rm unused (read|write)Text methods

* fix style

* small fixes

* impl for variadic uniqExact

* refactor

* fix style

* more agressive inlining

* disable if max_threads=1

* small improvements

* review fixes

* Revert "rm unused (read|write)Text methods"

This reverts commit a7e7480584.

* encapsulate is_able_to_parallelize_merge in Data

* encapsulate is_exact & argument_is_tuple in Data
2022-11-17 13:19:02 +01:00
Antonio Andelic
95c1bb977d
Merge branch 'master' into fix-merge-sample-by 2022-11-17 13:16:51 +01:00
Vladimir C
a29c5b9e3a
Merge pull request #43232 from ClickHouse/vdimir/max_map_null_totals_bug 2022-11-17 13:10:05 +01:00
Sema Checherinda
8e21d2c777
Merge pull request #43285 from CheSema/ubsan-max-ast-depth
check limits for an AST in select parser fuzzer
2022-11-17 12:59:02 +01:00
robot-clickhouse
1ad7362db7 Automatic style fix 2022-11-17 11:54:13 +00:00
Kruglov Pavel
a406557263
Merge branch 'master' into dist/insert-apply-timeouts 2022-11-17 12:51:47 +01:00
Kruglov Pavel
1b68f605a2
Merge pull request #42761 from AlfVII/fix-slow-json-extract-with-low-cardinality
Fixed slowness in JSONExtract with LowCardinality(String) tuples
2022-11-17 12:49:18 +01:00
Antonio Andelic
d5848d53cc Fix DESCRIBE for deltaLake and hudi table functions 2022-11-17 11:46:17 +00:00
Sema Checherinda
1ad48d091d
Merge pull request #43249 from Algunenano/i43247
Fix ubsan in AggregateFunctionMinMaxAny::read with high sizes
2022-11-17 12:21:05 +01:00
Raúl Marín
71d109ca1d
Merge branch 'master' into werror_base 2022-11-17 11:37:58 +01:00
Nikita Taranov
11b535d443
impl (#43283) 2022-11-17 11:17:27 +01:00
Maksim Kita
451fb07115
Merge pull request #43245 from ClickHouse/vdimir/analyzer_alias_nullptr
Fix nullptr dereference in collectScopeValidIdentifiersForTypoCorrection
2022-11-17 12:48:58 +03:00
Maksim Kita
b4bfc09e2d
Merge branch 'master' into vdimir/analyzer_alias_nullptr 2022-11-17 12:46:25 +03:00
Antonio Andelic
41b557f926 Disable DeltaLake and hudi table functions in readonly mode 2022-11-17 09:16:52 +00:00
Antonio Andelic
9af9ef3916 Fix SAMPLE BY with Merge tables 2022-11-17 08:56:51 +00:00
Alexey Milovidov
10d7ce9815 pmod: compatibility with Spark, better documentation 2022-11-17 05:41:03 +01:00
Anton Popov
c67f5e2600
Update gtest_column_dump_structure.cpp 2022-11-17 04:40:09 +01:00
Alexey Milovidov
aa855d86a1
Update CHANGELOG.md 2022-11-17 05:51:20 +03:00
JackyWoo
5a09de279c fix test 2022-11-17 10:35:01 +08:00
Alexey Milovidov
f4eb430caa Revert "remove changes"
This reverts commit 4016fd2efc.
2022-11-17 03:14:22 +01:00
avogar
266c069365 Remove performance tests for now 2022-11-17 01:09:03 +00:00
chen
cb83337586
Update test.py 2022-11-17 06:41:43 +08:00
Maksim Kita
ef7d867966
Merge pull request #43119 from kitaisreal/analyzer-aggregation-totals-rollup-crash-fix
Analyzer aggregation totals crash fix
2022-11-17 01:32:37 +03:00
Dan Roscigno
7b2cc4ed21
Merge pull request #43309 from DanRoscigno/updatedate32rangedocs
Update docs for Date32
2022-11-16 16:23:28 -05:00