Commit Graph

104929 Commits

Author SHA1 Message Date
Ilya Yatsishin
2703b47d31
Merge pull request #44942 from vitlibar/fix-memory-leak-in-aws-init
Fix memory leak in Aws::InitAPI
2023-01-06 12:12:46 +01:00
Han Fei
cac7f65b40 fix build 2023-01-06 11:49:34 +01:00
Alexey Milovidov
a708d24e9a
Update report.py 2023-01-06 06:56:27 +03:00
Alexey Milovidov
5ac019a6d3
Avoid flickering on scroll 2023-01-06 06:53:55 +03:00
Alexey Milovidov
d784c6d201
Update report.py 2023-01-06 06:28:51 +03:00
Alexey Milovidov
b88be9df8c
Merge pull request #44956 from ClickHouse/fix_read_result_consistency_check_on_exception
Do not check read result consistency when unwinding
2023-01-06 06:22:42 +03:00
Alexey Milovidov
c6071f247a Hipster's HTML 2023-01-06 04:19:10 +01:00
Mingliang Pan
c98e52e9ee
fix alter table ttl error when this table has light weight delete mask file (_row_exists.bin)
After  applying light weight delete to MergeTree table,  a delete mask file (_row_exists.bin) will appears in the wide part directory.  Then we execute "ALTER TABLE xxxxxx  MODIFY TTL xxxx" to this table, clickhouse will report error in log message:   "NOT_FOUND_COLUMN_IN_BLOCK, Not found column _row_exists  in block".   
The root cause of this bug is that:  in MutationsInterpreter::prepare(), when constructing the select columns,  it does not include the system columns, but only physic columns (not include _row_exists.bin).  however the output block of the execute pipeline contains _row_exists column, then error occurs.

this bug is severe, because mutate TTL will continuously to execute, never end. the only workaround is to truncate the whole table.

the fix is to return all columns including row_exists when executing alter table TTL query
2023-01-06 10:58:34 +08:00
Alexey Milovidov
1b1a13a9ee
Merge pull request #44957 from vitlibar/increase-log-level-of-tables-dependency-graph
Up the log level of tables dependencies graphs
2023-01-06 05:46:39 +03:00
Alexey Milovidov
c1f6555b32
Merge pull request #44755 from ClickHouse/44736_Fix_logical_error_for_qualified_asterisk
Fix for qualified asterisks with alias table name and column transformer
2023-01-06 03:28:22 +03:00
Alexey Milovidov
663cc5fcc1
Merge pull request #44886 from eherrerosj/patch-1
fix-typo
2023-01-06 03:23:42 +03:00
Alexey Milovidov
a205b41c56
Merge pull request #44947 from Algunenano/background_pool_size_logical
Change error code on invalid background_pool_size config
2023-01-06 03:19:40 +03:00
Alexey Milovidov
08ebdc9b82
Merge pull request #44903 from ClickHouse/less-flaky-test-concurrent-queries
Fix flaky `test_concurrent_queries_restriction_by_query_kind`
2023-01-06 03:18:28 +03:00
Vitaly Baranov
8a5a2f5b3d Up the log level of tables dependencies graphs. 2023-01-06 00:46:49 +01:00
Vitaly Baranov
239734ceb6 Fix memory leak in Aws::InitAPI. 2023-01-06 00:40:18 +01:00
Alexander Gololobov
1b31b8bb91 Do not check read result consistency when unwinding 2023-01-06 00:26:08 +01:00
Robert Schulze
9f8b0bf149
Merge pull request #44948 from ClickHouse/fix-TraceCollector-fix
Fix exception fix in TraceCollector dtor
2023-01-05 23:16:40 +01:00
Han Fei
744084375c fix build 2023-01-05 22:27:45 +01:00
Kseniia Sumarokova
a2a9c7dec5
Update TableFunctionURL.cpp 2023-01-05 21:35:52 +01:00
Alexander Gololobov
102dd8bd45
Merge branch 'master' into lwd_mutation_always_sync 2023-01-05 21:20:14 +01:00
Yakov Olkhovskiy
1be48f706b
Merge pull request #43706 from ClibMouse/s390x_crc32
s390x weakhash32 support
2023-01-05 14:45:20 -05:00
Alexey Milovidov
36f4d30820 Fix GitHub 2023-01-05 19:28:58 +01:00
Dmitry Novik
ebead611b6
Merge branch 'master' into cleanup-resolved-function 2023-01-05 19:27:08 +01:00
Robert Schulze
9ef7dac0b5
Fix exception fix in TraceCollector dtor
Cf. #44758

Function try blocks in ctors/dtors implicitly rethrow, making them
more or less useless.

https://www.onlinegdb.com/pCKQA0wTIN (click RUN)

https://stackoverflow.com/questions/5612486/when-is-a-function-try-block-useful/5612508#5612508

Fortunately, this seems the only place like that in the codebase.
2023-01-05 18:27:07 +00:00
Alexey Milovidov
e54d30a812
Merge branch 'master' into modern-tools 2023-01-05 21:24:47 +03:00
Raúl Marín
b0715ec5eb Change error code on invalid background_pool_size config 2023-01-05 18:47:02 +01:00
Nikolai Kochetov
078f4d947a
Merge pull request #44916 from ClickHouse/fast-fix-incorrect-insert-delay
Fast fix: force upper bound for time to delay INSERT
2023-01-05 18:05:03 +01:00
Mikhail f. Shiryaev
fb1e7fcd7c
Merge pull request #44520 from ClickHouse/lambda-workflow-jobs
Add the lambda to collect data for workflow_jobs
2023-01-05 18:02:23 +01:00
Nikolai Kochetov
f629425f96
Merge pull request #44447 from ClickHouse/42637_Disallow_arrayJoin_in_mutations
Disallow arrayjoin in mutations
2023-01-05 18:00:16 +01:00
Dan Roscigno
adfc4d4a23
Merge pull request #44945 from DanRoscigno/tolastday
add toLastDayOfMonth to docs
2023-01-05 11:53:40 -05:00
Dan Roscigno
9444dae34e
Merge pull request #44941 from DanRoscigno/add-settings
add additional table filters setting
2023-01-05 11:52:59 -05:00
Han Fei
ae5ee8194b fix check style 2023-01-05 17:52:05 +01:00
Dan Roscigno
5ba6851629
Merge pull request #44943 from DanRoscigno/pmod-docs
updater positiveModulo  docs
2023-01-05 11:51:21 -05:00
Han Fei
f2a9eea995 write docs and optimize regex compile 2023-01-05 17:38:01 +01:00
DanRoscigno
9e5c8acd92 add toLastDayOfMonth to docs 2023-01-05 11:37:05 -05:00
robot-clickhouse
62a9b33bbb Automatic style fix 2023-01-05 16:29:58 +00:00
Ilya Yatsishin
a28d6fb490
Merge pull request #44848 from qoega/green-ci-2
Pre-pulling images for integration tests to detect broken infrastructure earlier
2023-01-05 17:29:39 +01:00
Nikolai Kochetov
1bbf8c84a4
Update InterpreterSelectWithUnionQuery.cpp 2023-01-05 17:29:16 +01:00
Nikolai Kochetov
90f3f5789f Speedup a bit. 2023-01-05 16:23:49 +00:00
DanRoscigno
4cba7fc958 add aliases for positiveModulo to docs 2023-01-05 11:10:20 -05:00
DanRoscigno
273ad90d1d add additional table filters setting 2023-01-05 10:47:18 -05:00
Anton Popov
4447afb14d
Revert "If user only need virtual columns, we don't need to initialize ReadBufferFromS3" 2023-01-05 16:38:20 +01:00
Nikolai Kochetov
dc5009d401 Stop merges to aviod a race between merge and freeze. 2023-01-05 15:28:56 +00:00
Antonio Andelic
9b3314a931 Fix deadlock in Changelog flush 2023-01-05 14:51:05 +00:00
Yatsishin Ilya
1b03a60e43 Do not report status if we failed to pull images. 2023-01-05 13:53:45 +00:00
Nikolai Kochetov
9fd56e100a Add a comment. 2023-01-05 13:20:47 +00:00
Igor Nikonov
2a105d1862 Fix stupid mistake - max() -> min() 2023-01-05 12:38:27 +00:00
Igor Nikonov
db46267a95 Fast fix: force upper bound for time to delay INSERT 2023-01-05 12:38:27 +00:00
Ilya Yatsishin
0a60fe6e60
Merge pull request #44895 from Algunenano/ignore_label_issues_on_hwmon
Ignore hwmon sensors on label read issues
2023-01-05 12:43:37 +01:00
Ilya Yatsishin
c5f01a653c
Merge pull request #44880 from qoega/green-ci-4
Rewrite test_postgres_protocol test
2023-01-05 12:34:33 +01:00