Commit Graph

37952 Commits

Author SHA1 Message Date
Azat Khuzhin
78bc48236b Relax symbols that are allowed in userinfo in *domain*RFC()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-24 20:51:48 +01:00
Azat Khuzhin
066389e6ff Relax symbols that are allowed in userinfo in netloc()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-24 20:51:44 +01:00
Yakov Olkhovskiy
da326dda03 comments fix 2023-02-24 19:19:51 +00:00
Azat Khuzhin
83071164cc Fix off-by-one error in netloc()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-24 20:15:29 +01:00
Han Fei
e77dd81036 fix 2023-02-24 19:48:46 +01:00
Maksim Kita
3cff38b158
Merge pull request #46738 from ClickHouse/vdimir/analyzer_array_join_calc_twice
Do not reanalyze expressions from aggregation in projection
2023-02-24 21:25:21 +03:00
Maksim Kita
b8b399db4c
Merge pull request #46408 from ClickHouse/vdimir/cross_to_inner_analyzer_0
Add CrossToInnerJoinPass
2023-02-24 21:21:50 +03:00
Anton Popov
1fbe96d20c fix mysql protocol 2023-02-24 18:08:51 +00:00
Alexander Tokmakov
ca1c793cac
Merge pull request #46820 from Algunenano/avoid_KeeperMultiException_system_errors
Don't report ZK node exists to system.errors when a block was created concurrently by a different replica
2023-02-24 19:42:32 +03:00
Robert Schulze
6402050125
Fixup comments 2023-02-24 16:59:38 +01:00
vdimir
e4e19c90e7
Do not reanalyze expressions from aggregation in projection 2023-02-24 15:45:15 +00:00
Azat Khuzhin
86e9b131c7 Allow PREWHERE for Merge with different DEFAULT expression for column
It can be not that special to have Merge engine w/o default expression,
while MergeTree will have it. So improve PREWHERE for such kinds, and
also allow PREWHERE for DEFAULT and MATERIALIZED (since both are
physical columns on disk and this make sense).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-24 16:33:49 +01:00
Yakov Olkhovskiy
f64c5fb3fa revert Planner.cpp 2023-02-24 14:19:36 +00:00
Kruglov Pavel
ee754b9582
Merge pull request #46731 from Avogar/fix-local-json-abort
Fix possible clickhouse-local abort on JSONEachRow schema inference
2023-02-24 14:12:20 +01:00
Kruglov Pavel
944c240615
Update history 2023-02-24 14:09:58 +01:00
Alexander Gololobov
b43b98f7c0
Merge pull request #46785 from ClickHouse/fix_combined_prewhere_column
Fix combined PREWHERE column accumulated from multiple steps
2023-02-24 14:00:17 +01:00
Han Fei
e8527e720b refine regexp tree dictionary 2023-02-24 13:08:27 +01:00
Raúl Marín
7ff8d2d3d5 Don't report ZK node exists to system.errors 2023-02-24 12:36:29 +01:00
Robert Schulze
d2c49265bb
Cosmetics 2023-02-24 11:29:45 +00:00
Robert Schulze
52a088f82d
Fix new start position 2023-02-24 11:29:16 +00:00
Vladimir C
264b894b16
Remove unneeded recursion CrossToInnerJoinPass/findInTableExpression 2023-02-24 12:03:31 +01:00
Maksim Kita
ddb5944df0
Merge pull request #46729 from kitaisreal/analyzer-auto-final-on-query-fix
Analyzer AutoFinalOnQueryPass fix
2023-02-24 13:53:51 +03:00
Robert Schulze
627961d9db
More cosmetics 2023-02-24 10:14:58 +00:00
Robert Schulze
421afeeae0
Shuffle class order (and just that) 2023-02-24 10:13:35 +00:00
Robert Schulze
ef529de7db
Cosmetics 2023-02-24 10:12:47 +00:00
Robert Schulze
66616a857f
Merge pull request #46289 from jiebinn/StringSearcher
Optimize the SIMD StringSearcher by searching first two chars
2023-02-24 11:05:44 +01:00
pufit
2fbe75957d Add default column for system.settings and system.server_settings 2023-02-23 18:24:57 -05:00
Mikhail f. Shiryaev
18a20268d8
Merge pull request #46792 from ClickHouse/23.3-prepare
Update version after release
2023-02-23 23:51:28 +01:00
Robert Schulze
6906cafa99
Change to S3 cfg syntax 2023-02-23 20:04:41 +00:00
Antonio Andelic
1efba8995d Update version to 23.3.1.2537 2023-02-23 19:35:57 +00:00
Alexander Gololobov
47f51fe187
Merge pull request #46771 from ClickHouse/fix_prewhere_logging
More concise logging at trace level for PREWHERE steps
2023-02-23 20:20:30 +01:00
avogar
b8156f459f Better solution 2023-02-23 18:13:35 +00:00
Alexander Tokmakov
22c2ef1353
Merge pull request #46775 from ClickHouse/tavplubix-patch-5
Follow-up to #41534
2023-02-23 20:48:26 +03:00
Salvatore Mesoraca
0e34a4fc4e
ActionsDAG: remove unnecessary condition 2023-02-23 18:35:29 +01:00
Alexander Tokmakov
f76c42348b
Merge pull request #46402 from lzydmxy/apply_move_partition_to_all_replicas
Apply `ALTER TABLE ON CLUSTER MOVE PARTITION TO DISK|VOLUME` to all replicas.
2023-02-23 19:42:54 +03:00
avogar
eec6051a50 style 2023-02-23 16:16:08 +00:00
avogar
54622566df Add setting to change parquet version 2023-02-23 16:14:10 +00:00
Alexander Gololobov
8b22373488 Apply filter at last step if it has been accumulated from multiple steps 2023-02-23 16:58:28 +01:00
Anton Popov
955b54a6f8
Merge pull request #46753 from CurtizJ/fallback-from-async-insert
Fallback from async insert in case of large amount of data
2023-02-23 16:21:44 +01:00
Kruglov Pavel
2cc2213d92
Merge pull request #46669 from Avogar/local-totals-extremes
Fix totals and extremes with constants in clickhouse-local
2023-02-23 16:17:48 +01:00
Alexander Tokmakov
114986b0a6 Update DDLWorker.cpp 2023-02-23 15:48:55 +01:00
Robert Schulze
9914d4c591
Cosmetics 2023-02-23 14:35:45 +00:00
Robert Schulze
8d804d8823
Merge pull request #46495 from HarryLeeIBM/hlee-s390x-xxhash
Fix hash endian issue for s390x
2023-02-23 15:34:51 +01:00
vdimir
b94b446592
Style CrossToInnerJoinVisitor 2023-02-23 14:05:58 +00:00
Kruglov Pavel
cec282d3e6
Merge pull request #46725 from azat/input_format_null_as_default-improvement
Handle input_format_null_as_default for nested types
2023-02-23 14:55:05 +01:00
Kruglov Pavel
35887911e3
Merge pull request #46284 from Avogar/null-as-default-all-formats
Extend setting `input_format_null_as_default` for more formats
2023-02-23 14:48:22 +01:00
Yakov Olkhovskiy
71afa8d187
Merge pull request #46747 from ClickHouse/ip-bloom-t64
T64 codec support for IPv4
2023-02-23 08:34:34 -05:00
vdimir
bea8525234
Get rid of where_stack in CrossToInnerJoinVisitor 2023-02-23 13:20:51 +00:00
Alexander Gololobov
cbcb1a7852 More concise logging at trace level 2023-02-23 13:31:56 +01:00
Robert Schulze
6aa4e93284
Merge branch 'master' into StringSearcher 2023-02-23 11:54:05 +01:00
Kseniia Sumarokova
7e064ccbd4
Merge pull request #46667 from kssenii/hide-named-collections-under-setting
Allow to hide only values from system.named_collections while making collection visible
2023-02-23 11:44:50 +01:00
Kseniia Sumarokova
30a8eb0c2f
Merge pull request #46670 from kssenii/hide-disk-setting
Hide arguments of custom disk merge tree setting
2023-02-23 11:42:53 +01:00
Robert Schulze
7d34822c7c
Merge branch 'master' into hlee-s390x-xxhash 2023-02-23 11:29:26 +01:00
Alexey Milovidov
c0bc549e77
Merge pull request #46709 from azat/bg-pool-no-query
BackgroundSchedulePool should not have any query context
2023-02-23 10:24:46 +03:00
Alexey Milovidov
134e50ddc4
Merge branch 'master' into input_format_null_as_default-improvement 2023-02-23 10:23:06 +03:00
Alexey Milovidov
4de5399768
Merge pull request #46727 from ClickHouse/Avogar-patch-2
Better exception message during Tuple JSON deserialization
2023-02-23 10:13:18 +03:00
Alexey Milovidov
7d837eea86
Update FieldFromAST.cpp 2023-02-23 08:15:14 +03:00
Alexey Milovidov
e3f24b2b68
Merge pull request #46744 from ClickHouse/remove_unused_field
Remove unused MergeTreeReadTask::remove_prewhere_column
2023-02-23 08:02:54 +03:00
pufit
0fcda19d20 Fix description typo 2023-02-22 18:27:23 -05:00
HarryLeeIBM
776d4d9bb4 More refactoring 2023-02-22 15:19:25 -08:00
Igor Nikonov
271b72abf4
Merge pull request #46642 from ClickHouse/remove_redundant_sorting_fix
Fix: remove redundant sorting optimization
2023-02-22 23:33:15 +01:00
Anton Popov
d5864fa88e allow to fallback from async insert in case of large amount of data 2023-02-22 21:59:24 +00:00
Jiebin Sun
d6710d9b34 Align all the SSE4.1 requirement and use needle_size
Align all the SSE4.1 requirement from StringSearcher. Use needle_size
in while loop to make the code clean.

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
2023-02-22 16:15:26 -05:00
HarryLeeIBM
e979a86604 Minor change for adding constexpr 2023-02-22 12:50:46 -08:00
HarryLeeIBM
18b93fc212 More refactoring for better style 2023-02-22 12:41:00 -08:00
Robert Schulze
81bf43157f
Allow configuration of Kafka topics with periods
The Kafka table engine allows global configuration and per-Kafka-topic
configuration. The latter uses syntax <kafka_TOPIC>, e.g. for topic
"football":

  <kafka_football>
      <retry_backoff_ms>250</retry_backoff_ms>
      <fetch_min_bytes>100000</fetch_min_bytes>
  </kafka_football>

Some users had to find out the hard way that such configuration doesn't
take effect if the topic name contains a period, e.g. "sports.football".
The reason is that ClickHouse configuration framework already uses
periods as level separators to descend the configuration hierarchy.
(Besides that, per-topic configuration at the same level as global
configuration could be considered ugly.)

Note that Kafka topics may contain characters "a-zA-Z0-9._-" (*) and
a tree-like topic organization using periods is quite common in
practice.

This PR deprecates the existing per-topic configuration syntax (but
continues to support it for backward compat) and introduces a new
per-topic configuration syntax below the global Kafka configuration of
the form:

<kafka>
   <topic name="football">
       <retry_backoff_ms>250</retry_backoff_ms>
       <fetch_min_bytes>100000</fetch_min_bytes>
   </topic>
</kafka>

The period restriction doesn't apply to XML attributes, so <topic
name="sports.football"> will work. Also, everything Kafka-related is
below <kafka>.

Considered but rejected alternatives:
- Extending Poco ConfigurationView with custom separators (e.g."/"
  instead of "."). Won't work easily because ConfigurationView only
  builds a path but defers descending the configuration tree to the
  normal configuration classes.
- Reloading the configuration file in StorageKafka (instead of reading
  the loaded file) but with a custom separator. This mode is supported
  by XML configuration. Too ugly and error-prone since the true
  configuration is composed from multiple configuration files.

(*) https://stackoverflow.com/a/37067544
2023-02-22 20:35:09 +00:00
Yakov Olkhovskiy
fadbeb8ebd T64 codec support for IPv4 2023-02-22 19:25:48 +00:00
Yakov Olkhovskiy
99095446af review suggestions 2023-02-22 17:22:13 +00:00
Jiebin Sun
1f62135ba7 Make the optimized SIMD StringSearcher clean
This patch has revised the name of value and added comments to make
the SIMD StringSearcher clean and easy to understand based on pull
request 46289.

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
2023-02-22 12:18:21 -05:00
Jiebin Sun
d220e7f4fc Optimize the SIMD StringSearcher if needle_size is large
This patch offers an additional optimization when the needle_size is
large. If the needle_size is larger than the haystack_size, there is
no need to search any more.

The optimized SIMD StringSearcher has led at most 41.7% than Volnitsky
algorithm when the needle_size is less than 21, and fallen behind only
about 1% even when the needle_size is bigger than 50, which is not
considered as a common case.

Test platform: ICX server
Test query: SELECT COUNT(*) FROM hits WHERE URL LIKE '%{Needle}%';

Needle_size	opt/baseline
5		141.7%
6		129.4%
8		118.5%
9		112.3%
10		107.4%
14		103.4%
20		100.2%
21		100.7%
51		99.0%

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
2023-02-22 11:58:17 -05:00
Jiebin Sun
f5a6a86dec Optimize the SIMD StringSearcher by searching first two chars
This patch offers the optimized SIMD StringSearcher by searching the first
and second chars together rather than only the first char, which will result
in big performance gain. The patch also provides a quick path when the needle
size is 1.

With this patch, I have tested the 43 queries in clickbench on ICX server.
Query 20 has got 35% performance gain. Other StringSearcher related queries
have got around 10% performance improvement. And the overall geomean of all
the queries has got 4.1% performance gain.

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
2023-02-22 11:55:30 -05:00
Alexander Gololobov
67dcd9694c Remove unused MergeTreeReadTask::remove_prewhere_column 2023-02-22 17:49:22 +01:00
avogar
e0931dbdbe Enable input_format_json_ignore_unknown_keys_in_named_tuple by default 2023-02-22 16:40:53 +00:00
pufit
8e7533fa57
Merge pull request #46564 from AVMusorin/update-time-distribution-queue
Added `last_exception_time` column into distribution_queue table
2023-02-22 10:43:35 -05:00
avogar
986dd72870 Fix possible clickhouse-local abort on JSONEachRow schema inference 2023-02-22 15:18:13 +00:00
Maksim Kita
40d2798cb4 Analyzer AutoFinalOnQueryPass fix 2023-02-22 15:51:13 +01:00
Azat Khuzhin
9ab4944b9e Handle input_format_null_as_default for nested types
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-22 15:15:52 +01:00
Kruglov Pavel
e433ecc18f
Better exception message during Tuple JSON deserialization 2023-02-22 14:37:55 +01:00
Yakov Olkhovskiy
620071bb42 fix 2023-02-22 13:33:40 +00:00
Yakov Olkhovskiy
ea244e5390 revert getViewContext 2023-02-22 13:28:45 +00:00
kssenii
c4761d6cc6 Fix checks 2023-02-22 14:27:43 +01:00
Raúl Marín
3ea20ebbf0 Merge remote-tracking branch 'blessed/master' into fix_recurring_alias 2023-02-22 14:21:12 +01:00
Kruglov Pavel
3ba3fdbfa3
Merge pull request #46607 from kssenii/delay-loading-of-named-collections
Do not load named collections on server startup (on first access instead)
2023-02-22 13:22:34 +01:00
Dmitry Novik
67469ad46b
Merge pull request #46622 from ClickHouse/async-insert-memory-fix
Fix MemoryTracker counters for async inserts
2023-02-22 12:27:05 +01:00
flynn
678e4250cd
Fix incorrect predicate push down with grouping sets (#46151) 2023-02-22 11:54:19 +01:00
vdimir
d4bb84e68b
make clang-tidy happy about CrossToInnerJoinPass 2023-02-22 09:56:10 +00:00
Azat Khuzhin
2ca47a6eb6 BackgroundSchedulePool should not have any query context
BackgroundSchedulePool is used for some peridic jobs, not from the query
context, i.e. flush of Buffer table.

And for such jobs there cannot be any query context, and more
importantly it will not work correctly since that query_context will
eventually expires.

And this is the reason of this failures [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/46668/015991bc5e20c787851050c2eaa13f0fef3aac00/stateless_tests_flaky_check__asan_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-22 10:50:51 +01:00
Alexey Milovidov
5788deeadd
Merge pull request #46308 from ClickHouse/keeper-retries-by-default
Enable retries for INSERT by default in case of ZooKeeper session loss
2023-02-22 07:57:40 +03:00
HarryLeeIBM
ef33d11e3f Refactor code according to code review 2023-02-21 18:40:11 -08:00
AVMusorin
0bf0fe488e
added last_exception_time column into distribution_queue table 2023-02-21 23:46:57 +01:00
Yakov Olkhovskiy
cf493d1dfb replace settings limit and offset with corresponding expression nodes 2023-02-21 22:36:02 +00:00
Dmitry Novik
ad1e5f3918 Review fixes 2023-02-21 22:06:17 +00:00
Dmitry Novik
8232966b9e Add a comment 2023-02-21 22:02:23 +00:00
Alexander Gololobov
b61bb56a5a
Merge pull request #46611 from ClickHouse/prewhere_progress
Fix reporting progress when rows are filtered in PREWHERE
2023-02-21 21:27:56 +01:00
kssenii
1f0ab8d427 Hide disk setting arguemtns 2023-02-21 19:24:01 +01:00
Vitaly Baranov
49330b373c
Merge pull request #45982 from ClickHouse/Cluster_state_for_disallow_concurrent_backup_restore
Use cluster state data to check concurrent backup/restore
2023-02-21 19:18:18 +01:00
avogar
bf9f1663bb Fix totals and extremes with constants in clickhouse-local 2023-02-21 18:15:16 +00:00
vdimir
ba04a3cc1f
Fixes for CrossToInnerPass 2023-02-21 17:26:26 +00:00
vdimir
07158e6253
Add CrossToInnerJoinPass 2023-02-21 17:26:19 +00:00
kssenii
9a7c71b78e Allow to hide only values from system.named_collections 2023-02-21 18:07:57 +01:00
Igor Nikonov
bf05082984
Merge branch 'master' into keeper-retries-by-default 2023-02-21 17:59:55 +01:00
Igor Nikonov
807a49021c Merge remote-tracking branch 'origin/master' into remove_redundant_sorting_fix 2023-02-21 16:59:16 +00:00
Alexey Milovidov
848286eca7
Merge pull request #40945 from arthurpassos/add_select_final_mt_setting
Add user setting to force select final at query level
2023-02-21 19:58:45 +03:00
Igor Nikonov
45b1b66fd8 Remove unnecessary comment 2023-02-21 16:58:45 +00:00
Kruglov Pavel
ef0d6becba
Merge branch 'master' into null-as-default-all-formats 2023-02-21 16:52:39 +01:00
Kseniia Sumarokova
655e7f29f7
Merge pull request #46595 from kssenii/update-rabbit-producer
Fix rabbitmq test
2023-02-21 16:18:55 +01:00
Salvatore Mesoraca
c83583e46b
ActionsDAG: do not change result of and() during optimization
Previously `and` results were inconsistent.
Some optimizations can try to simplify and completely remove a
single-argument `and`, replacing it with a cast to UInt8.
This works well for all numeric types except floats.
A float passed to `and` is normally interpreted as `bool` and
values between 0 and 1 are treated as 1.
The same value cast to an integer type will be truncated to 0.
2023-02-21 15:39:44 +01:00
Alexander Gololobov
5354b0d069
Merge pull request #46140 from ClickHouse/split_prewhere_dag
Split PREWHERE DAG into multiple read steps
2023-02-21 14:37:09 +01:00
Alexander Tokmakov
b5e6d74d48
More interesting settings for Stress Tests (#41534)
* Update stress

* fix

---------

Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-02-21 15:36:23 +03:00
Kseniia Sumarokova
843092e655
Merge pull request #46640 from ClickHouse/nickitat-patch-10
Fix typo in read prefetch
2023-02-21 13:32:49 +01:00
Kruglov Pavel
36870f0801
Merge pull request #46569 from ClickHouse/add-bug
Fix processing Const(LowCardinality) in arrayMap
2023-02-21 13:11:06 +01:00
Kruglov Pavel
2924e8e802
Merge pull request #46631 from bigo-sg/json_array_length
Add new function JSONArrayLength
2023-02-21 12:50:27 +01:00
Kseniia Sumarokova
1f3be929f7
Update ReadFromMergeTree.cpp 2023-02-21 12:50:26 +01:00
Igor Nikonov
2dfc0d008b Fix: remove redundant sorting optimization
+ incorrect sorting step removal in case of parent step has more than 1
  children
2023-02-21 11:48:28 +00:00
Nikita Taranov
593de3416b
Fix typo in read prefetch 2023-02-21 12:27:08 +01:00
Kseniia Sumarokova
09a979f106
Merge branch 'master' into update-rabbit-producer 2023-02-21 11:50:30 +01:00
Vladimir C
a791250a4a
Merge pull request #38614 from bharatnc/ncb/profile-events-partlog 2023-02-21 11:06:44 +01:00
Yakov Olkhovskiy
ce2b044532 analyzer - apply limit and offset settings 2023-02-21 03:29:14 +00:00
taiyang-li
fcd3e44297 finish dev 2023-02-21 10:55:13 +08:00
Alexey Milovidov
67d808f49a Add settings changes history 2023-02-21 00:30:38 +01:00
Alexey Milovidov
4d0ba39e7f Merge branch 'master' into keeper-retries-by-default 2023-02-21 00:27:37 +01:00
Kseniia Sumarokova
24d0490ef3
Merge branch 'master' into delay-loading-of-named-collections 2023-02-21 00:24:18 +01:00
Kruglov Pavel
b0424c1021
Merge pull request #46171 from Avogar/insert-null-as-default
Use default of column type in `insert_null_as_default` if column DEFAULT values is not specified
2023-02-20 21:45:02 +01:00
avogar
a568704d63 Fix avro 2023-02-20 20:43:28 +00:00
Kruglov Pavel
9866ecfe8b
Merge branch 'master' into null-as-default-all-formats 2023-02-20 20:49:30 +01:00
Arthur Passos
4f2fcf763b
Merge branch 'master' into add_select_final_mt_setting 2023-02-20 16:22:14 -03:00
Dmitry Novik
3c4c527bce Fix MemoryTracker counters for async inserts 2023-02-20 18:40:57 +00: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
Raúl Marín
87a4fb0252 Update aliases when clone happens 2023-02-20 19:08:54 +01: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
avogar
42ae0582d3 Try to use parquet v2 instead of v1 in output format 2023-02-20 17:46:54 +00: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
Alexander Gololobov
c84a64d22f Return chunks with 0 rows from MergeTreeSource to report progress when rows are filtered in PREWHERE 2023-02-20 17:35:01 +01:00
Raúl Marín
2273acaa30 Fix incorrect alias recursion in QueryNormalizer 2023-02-20 16:51:52 +01:00
kssenii
9d16205c8a Load named collections on first access 2023-02-20 16:33:45 +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
avogar
1539f812b3 Fix processing Const(LowCardinality) in arrayMap 2023-02-20 13:48:52 +00:00
kssenii
80a0aa1327 Merge remote-tracking branch 'upstream/master' into return-materialized-postrgesql-tests-back 2023-02-20 14:37:39 +01:00
kssenii
361678ad73 rabbitmq-test-fix 2023-02-20 14:16:40 +01:00
vdimir
78c35ffc45
finally fix attachProfileCountersScope 2023-02-20 12:28:44 +00: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
pufit
ec49fbec23
Update src/Core/ServerSettings.h
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-02-19 16:49:01 -05:00
Arthur Passos
3d9b23e5f3
Merge branch 'master' into add_select_final_mt_setting 2023-02-19 15:01:41 -03: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