Kseniia Sumarokova
5e86d6c55b
Merge pull request #38360 from kssenii/add-check-materialized-pg
...
Fix possible `Invalid number of rows in Chunk` in materialized pg
2022-06-24 19:33:15 +02:00
Kseniia Sumarokova
d52dc32010
Update fetchPostgreSQLTableStructure.cpp
2022-06-24 19:31:41 +02:00
alesapin
2bc4dc4a1d
Fix accident change
2022-06-24 18:38:43 +02:00
alesapin
d963f262f8
Fix style
2022-06-24 17:43:18 +02:00
Alexander Tokmakov
59a14d2a50
add docs
2022-06-24 17:34:41 +02:00
alesapin
f685cf2268
Fix comment
2022-06-24 17:33:43 +02:00
alesapin
011d58d7a0
Simplify more
2022-06-24 17:19:59 +02:00
Alexander Tokmakov
379fecf7f9
try suppress failures with MaterializedPostgreSQL
2022-06-24 17:15:15 +02:00
Raúl Marín
072f64c800
Improvements based on review
2022-06-24 16:54:47 +02:00
Anton Popov
5e89a7025c
Merge pull request #38279 from kssenii/add-cache-command
...
Add describe query to show cache settings from config, add show caches query
2022-06-24 16:31:12 +02:00
Kruglov Pavel
0201d62090
Merge pull request #38173 from Avogar/fix-short-circuit
...
Fix bug with nested short-circuit functions
2022-06-24 16:04:17 +02:00
mergify[bot]
92eff431be
Merge branch 'master' into overcommit-deadlock-fix
2022-06-24 13:54:11 +00:00
alesapin
612c4571d5
Split method into smaller
2022-06-24 15:41:09 +02:00
mergify[bot]
53b1d2ca95
Merge branch 'master' into merge_tree_reader
2022-06-24 13:39:00 +00:00
Alexander Tokmakov
b75828768b
Merge branch 'master' into cleanup_garbage_in_store_dir
2022-06-24 15:32:42 +02:00
alesapin
7517e1f4d5
Remove some complexity
2022-06-24 15:24:02 +02:00
mergify[bot]
36b93772b9
Merge branch 'master' into merge_tree_reader
2022-06-24 13:22:53 +00:00
alesapin
c57e07cb49
Style
2022-06-24 14:51:47 +02:00
alesapin
37310dc9df
Simpler
2022-06-24 14:10:15 +02:00
alesapin
36b810b076
Remove unused parameter
2022-06-24 13:42:36 +02:00
alesapin
af1a9d18ab
Remove transaction argument
2022-06-24 13:34:00 +02:00
alesapin
9910395823
Simplify method signature
2022-06-24 13:19:29 +02:00
Alexander Tokmakov
cfe0e434e5
Revert "Add support for io_uring read method"
2022-06-24 12:19:41 +03:00
Robert Schulze
2c828338f4
Replace hyperscan by vectorscan
...
This commit migrates ClickHouse to Vectorscan. The first 10 min of
[0] explain the reasons for it.
(*) Addresses (but does not resolve) #38046
(*) Config parameter names (e.g. "max_hyperscan_regexp_length") are
preserved for compatibility. Likewise, error codes (e.g.
"ErrorCodes::HYPERSCAN_CANNOT_SCAN_TEXT") and function/class names (e.g.
"HyperscanDeleter") are preserved as vectorscan aims to be a drop-in
replacement.
[0] https://www.youtube.com/watch?v=KlZWmmflW6M
2022-06-24 10:47:52 +02:00
Andrey Zvonov
c18d09a617
Merge branch 'master' into zvonand-base58
2022-06-24 07:05:49 +03:00
Alexey Milovidov
774de099cb
Merge pull request #38331 from excitoon/patch-18
...
Fixed comments
2022-06-24 04:33:40 +03:00
kssenii
6cb1d60883
Fix
2022-06-24 03:24:54 +02:00
kssenii
a3823c67ee
Fix
2022-06-24 02:44:22 +02:00
mergify[bot]
a0eb831cd1
Merge branch 'master' into overcommit-deadlock-fix
2022-06-23 23:02:59 +00:00
Alexey Milovidov
812ab9bd6b
Merge pull request #36103 from sauliusvl/uring
...
Add support for io_uring read method
2022-06-24 00:34:29 +03:00
Alexander Tokmakov
3f4a09478d
Revert "Fix optimization in PartialSortingTransform (SIGSEGV and possible incorrect result)"
2022-06-23 23:01:11 +03:00
kssenii
bc9b56096f
Fix
2022-06-23 21:52:57 +02:00
Alexander Tokmakov
74f38710a8
Merge branch 'master' into cleanup_garbage_in_store_dir
2022-06-23 21:43:28 +02:00
kssenii
6fbd49f554
Merge master
2022-06-23 21:40:01 +02:00
zvonand
dd8203038f
updated exception handling
2022-06-24 00:36:57 +05:00
Kseniia Sumarokova
40a4742f93
Merge pull request #38319 from kssenii/fix-access-for-drop-fs-cache
...
Add access check and on cluster option for system drop fs cache
2022-06-23 20:56:44 +02:00
Vladimir Chebotarev
3333dc2da1
Update S3Capabilities.h
2022-06-23 20:59:44 +03:00
Alexey Milovidov
e7c8023ef5
Merge pull request #38201 from ClickHouse/revert-35914-FIPS_compliance
...
Revert "ClickHouse's boringssl module updated to the official version of the FIPS compliant."
2022-06-23 20:22:03 +03:00
kssenii
468c98ff42
Better
2022-06-23 17:46:27 +02:00
mergify[bot]
174d8577fa
Merge branch 'master' into merge_tree_reader
2022-06-23 15:16:51 +00:00
Maksim Kita
b7439a36f6
Merge pull request #38324 from azat/fix-partial-sort
...
Fix optimization in PartialSortingTransform (SIGSEGV and possible incorrect result)
2022-06-23 16:08:52 +02:00
Raúl Marín
7f7d082fb3
Add implicit_transaction setting
2022-06-23 15:23:37 +02:00
Roman Vasin
cb748cd8ec
Fix code style in KerberosInit
2022-06-23 16:11:48 +03:00
Kseniia Sumarokova
2b883c2c01
Merge pull request #38285 from kssenii/extract-some-diff
...
Extract some diff from #36171
2022-06-23 14:38:03 +02:00
mergify[bot]
234f0c6399
Merge branch 'master' into revert-35914-FIPS_compliance
2022-06-23 12:06:17 +00:00
Antonio Andelic
b2776e3dcd
Merge pull request #38056 from azat/global-join-cte-fix
...
Fix "Missing columns" for GLOBAL JOIN with CTE w/o alias
2022-06-23 14:05:50 +02:00
zvonand
946117ec89
Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-base58
2022-06-23 17:04:40 +05:00
Anton Popov
7efbae7728
Merge pull request #38069 from CurtizJ/better-support-gcp
...
Better support of GCP storage
2022-06-23 13:19:14 +02:00
alesapin
ae2feacbd1
Merge pull request #38322 from ClickHouse/ban_projections_in_a_right_way
...
Ban projections for zero-copy replication in a right way
2022-06-23 11:52:30 +02:00
kssenii
bc4fd4c044
Support ON CLUSTER
2022-06-23 11:44:36 +02:00
Vitaly Baranov
18b4413df8
Merge pull request #38299 from vitlibar/backup-improvements-7
...
Backup improvements 7
2022-06-23 11:37:03 +02:00
Kseniia Sumarokova
af2150a68d
Merge pull request #38176 from kssenii/url-headers-in-ast
...
Add ability to pass headers to url table function / storage via sql
2022-06-23 10:15:07 +02:00
Kseniia Sumarokova
cce381a3ae
Merge pull request #38307 from azat/fix-insert-profile-events
...
Fix INSERT into Distributed hung due to ProfileEvents
2022-06-23 10:09:45 +02:00
mergify[bot]
b33ff9f254
Merge branch 'master' into extract-some-diff
2022-06-23 08:04:49 +00:00
Kseniia Sumarokova
5163ca5565
Merge pull request #38310 from ClickHouse/kssenii-patch-4
...
Fix retries in postgres engine
2022-06-23 10:04:17 +02:00
Roman Vasin
4bf1fc4718
Add error code and message displaying in exceptions of KerberosInit; Correct code style in KerberosInit
2022-06-23 10:28:31 +03:00
Vladimir Chebotarev
e2cdaa795b
Fixes comments.
2022-06-23 09:55:00 +03:00
Antonio Andelic
a5ee918bd2
Merge pull request #38047 from ClickHouse/keeper-sequential-consistency-reads
...
Add `SYNC` command to internal ZooKeeper client
2022-06-23 08:43:24 +02:00
alesapin
1b495ec8ad
Fix style
2022-06-23 00:17:37 +02:00
Azat Khuzhin
9db64952c0
Fix SIGSEGV in optimization in PartialSortingTransform
...
Fixes : #37992 (cc @kitaisreal)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-22 21:39:10 +03:00
Alexander Gololobov
0ee47363d4
Fixed includes
2022-06-22 19:08:18 +02:00
Alexander Gololobov
8138a3a36e
Cleanups based on review comments
2022-06-22 19:08:01 +02:00
alesapin
ca0299e927
Ban projections for zero-copy replication in a right way
2022-06-22 19:01:46 +02:00
Vitaly Baranov
5ae8fce1ef
Attach threads to thread groups better.
2022-06-22 18:51:41 +02:00
Alexander Tokmakov
ed8341025b
make code less bad
2022-06-22 18:31:42 +02:00
kssenii
dce1c76270
Fix
2022-06-22 18:00:25 +02:00
Kruglov Pavel
a8757881da
Merge pull request #38306 from ClickHouse/Avogar-patch-1
...
Fix misleading error message while s3 schema inference
2022-06-22 17:24:59 +02:00
Alexander Gololobov
e5b55b965b
Removed incorrect check
2022-06-22 17:23:09 +02:00
Alexander Gololobov
dbc6d1a159
Cleanups
2022-06-22 17:23:09 +02:00
Alexander Gololobov
aea5bc7527
Removed unused should_reorder flag
2022-06-22 17:23:09 +02:00
Alexander Gololobov
5427d5c51b
Apply filter at row level security step
2022-06-22 17:23:09 +02:00
Alexander Gololobov
a5b3f83181
Always remove row filter column
2022-06-22 17:23:09 +02:00
Alexander Gololobov
b3922461b3
Properly handle empty actions
2022-06-22 17:23:09 +02:00
Alexander Gololobov
ba89c3954c
Do not add the same vitrual if it has been added by prev_reader
2022-06-22 17:23:09 +02:00
Alexander Gololobov
e5c0ebc7b5
Handle read from wide part when no columns are requested
2022-06-22 17:23:09 +02:00
Alexander Gololobov
a9e3b8d29e
Don't read the same columns again
2022-06-22 17:23:09 +02:00
Alexander Gololobov
4e426c63cc
Debuging test failures
2022-06-22 17:23:09 +02:00
Alexander Gololobov
6a26325fab
Test dirty hacks for multiple PREWHERE steps
2022-06-22 17:23:05 +02:00
Alexander Gololobov
4360fd9798
Vector of structs instead of multiple vectors
2022-06-22 17:17:42 +02:00
Alexander Gololobov
87b669f439
Intermediate changes
2022-06-22 17:17:42 +02:00
Alexander Gololobov
159ab765fb
Moved estimateNumRows from lambda to function
2022-06-22 17:17:42 +02:00
Alexander Gololobov
538c8c96fc
Dump row_level_filter as a part of prewhere_info
2022-06-22 17:17:42 +02:00
Alexander Gololobov
64a2f3734b
Protect ReadResult internals from MergeTreeRangeReader clients
2022-06-22 17:17:42 +02:00
kssenii
0acc95fe22
Review fixes
2022-06-22 16:55:47 +02:00
Dmitry Novik
3544fbe5c4
cleanup
2022-06-22 14:05:20 +00:00
Kseniia Sumarokova
cc16854c04
Fix postgres execWithRetry
2022-06-22 15:44:50 +02:00
Roman Vasin
7bd65c8c24
Add comments to KerberosInit; Remove input cache and flags from KerberosInit
2022-06-22 16:31:48 +03:00
Nikita Taranov
41ba0118b5
Bring back #36396 ( #38110 )
...
* Revert "Revert "More parallel execution for queries with `FINAL` (#36396 )""
This reverts commit 5bfb15262c
.
* fix tests
* fix review suggestions
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-22 15:05:07 +02:00
Kseniia Sumarokova
87b3f331e2
Update MetadataStorageFromDiskTransactionOperations.cpp
2022-06-22 14:57:29 +02:00
Azat Khuzhin
9eeb856519
Fix INSERT into Distributed hung due to ProfileEvents
...
Right now RemoteInserter does not read ProfileEvents for INSERT, it
handles them only after sending the query or on finish.
But #37391 sends them for each INSERT block, but sometimes they can be
no ProfileEvents packet, since it sends only non-empty blocks.
And this adds too much complexity, and anyway ProfileEvents are useless
for the server, so let's send them only if the query is initial (i.e.
send by user).
Note, that it is okay to change the logic of sending ProfileEvents w/o
changing DBMS_TCP_PROTOCOL_VERSION, because there were no public
releases with the original patch included yet.
Fixes : #37391
Refs: #35075
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-22 15:41:15 +03:00
alesapin
cc2f01c41d
Fix name clash
2022-06-22 14:28:27 +02:00
alesapin
531c29ae46
Merge branch 'master' into kssenii-extract-some-diff
2022-06-22 13:06:32 +02:00
alesapin
0f8eed98c4
Merge branch 'master' into better-support-gcp
2022-06-22 12:46:01 +02:00
Kruglov Pavel
e5a7f53775
Fix misleading error message while s3 schema inference
2022-06-22 12:36:09 +02:00
Alexander Tokmakov
31c4f83469
Merge pull request #38272 from ClickHouse/create_empty_as_select
...
Support CREATE ... EMPTY AS SELECT
2022-06-22 13:25:12 +03:00
alesapin
d3bc7c0190
Merge pull request #37971 from Avogar/fix-alter-columns-with-dots
...
Fix ALTER column with column names with dots
2022-06-22 12:20:30 +02:00
Nikolai Kochetov
cc6fdfe0eb
Merge pull request #36555 from ClickHouse/refactor-something-in-part-volumes
...
Separate data storage abstraction for MergeTree
2022-06-22 11:13:36 +02:00
Roman Vasin
f281199588
Fix code style in KerberosInit; Add anonymous namespace; Add comment about using kerberos_init
2022-06-22 11:28:00 +03:00
Alexey Milovidov
5855668514
Remove trash
2022-06-22 06:23:35 +02:00
Alexey Milovidov
0f8bc027fd
Merge branch 'revert-35914-FIPS_compliance' of github.com:ClickHouse/ClickHouse into revert-35914-FIPS_compliance
2022-06-22 06:17:01 +02:00