Commit Graph

37589 Commits

Author SHA1 Message Date
Kruglov Pavel
9866ecfe8b
Merge branch 'master' into null-as-default-all-formats 2023-02-20 20:49:30 +01:00
Maksim Kita
4d23f74a53
Merge pull request #46494 from kitaisreal/query-plan-filter-push-down-sorting-fix
Planner filter push down optimization fix
2023-02-20 21:36:34 +03:00
Kseniia Sumarokova
47604ad77e
Merge pull request #46106 from kssenii/return-materialized-postrgesql-tests-back
Enable disabled MaterializedPostgreSQL tests back in CI
2023-02-20 19:04:58 +01:00
SmitaRKulkarni
8ebbd03553
Merge pull request #46583 from ClickHouse/Support_parameterized_view_with_in_clause
Support for IN clause in parameterized views
2023-02-20 18:26:31 +01:00
Alexey Milovidov
5ef159fa10
Merge pull request #46565 from ClickHouse/remove-pvs-studio
Remove PVS-Studio
2023-02-20 17:10:53 +03:00
kssenii
80a0aa1327 Merge remote-tracking branch 'upstream/master' into return-materialized-postrgesql-tests-back 2023-02-20 14:37:39 +01:00
SmitaRKulkarni
90834d4aa5
Merge pull request #46487 from ClickHouse/45185_Inner_join_with_where
Updated to not clear on_expression from table_join
2023-02-20 11:38:31 +01:00
Robert Schulze
135170b27d
Merge pull request #44973 from ClickHouse/remove-smp-limitation
Slightly modify the detection of the number of CPU cores
2023-02-20 11:22:39 +01:00
Smita Kulkarni
e5e1027637 Support for IN clause in parameterized views
Implementation:
* In case of parameterized views, the IN clause cannot be evaluated as constant expression during CREATE VIEW, added a check to ignore this step in case of parameterized view.
* If parmeters are not in IN clause, we continue to evaluate it as constant expression.
2023-02-20 09:48:55 +01:00
Yakov Olkhovskiy
d9bc4bcccb
Merge pull request #46296 from jh0x/feature-array-partial-sort
Add arrayPartialSort and arrayPartialReverseSort
2023-02-20 02:49:38 -05:00
Nikolay Degterinsky
f9dac6d4cf
Fix ASTAsterisk::clone() 2023-02-20 00:26:14 +01:00
Alexey Milovidov
d8cda3dbb8 Remove PVS-Studio 2023-02-19 23:30:05 +01:00
Han Fei
06e679d6cd
Merge pull request #46549 from hanfei1991/hanfei/fix-async-insert-query-num-setting
enable async-insert-max-query-number only if async_insert_deduplicate
2023-02-19 17:53:16 +01:00
Alexey Milovidov
17992b178a
Merge pull request #45364 from nickitat/aggr_partitions_independently
Add option to aggregate partitions independently
2023-02-19 17:44:18 +03:00
Alexey Milovidov
fa7f7e1d3a
Merge pull request #37870 from zzachimed/Aggregate_Sum_AVX512
Add avx512 support for Aggregate Sum, function unary arithmetic, func…
2023-02-19 17:21:16 +03:00
Alexey Milovidov
1adfbac19f
Merge pull request #37894 from yaqi-zhao/lower_upper
add avx512 support for Lower/Upper function
2023-02-19 17:18:10 +03:00
Yakov Olkhovskiy
2b9ce319b8
remove unnecessary include 2023-02-19 08:37:51 -05:00
Alexey Milovidov
5359dcc014
Merge pull request #46554 from ucasfl/iceberg-fix
fix build without avro
2023-02-19 14:35:29 +03:00
Maksim Kita
72719584ea Planner filter push down optimization fix 2023-02-19 12:02:59 +01:00
Maksim Kita
6dffe52e68
Merge pull request #46471 from kitaisreal/analyzer-planner-fixes-before-enable-by-default
Analyzer planner fixes before enable by default
2023-02-19 13:49:18 +03:00
Alexander Gololobov
1b8cae8ee5
Merge pull request #46529 from ClickHouse/regexp_extract
Merge #46469
2023-02-19 10:28:35 +01:00
flynn
7b4fbf33b3 fix 2023-02-19 03:47:14 +00:00
Alexey Milovidov
417158f59f
Merge branch 'master' into lower_upper 2023-02-19 04:05:10 +03:00
Alexey Milovidov
a22f0eee2a
Merge branch 'master' into Aggregate_Sum_AVX512 2023-02-19 04:03:45 +03:00
Alexander Gololobov
1480fce688 Removed extra identation 2023-02-18 21:41:30 +01:00
Alexander Gololobov
91b15caa8b Simplify arguments validation 2023-02-18 21:41:18 +01:00
Maksim Kita
7cc10008e3 Fixed build 2023-02-18 20:34:12 +01:00
flynn
177261a5ac fix typo 2023-02-18 17:34:37 +00:00
flynn
830398f0bd fix build without avro
fix
2023-02-18 17:32:35 +00:00
Joanna Hulboj
cae064822c FIXUP: FunctionArrayMapped - Simpler arg passing for check/exec 2023-02-18 17:20:57 +00:00
Maksim Kita
cbd961de98 Fixed code review issues 2023-02-18 17:06:00 +01:00
Nikolay Degterinsky
f93aae80b8
Merge pull request #46407 from evillique/parameters-rename-query
Add parameterized RENAME queries
2023-02-18 16:04:55 +01:00
Alexey Milovidov
f073cd470f
Merge pull request #46478 from ClickHouse/fix_test_store_cleanup
Fix some flaky integration tests
2023-02-18 17:33:02 +03:00
Nikita Taranov
eee39b7bd1 bring back lost lines 2023-02-18 14:30:49 +00:00
Nikita Taranov
ef61c22167 another review fixes 2023-02-18 14:26:24 +00:00
Alexey Milovidov
46e23d7eee
Merge pull request #46552 from azat/state-reset-nothrow
Remove extra try/catch for QueryState/LocalQueryState reset
2023-02-18 17:20:03 +03:00
Nikita Taranov
f70044f34b Merge branch 'master' into aggr_partitions_independently 2023-02-18 13:19:05 +00:00
Joanna Hulboj
c2f5331a2d Revert "FIXUP: Into FunctionArrayMapped: Simplify the dispatch in case of positional params"
This reverts commit d48bdcc754.
2023-02-18 12:54:52 +00:00
Kseniia Sumarokova
b0ea047e76
Merge pull request #46533 from kssenii/fix-disk-setting
Allow `disk` merge tree setting in query to override config merge tree setting `storage_policy`
2023-02-18 12:36:54 +01:00
Azat Khuzhin
6f7b6e9206 Remove extra try/catch for QueryState reset
It was possible back when destuctors may throw, in a pre C++11.

I've found one place where it may throw from 2012:

    ~UnionBlockInputStream()
    {
        ...
        if (exception && !std::uncaught_exception())
            exception->rethrow();
        ...
    }

Refs: 8a053aba54
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-18 10:55:15 +01:00
Azat Khuzhin
f9cd66db36 Remove extra try/catch for LocalQueryState reset
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-18 10:55:09 +01:00
Han Fei
b76df1401e enable async-insert-max-query-number only if async_insert_deduplicate is true 2023-02-18 01:08:28 +01:00
Kseniia Sumarokova
bda4c94f66
Merge pull request #45384 from ucasfl/iceberg 2023-02-17 23:38:24 +01:00
Igor Nikonov
0bad474fb5
Merge pull request #44176 from ClickHouse/igor/remove_redundant_distinct
Remove redundant DISTINCT
2023-02-17 22:07:03 +01:00
Igor Nikonov
eca2f2866e
Merge pull request #46493 from ClickHouse/fix-crash-with-distinct
Fix constants in the result of MergingSortedAlgorithm.
2023-02-17 22:05:24 +01:00
Kseniia Sumarokova
a0b28edd46
Merge pull request #46521 from kssenii/fix-stress-test-logical-errors
Fix stress test
2023-02-17 21:01:20 +01:00
Dmitry Novik
197116dfeb
Merge pull request #46451 from ClickHouse/copy-s3-file-fix
Wait for tasks finish when scheduler failed
2023-02-17 20:11:23 +01:00
Alexander Gololobov
3d9b3c1b76 Fix for read buffer overrun 2023-02-17 19:38:43 +01:00
Alexander Tokmakov
53b6fd79fb
Update DatabaseCatalog.cpp 2023-02-17 21:18:49 +03:00
Alexander Tokmakov
3457b68dcc fix 2023-02-17 17:57:49 +01:00