Amos Bird
ac102540d0
Global WITH and WITH propagation.
2020-10-08 15:03:34 +08:00
alexey-milovidov
e465ce3d49
Merge pull request #15642 from azat/force_data_skipping_indices
...
Implement force_data_skipping_indices setting
2020-10-07 23:14:51 +03:00
alesapin
d093d4c535
Merge pull request #15675 from ClickHouse/fix_races_in_hdfs
...
Fix races in libhdfs
2020-10-07 20:39:40 +03:00
Artem Zuikov
eb1cb506c9
minor code improvement ( #15668 )
2020-10-07 20:20:07 +03:00
Nikolai Kochetov
54e77e906e
Merge pull request #15717 from ClickHouse/fix-array-join-optimisation-for-mv
...
Fix array join optimisation for MV
2020-10-07 20:19:35 +03:00
Artem Zuikov
403a5320f5
enable bigint float division ( #15691 )
2020-10-07 14:32:57 +03:00
tavplubix
041015545c
Merge pull request #15537 from ClickHouse/mutation_hangs_after_replace_partition
...
Fix mutation may hang after REPLACE/DROP PARTITION
2020-10-07 14:25:29 +03:00
Nikolai Kochetov
df02573c92
Fix ARRAY JOIN optimisation when reading from MV.
2020-10-07 13:11:58 +03:00
Nikolai Kochetov
5f7aeddfe5
Merge pull request #15682 from ClickHouse/akz/storage_memory_less_locks
...
Less locking in StorageMemory: totalRows + totalBytes
2020-10-07 12:59:20 +03:00
alexey-milovidov
e00961f882
Merge pull request #15657 from Jokser/disk-s3-write-error-handling
...
Proper error handling during insert into MergeTree with S3
2020-10-07 11:17:32 +03:00
Azat Khuzhin
75e612fc16
Use full featured parser for force_data_skipping_indices
2020-10-07 01:44:14 +03:00
Azat Khuzhin
ef6d12967f
Implement force_data_skipping_indices setting
2020-10-07 01:42:31 +03:00
Nikolai Kochetov
1f2e867ce6
Merge pull request #15645 from ClickHouse/read-from-storage-step-field-order
...
Ensure resource destruction order in ReadFromStorageStep.
2020-10-06 19:17:38 +03:00
Alexander Kazakov
cabab90ab2
Get back to moving args
2020-10-06 17:54:22 +03:00
Alexander Kazakov
ae2c106f94
Minor fixes
2020-10-06 17:04:08 +03:00
Alexander Kazakov
e54ff6e60a
Lock-less totalRows/totalBytes + more clear postponed init
2020-10-06 16:45:17 +03:00
alesapin
00f29e400f
Fix race condition in hdfs
2020-10-06 16:29:08 +03:00
Azat Khuzhin
9594e463b4
Cancel other processors on query exception ( #15578 )
...
* Add a test for canceling distributed queries on error
* Cancel other processors on exception in PipelineExecutor
Fixes: 01514_distributed_cancel_query_on_error
2020-10-06 14:24:55 +03:00
Nikolai Kochetov
3564ba1c63
Remove moves.
2020-10-06 13:02:07 +03:00
Pavel Kovalenko
69b4bc6f33
Proper error handling during insert into MergeTree with S3.
2020-10-06 12:38:00 +03:00
Artem Zuikov
bad8171f24
Fix distributed IN without database on initiator ( #15538 )
2020-10-06 11:18:25 +03:00
Nikolai Kochetov
28e12c559c
Ensure resource desrtuction order in ReadFromStorageStep.
2020-10-06 09:35:35 +03:00
Alexander Tokmakov
418766e92b
fix another bug in mutations
2020-10-05 22:16:28 +03:00
alesapin
8ec58c17f3
More consistent metadata usage
2020-10-05 19:41:46 +03:00
Alexander Tokmakov
30a18f7567
make it better
2020-10-05 16:52:03 +03:00
Anton Popov
a49591b250
Merge pull request #15543 from azat/optimize_aggregation_in_order-fix-memory-usage
...
[RFC] Significantly reduce memory usage in AggregatingInOrderTransform
2020-10-05 16:34:12 +03:00
alexey-milovidov
2fcf2e0fbe
Merge pull request #15443 from ucasFL/pretty_row_numbers
...
Add setting `output_format_pretty_row_numbers`
2020-10-05 11:49:55 +03:00
alexey-milovidov
a005ec4c89
Merge pull request #15589 from ClickHouse/tavplubix-patch-1
...
Use default implemetation for constants in JSON* functions
2020-10-04 16:02:08 +03:00
alexey-milovidov
6b39d248a0
Merge pull request #15542 from Avogar/quantile_t_digest
...
Improve quantileTDigest performance
2020-10-04 15:53:36 +03:00
alexey-milovidov
53ce5e3892
Merge pull request #15551 from azat/for-user-limits-over-distributed
...
Pass through *_for_user settings via Distributed with cluster-secure
2020-10-04 04:18:20 +03:00
tavplubix
e219162b82
Update FunctionsJSON.h
2020-10-03 21:09:22 +03:00
alexey-milovidov
6f3aab8f09
Merge pull request #15319 from bharatnc/ncb/fix-14509
...
Fix bug in queries like SELECT toStartOfDay(today())
2020-10-03 17:02:57 +03:00
alexey-milovidov
97d97f6b2e
Merge pull request #15513 from ClickHouse/aku/error-context
...
Add some context to an error message
2020-10-03 16:24:19 +03:00
alexey-milovidov
ca05425a87
Merge pull request #15535 from nvartolomei/patch-2
...
Add missing entry to client packet stringify
2020-10-03 16:22:04 +03:00
alexey-milovidov
46fa5ff53e
Merge pull request #15557 from ClickHouse/statvfs-eintr
...
Handle EINTR in statvfs
2020-10-03 15:57:56 +03:00
alexey-milovidov
ae61f8f7a6
Update filesystemHelpers.cpp
2020-10-03 15:57:35 +03:00
alexey-milovidov
4d6402525a
Update filesystemHelpers.h
2020-10-03 15:57:12 +03:00
alexey-milovidov
9551562889
Merge pull request #15442 from ClickHouse/add_alter_version
...
Add ability to alter version column in VersionedCollapsingMergeTree.
2020-10-03 05:40:15 +03:00
alexey-milovidov
75fb73956e
Merge pull request #15238 from ianton-ru/multi_delete_in_s3
...
Use S3 multi object delete
2020-10-03 03:48:06 +03:00
alexey-milovidov
5e37ba4335
Update DiskS3.cpp
2020-10-03 03:47:45 +03:00
alexey-milovidov
3ca7fca48a
Update DiskS3.cpp
2020-10-03 03:42:33 +03:00
Alexey Milovidov
d426ba3074
Step 4: cleanup
2020-10-03 03:07:55 +03:00
Alexey Milovidov
b6ca8a0676
Step 3: check other usages, add a comment
2020-10-03 03:05:54 +03:00
Alexey Milovidov
2441be4b66
Step 2: move code to .cpp
2020-10-03 03:02:47 +03:00
Alexey Milovidov
6608de470d
Step 1: handle EINTR in statvfs
2020-10-03 03:01:32 +03:00
alexey-milovidov
cb708212a8
Merge pull request #15536 from ClickHouse/fix_ilike
...
Separate cache for ilike after like
2020-10-03 02:07:40 +03:00
Azat Khuzhin
f25c1742b8
Pass through *_for_user settings via Distributed with cluster-secure
...
In cluster-secure case the user on shards (remote) is equal to the user
on the initiator, so those settings can be safely applied.
2020-10-03 02:04:47 +03:00
Azat Khuzhin
2a2f858365
Significantly reduce memory usage in AggregatingInOrderTransform
...
Clean the aggregates pools (Arena's objects) between flushes, this will
reduce memory usage significantly (since Arena is not intended for
memory reuse in the already full Chunk's)
Before this patch you cannot run SELECT FROM huge_table GROUP BY
primary_key SETTINGS optimize_aggregation_in_order=1 (and the whole
point of optimize_aggregation_in_order got lost), while after, this
should be possible.
2020-10-03 00:56:58 +03:00
Pavel Kruglov
7acd85d2b1
Fix style error
2020-10-02 22:20:35 +03:00
alesapin
77c9f7af79
Merge pull request #15532 from ClickHouse/substitute_defaults_recursively
...
Fix defaults substitution for absent columns which depend on other defaults
2020-10-02 21:42:01 +03:00