Ivan Lezhankin
e6b9ab6261
Fix false-positive issue from clang-tidy
2021-06-11 21:05:45 +03:00
Vasily Nemkov
2ac288c303
index is not used if types in hasAny are unsuported
...
updated tests
2021-06-11 18:29:52 +03:00
Ivan Lezhankin
f7979292d6
Merge branch 'ast-table-identifier-2' of github.com:abyss7/ClickHouse into ast-table-identifier-2
2021-06-11 18:29:04 +03:00
Ivan Lezhankin
4773c79300
Fix ANTLR grammar
2021-06-11 18:27:32 +03:00
Amos Bird
49db4dbe6a
Update comment
2021-06-11 23:24:38 +08:00
万康
3a404fcc1b
fix build error
2021-06-11 23:21:18 +08:00
mergify[bot]
60c094e785
Merge branch 'master' into disk-s3-read-error-fix
2021-06-11 15:00:43 +00:00
tavplubix
182c10826c
Update TableJoin.h
2021-06-11 17:47:30 +03:00
Amos Bird
7d9a1106b8
Add initial_query_start_time to query log
2021-06-11 22:24:53 +08:00
Alexander Tokmakov
73ff1728ae
rename flag to more generic name
2021-06-11 15:41:48 +03:00
Storozhuk Kostiantyn
b2ddc98958
Update InterpretersMySQLDDLQuery.cpp
2021-06-11 14:34:03 +03:00
Kostiantyn Storozhuk
3dc718ff36
style fixes
2021-06-11 19:29:12 +08:00
Maksim Kita
30c78c0a23
Fix arcadia
2021-06-11 14:26:33 +03:00
vdimir
c3aec8ae57
Fix random indentation to trigger ci
2021-06-11 14:03:53 +03:00
Maksim Kita
0bd199eb50
Dictionaries attribute support default nullable type
2021-06-11 13:35:50 +03:00
Anton Popov
58005a30a8
Merge pull request #25164 from amosbird/tojsonstring
...
Add toJSONString function
2021-06-11 13:18:21 +03:00
Nikolai Kochetov
52f60692c8
Do not optimize query plan for mutations.
2021-06-11 11:48:12 +03:00
Storozhuk Kostiantyn
6c9f701636
Wip my sql column comments support ( #1 )
...
Implemented MySQL engine column comments support
2021-06-11 11:43:36 +03:00
Nikolai Kochetov
79c69ea316
Fix build.
2021-06-11 11:29:39 +03:00
Maksim Kita
12982da130
Added ExecutablePool documentation
2021-06-11 11:28:49 +03:00
Maksim Kita
e549b29bff
Merge pull request #25161 from kitaisreal/dictionary-sources-add-update-lag-option
...
Dictionary sources add update lag option
2021-06-11 10:58:46 +03:00
tavplubix
e99662c68e
Merge pull request #25169 from nikitamikhaylov/csv-with-names-bug
...
Fix insert a subset of columns using CSVWithNames
2021-06-11 10:42:48 +03:00
Kseniia Sumarokova
9cb9aca6b8
Update StoragePostgreSQL.cpp
2021-06-11 09:44:36 +03:00
alexey-milovidov
7616216f10
Merge pull request #25015 from ClickHouse/fix-wrong-code-in-aggregate-functions
...
Remove a chunk of wrong code and look what will happen
2021-06-11 00:36:35 +03:00
Maksim Kita
c6d75ae2e4
Fixed tests
2021-06-10 23:34:27 +03:00
Maksim Kita
362595fe64
Fix tests
2021-06-10 22:32:09 +03:00
Maksim Kita
d5dfd83983
Fixed build issues
2021-06-10 22:32:09 +03:00
Maksim Kita
8a4d405b26
Fix serialization for Nullable type
2021-06-10 22:32:09 +03:00
Maksim Kita
e6222f8022
Fixed CacheDictionary tests
2021-06-10 22:32:09 +03:00
Maksim Kita
021e5f838a
Fixed tests
2021-06-10 22:32:09 +03:00
Maksim Kita
eabeb3076f
Added tests
2021-06-10 22:32:09 +03:00
Maksim Kita
45b8dc772b
Dictionaries support array type
2021-06-10 22:32:09 +03:00
Alexey Milovidov
7a6df49964
Fix clang-tidy
2021-06-10 22:14:24 +03:00
kssenii
8cbd9ec733
Fixes
2021-06-10 16:23:04 +00:00
Vasily Nemkov
55064e49a7
Fixed the test
...
Previous test version wasn't causing bug on unfixed code, this new one does.
2021-06-10 19:09:43 +03:00
Nikolai Kochetov
fea19c2037
Merge pull request #25163 from amosbird/projection-fix10
...
Disable projection when final is used in select query
2021-06-10 18:44:29 +03:00
Vladimir
ba198c48ea
Merge pull request #24898 from excitoon/patch-8
2021-06-10 18:34:17 +03:00
Vasily Nemkov
0ab28360c9
Added support of hasAny function to bloom_filter index.
...
Also fixed bug discovered by AST fuzzer.
2021-06-10 18:22:04 +03:00
Nikita Mikhaylov
395e0d6756
done
2021-06-10 13:57:19 +00:00
Ivan
a7fa4e641c
Merge branch 'master' into ast-table-identifier-2
2021-06-10 16:43:22 +03:00
Nikolai Kochetov
6222fcffe0
Never remove parts on start at all. Always move.
2021-06-10 15:47:55 +03:00
Nikolai Kochetov
aa90309abf
Never remove parts on start at all. Always move.
2021-06-10 15:46:03 +03:00
Nikolai Kochetov
2936fdd16c
Always detach parts with wrong partition id.
2021-06-10 15:04:36 +03:00
Amos Bird
65fe9dd461
Better serialization code
2021-06-10 19:14:20 +08:00
Nikolai Kochetov
847dfb9914
Merge remote-tracking branch 'origin' into always-detach-parts-with-wrong-partition-id
2021-06-10 12:37:46 +03:00
Nikolai Kochetov
d52b87d47d
Always detach proken parts with wrong partition id.
2021-06-10 12:37:33 +03:00
Maksim Kita
98b420b128
Fixed PostgreSQLDictionarySource build
2021-06-10 12:34:19 +03:00
Amos Bird
94bfe539ac
toJSONString
2021-06-10 17:23:20 +08:00
Amos Bird
4e358b28f1
Disable projection with final is used
2021-06-10 17:11:17 +08:00
Maksim Kita
005946945f
RewriteFunctionToSubcolumnVisitor add into ya.make
2021-06-10 11:41:16 +03:00
Maksim Kita
7515e2db4f
Dictionary sources add update lag option
2021-06-10 11:34:57 +03:00
Nikolai Kochetov
4185c5954f
Merge pull request #25152 from ClickHouse/move-code-in-more-local-place
...
Move code to more appropriate place
2021-06-10 11:08:27 +03:00
Alexey Milovidov
bcf4d5c29d
Fix clang-tidy
2021-06-10 05:23:44 +03:00
alexey-milovidov
50b149607b
Merge pull request #25103 from azat/topLevelDomain-fix-for-IDN
...
Fix topLevelDomain() for IDN hosts
2021-06-10 03:02:48 +03:00
Alexey Milovidov
6c5b2b827c
Move code to more appropriate place
2021-06-10 02:58:51 +03:00
alexey-milovidov
3ff7b5af3a
Merge pull request #24763 from azat/config-processor-xml-default
...
Process config w/o extensions as XML format
2021-06-10 02:48:40 +03:00
alexey-milovidov
0636f40349
Merge pull request #25127 from ClickHouse/fix-partition-hash-for-uuid
...
Revert old UUID hash used for partition ID.
2021-06-10 02:31:01 +03:00
Alexey Milovidov
6925105ba4
Give up
2021-06-10 02:18:50 +03:00
Alexey Milovidov
39abf41b4d
Fix clang-tidy
2021-06-10 02:16:01 +03:00
alexey-milovidov
a699a77c36
Merge pull request #25145 from georgthegreat/zstd-include
...
Use zstd/include in ya.make
2021-06-10 01:41:43 +03:00
Alexander Kuzmenkov
c0e6aa97a6
Merge pull request #24734 from ClickHouse/aku/frame-expressions
...
support expressions in window frame
2021-06-10 00:25:32 +03:00
Maksim Kita
6e49062ab8
Merge pull request #24754 from azat/insert_distributed_sync-fix
...
Respect max_distributed_connections for insert_distributed_sync
2021-06-09 23:32:35 +03:00
Yuriy Chernyshov
c0cb5387f4
Use zstd/include in ya.make
2021-06-09 23:02:39 +03:00
Nikolai Kochetov
8dc7ba4eff
Fix spelling
2021-06-09 19:42:19 +03:00
Nikolai Kochetov
a163453e74
Merge pull request #25082 from ClickHouse/fix-24011
...
Fix crash in explain syntax and cross join.
2021-06-09 19:40:23 +03:00
Nikolai Kochetov
9548f198fe
Fix build.
2021-06-09 19:11:04 +03:00
Mikhail Filimonov
3627ab7cbe
Fix kafka failover issue ( #21118 ).
...
Distringuish lack of assignment vs lack of partitions. Bit better / clearer logging.
2021-06-09 16:02:56 +02:00
Nikolai Kochetov
12791431da
Revert old UUID hash used for partition ID.
2021-06-09 16:51:40 +03:00
Alexander Tokmakov
cef22688ff
make code less ugly
2021-06-09 15:36:47 +03:00
Alexey Milovidov
b9a0817672
Fix clang-tidy
2021-06-09 14:07:21 +03:00
Alexey Milovidov
e1dd694830
Review fixes
2021-06-09 14:05:36 +03:00
Nikolai Kochetov
9e0f3e5e9e
Avoid using empty table name in identifier.
2021-06-09 13:13:13 +03:00
Nikita Mikhaylov
82b8d45cd7
Merge pull request #23518 from nikitamikhaylov/copier-stuck
...
Bugfixes and improvements of `clickhouse-copier`
2021-06-09 11:36:42 +03:00
Anton Popov
bb6f0dfbb8
Merge pull request #24406 from CurtizJ/rewrite-functions-to-subcolumns
...
Optimize some functions to subcolumns
2021-06-09 11:07:09 +03:00
mergify[bot]
3a47feedb0
Merge branch 'master' into progress-bar
2021-06-09 08:04:48 +00:00
Azat Khuzhin
e0c1780370
Fix topLevelDomain() for IDN hosts
2021-06-09 10:59:56 +03:00
Azat Khuzhin
38ac83dff9
Update comments for getURLHost()
2021-06-09 10:59:10 +03:00
mergify[bot]
bfbc787b08
Merge branch 'master' into disk-s3-read-error-fix
2021-06-09 06:56:19 +00:00
alexey-milovidov
76ff91f847
Merge pull request #25072 from ClickHouse/increase_schedule_pool
...
Increase background schedule pool default size
2021-06-09 05:32:05 +03:00
Alexey Milovidov
e43105dac1
Fix wrong code in SerializationAggregateFunction
2021-06-09 02:40:29 +03:00
Azat Khuzhin
18e8f0eb5e
Add ability to push down LIMIT for distributed queries
...
This way the remote nodes will not need to send all the rows, so this
will decrease network io and also this will make queries w/
optimize_aggregation_in_order=1/LIMIT X and w/o ORDER BY faster since it
initiator will not need to read all the rows, only first X (but note
that for this you need to your data to be sharded correctly or you may
get inaccurate results).
Note, that having lots of processing stages will increase the complexity
of interpreter (it is already not that clean and simple right now).
Although using separate QueryProcessingStage looks pretty natural.
Another option is to make WithMergeableStateAfterAggregation always, but
in this case you will not be able to disable only this optimization,
i.e. if there will be some issue with it.
v2: fix OFFSET
v3: convert 01814_distributed_push_down_limit test to .sh and add retries
v4: add test with OFFSET
v5: add new query stage into the bash completion
v6/tests: use LIMIT O,L syntax over LIMIT L OFFSET O since it is broken in ANTLR parser
https://clickhouse-test-reports.s3.yandex.net/23027/a18a06399b7aeacba7c50b5d1e981ada5df19745/functional_stateless_tests_(antlr_debug).html#fail1
v7/tests: set use_hedged_requests to 0, to avoid excessive log entries on retries
https://clickhouse-test-reports.s3.yandex.net/23027/a18a06399b7aeacba7c50b5d1e981ada5df19745/functional_stateless_tests_flaky_check_(address).html#fail1
2021-06-09 02:29:50 +03:00
Anton Popov
eb1a33827a
Merge pull request #25080 from Avogar/fix-map-contains
...
Fix bug function mapContains
2021-06-09 01:25:57 +03:00
alesapin
185fb83587
Merge pull request #25059 from ClickHouse/fix_loop_aliases
...
Ban loop aliases in table definitions
2021-06-08 23:36:54 +03:00
Alexander Tokmakov
3ade38df82
remove copypaste
2021-06-08 22:17:45 +03:00
Maksim Kita
8e88e682c1
Merge pull request #25066 from kitaisreal/aggregate-function-any-heavy-data-use-fixed-size-type
...
AggregateFunctionAnyHeavyData use fixed size type
2021-06-08 21:59:19 +03:00
alexey-milovidov
e25d9843d1
Merge pull request #25025 from azat/parallel-kill-mutation
...
Distinguish KILL MUTATION for different tables.
2021-06-08 21:40:53 +03:00
alexey-milovidov
c1d233cabc
Update ASTIdentifier.cpp
2021-06-08 20:40:33 +03:00
alexey-milovidov
736b56ce33
Update ASTIdentifier.cpp
2021-06-08 20:39:42 +03:00
kssenii
0521851afa
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into postgres-fixes-schema
2021-06-08 17:20:23 +00:00
Nikolai Kochetov
5cc005710a
Update ASTIdentifier.cpp
2021-06-08 18:23:42 +03:00
Nikolai Kochetov
194dd91f0c
Fix crash in explain syntax and cross join.
2021-06-08 16:54:48 +03:00
Nikolai Kochetov
a73f1b9ebe
Fix crash in explain syntax and cross join.
2021-06-08 16:51:17 +03:00
Nikolai Kochetov
6197d20c18
Update KeyCondition.cpp
2021-06-08 15:48:14 +03:00
Pavel Kruglov
7dcbf7dbcd
Fix bug function mapContains
2021-06-08 15:27:51 +03:00
Vladimir
fb987cf2c7
Fix space in ReadBufferFromFileDecorator.cpp
2021-06-08 15:00:28 +03:00
alesapin
5736eaf8fd
Increase background schedule pool default size
2021-06-08 13:55:14 +03:00
alesapin
11a1606c15
Less strict
2021-06-08 12:54:00 +03:00
Nikolai Kochetov
ab2529d4f0
Merge pull request #25055 from amosbird/projection-fix9
...
Fix using aggregate projection when group by without key
2021-06-08 12:15:25 +03:00
Azat Khuzhin
1062d0ec91
Distinguish KILL MUTATION for different tables.
...
Before this patch KILL MUTATION marks mutation as canceled just by name
(and part numbers) so if you have multiple tables with the same part
name, then killing mutation for one table, will mark it as killed for
another too.
Fix this by comparing StorageID too (it is better to use StorageID over
database/table to avoid ambiguity by using UUIDs for comparing).
Here is a failure of the 01414_freeze_does_not_prevent_alters on CI [1].
[1]: https://clickhouse-test-reports.s3.yandex.net/24069/9fb69dcf98c71a939d200cad3c8491bf43a44622/functional_stateless_tests_(ubsan).html#fail1
2021-06-08 10:51:22 +03:00
Azat Khuzhin
33b0429dd1
Add StorageID::operator==()
2021-06-08 10:51:22 +03:00
Azat Khuzhin
d5a8a1a8a1
Mark StorageID::operator bool() as explicit
...
This will avoid bugs, like comparing StorageID w/o operator== via cast
to bool.
2021-06-08 10:51:22 +03:00
Maksim Kita
efc8ecf982
AggregateFunctionAnyHeavyData use fixed size type
2021-06-08 10:29:18 +03:00
Azat Khuzhin
2109980284
Respect max_distributed_connections for insert_distributed_sync
...
Otherwise for huge clusters and sync insert it may run out of
max_thread_pool_size (default 10K).
2021-06-08 09:11:44 +03:00
alexey-milovidov
deeaa98af5
Merge pull request #24069 from azat/log-ignore-errors
...
[RFC] Suppress exceptions from logger code
2021-06-08 03:59:06 +03:00
mergify[bot]
b1deed7659
Merge branch 'master' into config-processor-xml-default
2021-06-08 00:54:17 +00:00
Alexey Milovidov
14ef6f4039
Review fixes
2021-06-08 03:11:36 +03:00
Alexey Milovidov
d6513b22cb
Merge remote-tracking branch 'origin/master' into fix-wrong-code-in-aggregate-functions
2021-06-08 03:08:03 +03:00
alesapin
5284f192ee
Ban loop aliases in table definitions
2021-06-07 23:59:38 +03:00
Nikolai Kochetov
c4832fd3c0
Added test.
2021-06-07 21:24:32 +03:00
Ivan
579250168f
Merge branch 'master' into ast-table-identifier-2
2021-06-07 20:30:39 +03:00
Amos Bird
840895509e
Fix using aggregate projection when group by without key
2021-06-07 22:44:42 +08:00
Ivan Lezhankin
0e9ce8c23a
Fix Disks/ya.make
2021-06-07 17:22:24 +03:00
Ivan Lezhankin
7aa08a04b5
Fix unit-tests again
2021-06-07 16:52:47 +03:00
Nikolai Kochetov
0d2a839ca4
Fix tests.
2021-06-07 16:41:40 +03:00
Pavel Kovalenko
6ba40c475a
Code cleanup + comments.
2021-06-07 13:49:34 +03:00
Nicolae Vartolomei
19f64b3f25
Update waitForTableReplicaToProcessLogEntry comments
2021-06-07 11:01:57 +01:00
mergify[bot]
b8dcce68b5
Merge branch 'master' into rename-const-context-ptr
2021-06-07 09:46:24 +00:00
Nikolai Kochetov
0043434d5c
Merge pull request #24894 from amosbird/notinpartitionprune
...
Allow not in be used in partition pruning
2021-06-07 12:42:48 +03:00
alesapin
2ea9d998e8
Merge pull request #24960 from nvartolomei/nv/queue-entry-wait-dead-code
...
Delete support for waiting on queue- entries, is this dead code?
2021-06-07 12:40:34 +03:00
Nikolai Kochetov
cbd46280eb
Update Set.cpp
2021-06-07 12:36:34 +03:00
Maksim Kita
719b419104
Merge pull request #25031 from kitaisreal/fix-disks-ya-make
...
Disks fix ya.make
2021-06-07 12:01:39 +03:00
alesapin
170c49db69
Merge pull request #24961 from ClickHouse/more_general_check_in_queue
...
Trying to fix 'Tagging already tagged part'
2021-06-07 11:52:05 +03:00
Kruglov Pavel
ee683ea90e
Merge pull request #24729 from vdimir/segment-lenght-sum-fixes
...
Minor fixes in AggregateFunctionSegmentLengthSumData
2021-06-07 11:01:29 +03:00
Maksim Kita
16b3355ac1
Disks fix ya.make
2021-06-07 10:05:05 +03:00
Vladimir Chebotarev
ad816fde7b
Fix.
2021-06-07 09:56:15 +03:00
Vladimir Chebotarev
e21f76b137
Fixed unit tests accoording to the fix.
2021-06-07 09:54:05 +03:00
Vladimir Chebotarev
8c33e53e80
Review fixes.
2021-06-07 09:41:49 +03:00
Azat Khuzhin
8ec874dc33
Add writeRetry helper
2021-06-07 09:38:15 +03:00
Alexey Milovidov
e275fc9c29
Fix trash
2021-06-07 03:15:11 +03:00
Alexey Milovidov
406285dad1
Regenerate ya.make
2021-06-07 01:31:08 +03:00
Alexey Milovidov
710bf3c9c4
Add missing file
2021-06-07 01:30:27 +03:00
Alexey Milovidov
885ce194e0
Making fundamentals correct
2021-06-07 00:49:55 +03:00
mergify[bot]
f84ac23951
Merge branch 'master' into compression-codecs-refactoring
2021-06-06 18:02:39 +00:00
alexey-milovidov
295dc6b517
Revert "Add initial_query_start_time to query log"
2021-06-06 20:57:04 +03:00
Alexey Milovidov
84ced3ace0
Deliberately break the rules
2021-06-06 19:43:15 +03:00
Alexey Milovidov
6a652ef4f6
Remove a chunk of wrong code and look what will happen
2021-06-06 19:28:54 +03:00
dankondr
9e83275d28
Make string arrays constexpr
2021-06-06 17:52:08 +03:00
alexey-milovidov
81a12404c7
Merge pull request #24940 from azat/settings-limit-offset-fix
...
Fix limit/offset settings for distributed queries (ignore on the remote nodes)
2021-06-06 17:39:15 +03:00
alexey-milovidov
c3baba2287
Merge pull request #24930 from amosbird/distributedfix
...
Allow shard pruning with IN literal
2021-06-06 17:36:47 +03:00
alexey-milovidov
f59f444ac6
Merge pull request #24957 from ClickHouse/fix_endless_wait
...
Fix endless wait in replica clone
2021-06-06 16:50:08 +03:00
alexey-milovidov
db384a163c
Merge pull request #24388 from amosbird/initialquerystarttime
...
Add initial_query_start_time to query log
2021-06-06 16:15:37 +03:00
Alexey Milovidov
8d85145725
Remove experimental compression codecs
2021-06-06 02:26:52 +03:00
Alexey Milovidov
17962459f5
Merge branch 'master' into issue-16775
2021-06-06 02:18:28 +03:00
Maksim Kita
a7ca1f5999
DictionaryLoader unnecessary dictionary configuration creation fix
2021-06-05 23:37:24 +03:00
Vitaly Baranov
c015ec7be9
Fix serialization of splitted nested messages in Protobuf format.
2021-06-05 14:20:39 +03:00
Nicolae Vartolomei
af311c8642
Add acl for move partition between shards
...
We can not easily verify permissions on destination shard
and instead we require a custom grant that can be given to
superadmins.
2021-06-05 10:41:30 +01:00
mergify[bot]
d8ed474062
Merge branch 'master' into copier-stuck
2021-06-05 01:40:23 +00:00
Nikolai Kochetov
397f6133e0
Refactor canConstantBeWrappedByMonotonicFunctions function.
2021-06-04 20:56:56 +03:00
Nicolae Vartolomei
4d91dfda7e
Replace if over an enum with a switch to make it hard to miss new cases
2021-06-04 17:57:17 +01:00
mergify[bot]
d68d5e0ef1
Merge branch 'master' into rename-const-context-ptr
2021-06-04 14:41:41 +00:00
Nikita Mikhaylov
af32228e9f
Merge pull request #24523 from Algunenano/i24461
...
Fix crash when chaining uniqStates
2021-06-04 17:26:34 +03:00
Amos Bird
fd336411ee
Allow shard pruning with IN literal
2021-06-04 21:16:15 +08:00
Amos Bird
78fca8f8fa
Fix possible race condition when getting cluster
2021-06-04 21:09:59 +08:00
alesapin
1e69128443
Trying to fix 'Tagging already tagged part'
2021-06-04 14:49:00 +03:00
Nikita Mikhaylov
f1733a93e5
Merge pull request #24857 from kssenii/postgresql_protocol
...
Fix NULL values in postgresql protocol
2021-06-04 14:43:47 +03:00
Nicolae Vartolomei
a9d108fc5f
Delete support for waiting on queue- entries, is this dead code?
2021-06-04 12:43:46 +01:00
Nikita Mikhaylov
cf8782faf3
Merge pull request #24311 from nikitamikhaylov/merging-s3-backoff
...
Merging #23461
2021-06-04 14:41:21 +03:00
Nikolai Kochetov
1850f411cc
Merge pull request #24874 from amosbird/rowpolicyfix1
...
Try reusing built sets during multi-pass analysis
2021-06-04 13:22:25 +03:00
alesapin
4127bbbb9c
Remove compatibility code with 18.12
2021-06-04 13:20:15 +03:00
alesapin
4a3fd34a9d
Fix typo
2021-06-04 11:33:07 +03:00
alesapin
f9c2f6925d
Don't try if source replica was dropped
2021-06-04 11:32:33 +03:00
alesapin
1a421260b3
Fix endless wait in replica clone
2021-06-04 11:22:24 +03:00
Vitaly Baranov
d715395751
Merge pull request #24480 from BoloniniD/yaml-fuzz
...
Add fuzzing tests for YAMLParser
2021-06-04 10:21:09 +03:00
vdimir
bfb2b4838d
Remove not working DateTime64 support from AggregateFunctionIntervalLengthSum
2021-06-04 09:12:59 +03:00
vdimir
fbd8640911
Update AggregateFunctionIntervalLengthSum: exception messages, add support DateTime64
2021-06-04 09:09:06 +03:00
vdimir
494ee6eb41
Rename segmentLengthSum -> intervalLengthSum
2021-06-04 09:09:05 +03:00
vdimir
d8ba6167e9
Minor fixes in AggregateFunctionSegmentLengthSumData
2021-06-04 09:09:05 +03:00
Nikita Mikhaylov
bc62457142
Merge branch 'master' of github.com:ClickHouse/ClickHouse into copier-stuck
2021-06-03 23:59:00 +00:00
Nikita Mikhaylov
8076848d62
Update ReadBufferFromS3.cpp
2021-06-04 02:46:21 +03:00
alexey-milovidov
c58fb0ec3a
Merge pull request #24833 from ClickHouse/simplify-pipe-size
...
Simplify code around TraceCollector, alternative to #24829
2021-06-04 01:13:26 +03:00
Nikita Mikhaylov
3b0757bb52
Merge pull request #24922 from Avogar/fix-arrow
...
Fix possible heap-buffer-overflow in Arrow
2021-06-03 22:06:38 +03:00
mergify[bot]
9e2c454db2
Merge branch 'master' into merging-s3-backoff
2021-06-03 18:58:24 +00:00
Azat Khuzhin
8164c49f04
Fix limit/offset settings for distributed queries (ignore on the remote nodes)
2021-06-03 21:14:24 +03:00
Azat Khuzhin
6cb2e81d48
Do not try convert columns that does not exists in the result block
2021-06-03 21:07:48 +03:00
Azat Khuzhin
01e6a4d919
Do not try convert columns that does not exists in materialized view
2021-06-03 21:07:48 +03:00
Azat Khuzhin
578ecc1645
removeJoin: remove joined columns
2021-06-03 21:07:47 +03:00
Kruglov Pavel
8acf031c1b
Merge pull request #24398 from Avogar/fix-deltasum
...
Fix logical error AggregateFunctionFactory returned nullptr
2021-06-03 19:40:06 +03:00
Nikita Mikhaylov
6c583b0e36
Merge branch 'master' of github.com:ClickHouse/ClickHouse into copier-stuck
2021-06-03 15:05:23 +00:00
Nikolai Kochetov
3e5a1cda60
Revert
2021-06-03 17:44:59 +03:00
Pavel Kruglov
af5d0e2487
Fix possible heap-buffer-overflow in Arrow
2021-06-03 17:11:05 +03:00
Amos Bird
9dfa4c06bd
Try reusing built sets during multi-pass analysis
2021-06-03 22:06:05 +08:00
Nikolai Kochetov
726e22ea1d
Always return false for canConstantBeWrappedByMonotonicFunctions.
2021-06-03 16:26:04 +03:00
tavplubix
1aff716f18
Merge pull request #24777 from ClickHouse/fix_intersection_with_lost_part
...
Do not crash on intersecting virtual parts
2021-06-03 15:42:46 +03:00
alesapin
f0f5aba3b1
Merge pull request #20393 from qoega/integration-2
...
Grand integration tests refactoring: Allow parallel run
2021-06-03 15:20:03 +03:00
Pavel Kovalenko
bf5190cd34
Fix reading from ReadBufferFromHDFS
2021-06-03 14:34:47 +03:00
Pavel Kovalenko
6628b670df
Fix reading from several buffers in ReadIndirectBufferFromRemoteFS
2021-06-03 14:34:23 +03:00
Vladimir
17f0900c31
Merge pull request #19766 from achimbab/pr_sequenceNextNode
2021-06-03 13:16:42 +03:00
alesapin
282e8b52c4
Merge pull request #24872 from ClickHouse/fix_background_pool
...
Paranoid fix for background pool task decrement
2021-06-03 11:43:58 +03:00
Vladimir Chebotarev
1012a768b1
Allowed S3 key to be empty.
2021-06-03 09:09:09 +03:00
Vladimir Chebotarev
89664a3452
Fixed problems with double spaces in logs for S3Common
.
2021-06-03 09:05:24 +03:00
Amos Bird
df86f8ed36
Allow not in be used in partition pruning
2021-06-03 11:36:43 +08:00
mergify[bot]
9fddf3a144
Merge branch 'master' into simplify-pipe-size
2021-06-02 22:14:41 +00:00
alesapin
7030828d02
Update src/Common/Throttler.cpp
...
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2021-06-02 23:02:08 +03:00
alesapin
4a1bf51ad1
Merge branch 'master' into limited_fetches
2021-06-02 23:01:47 +03:00
Maksim Kita
5804d0ddcc
Merge pull request #24450 from DimasKovas/dakovalkov/fix_storage_buffer_total_bytes
...
Fix totalBytes computation in StorageBuffer
2021-06-02 22:32:04 +03:00
Ivan Lezhankin
977fbbf1e4
Fix unit tests
2021-06-02 20:17:26 +03:00
Ivan Lezhankin
90fe7995c2
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2021-06-02 20:00:24 +03:00
Amos Bird
9bbc9f97b4
Implement antlr parser for projections ( #24245 )
...
* implement projection grammer for antlr parser
* Add comment
2021-06-02 18:09:55 +03:00
Yatsishin Ilya
6efcbdc5b9
Merge remote-tracking branch 'origin' into integration-2
2021-06-02 18:08:31 +03:00
Pavel Kovalenko
2bd12a7612
Fix DiskS3 read error due to broken getPosition() method in ReadBufferFromS3.cpp
2021-06-02 18:03:25 +03:00
Ivan Lezhankin
ae38b4a3f1
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2021-06-02 16:07:59 +03:00
Alexander Kuzmenkov
cc5465a2bd
remove const_cast that is not needed anymore
2021-06-02 15:22:05 +03:00
Alexander Kuzmenkov
ae79bbea7d
Merge remote-tracking branch 'origin/master' into HEAD
2021-06-02 15:06:22 +03:00
Anton Popov
c0ef021c6a
Merge pull request #24822 from CurtizJ/merging-23260
...
Merging #23260
2021-06-02 15:02:37 +03:00
Nikolai Kochetov
fb1b0265b8
Merge branch 'master' into rename-const-context-ptr
2021-06-02 14:46:26 +03:00
tavplubix
b0fd75f20a
Merge pull request #24805 from ClickHouse/fix_database_replicated_enqueue_race
...
Fix race on enqueue query in Replicated database
2021-06-02 13:44:19 +03:00
Nikolai Kochetov
134ad18249
Merge pull request #24574 from ClickHouse/refactor-MergeTreeDataSelectExecutor
...
Refactor MergeTreeDataSelectExecutor
2021-06-02 13:17:54 +03:00
alesapin
68d251ec11
Paranoid fix for background pool task decrement
2021-06-02 12:40:03 +03:00
vdimir
dcc24c8816
fix style AggregateFunctionWindowFunnel.cpp
2021-06-02 11:57:01 +03:00
alesapin
f7babe5cd9
Fix build and better test
2021-06-02 11:22:44 +03:00
vdimir
ec09dfe635
Set allow_experimental_funnel_functions = false by default (not used before)
2021-06-02 09:16:31 +03:00
vdimir
1b936c8af6
Remove example usage of allow_experimental_funnel_functions from windowFunnel
2021-06-02 09:16:21 +03:00
alesapin
1c0973162d
Merge pull request #24803 from ClickHouse/followupfix_zookeeper_timeouts
...
Don't capture temporary references in ZooKeeper client callbacks.
2021-06-02 01:08:17 +03:00
alesapin
feed2636f4
Add exponential smoothing to Throttler
2021-06-02 01:07:29 +03:00
Nikita Mikhaylov
312bb96eeb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into copier-stuck
2021-06-02 01:04:47 +03:00
mergify[bot]
b9e8c8175f
Merge branch 'master' into simplify-pipe-size
2021-06-01 18:13:56 +00:00
Anton Popov
332b516888
remove accidental changes
2021-06-01 20:18:36 +03:00
tavplubix
a4ea5783d5
Update ActiveDataPartSet.cpp
2021-06-01 20:03:52 +03:00
kssenii
ccf5455624
Allow null values in postgresql protocol
2021-06-01 15:00:32 +00:00
Nikita Mikhaylov
0055a924f6
better
2021-06-01 14:23:46 +00:00
Yatsishin Ilya
d51a6a2c1f
Merge remote-tracking branch 'origin' into integration-2
2021-06-01 17:23:01 +03:00
Nikita Mikhaylov
3f18bde246
Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-s3-backoff
2021-06-01 13:39:09 +00:00
Nikolai Kochetov
0dc4bea16b
Update Context_fwd.h
2021-06-01 16:38:47 +03:00
Alexander Tokmakov
7d7c5638a5
Merge branch 'master' into fix_intersection_with_lost_part
2021-06-01 16:32:59 +03:00
tavplubix
275a616bb6
Update ActiveDataPartSet.cpp
2021-06-01 16:27:09 +03:00
Alexander Tokmakov
5969891611
do not crash on intersecting parts
2021-06-01 16:25:23 +03:00
Nikolai Kochetov
e615858b10
Merge branch 'master' into refactor-MergeTreeDataSelectExecutor
2021-06-01 16:25:04 +03:00
Nikolai Kochetov
dbaa6ffc62
Rename ContextConstPtr to ContextPtr.
2021-06-01 15:20:52 +03:00
tavplubix
e2941a8006
Update DatabaseReplicated.cpp
2021-06-01 15:15:13 +03:00
Alexander Tokmakov
cdd46aa117
Revert "try fix intersecting virtual parts"
...
This reverts commit 2571ad7d43
.
2021-06-01 14:52:25 +03:00
Alexander Kuzmenkov
f51ecf8a72
Merge pull request #23769 from vdimir/issue-20309
...
Add qualified names for right columns for storage join
2021-06-01 14:42:49 +03:00
achimbab
7eeea06845
sequenceNextNode() uses settings passed by creator.
2021-06-01 20:32:40 +09:00
Ivan Lezhankin
365e52817b
More fixes due to "in" function arguments being incorrectly checked as ASTIdentifier
2021-06-01 14:20:03 +03:00
alexey-milovidov
c7bd3b8674
Merge pull request #23315 from CurtizJ/empty-parts-fix
...
Fix waiting while dropping empty parts
2021-06-01 13:52:49 +03:00
Alexander Tokmakov
94d2aed336
fix tests
2021-06-01 13:24:06 +03:00
alesapin
c3321bef30
Merge branch 'master' into limited_fetches
2021-06-01 13:09:02 +03:00
Nikolai Kochetov
c673eb2040
Use mutable context for TCPHandler::customizeContext
2021-06-01 12:27:05 +03:00
Nikolai Kochetov
b54ff696e5
Merge branch 'master' into refactor-MergeTreeDataSelectExecutor
2021-06-01 12:08:37 +03:00
Nikolai Kochetov
aa366829de
Fix special build check.
2021-06-01 12:00:19 +03:00
Alexey Milovidov
feae36636c
Simplify code around TraceCollector, alternative to #24829
2021-06-01 11:54:05 +03:00
Alexander Tokmakov
fe482109da
Merge branch 'master' into fix_database_replicated_enqueue_race
2021-06-01 11:49:29 +03:00
Nikolai Kochetov
d4cbce3761
Merge pull request #24782 from amosbird/projection-fix7
...
Fix empty part set with force_use_projection = 1
2021-06-01 11:36:50 +03:00
tavplubix
3dd7d252a9
Merge pull request #24806 from ClickHouse/tavplubix-patch-2
...
Small improvement for StorageMaterializedView::getActionLock(...)
2021-06-01 11:32:16 +03:00
achimbab
99a5f1506a
Merge remote-tracking branch 'origin' into pr_sequenceNextNode
2021-06-01 17:25:24 +09:00
kssenii
de277f8ac4
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into progress-bar
2021-06-01 07:58:19 +00:00
Maksim Kita
a21d0bc5c6
Merge pull request #24812 from ClickHouse/fix-typo-3
...
Fix typo. Remove the "allow_experimental_bigint_types" setting.
2021-06-01 10:55:37 +03:00
Maksim Kita
7aee971799
Merge pull request #24813 from kitaisreal/expression-jit-remove-unnecessary-logging
...
ExpressionJIT remove unncecessary logging
2021-06-01 10:50:31 +03:00
alesapin
b7c4f7dff8
Merge pull request #24809 from ClickHouse/fix_kill_mutation_wait
...
Fix mutation wait on mutation kill
2021-06-01 10:37:24 +03:00
alesapin
4e038b2a61
Remove copy-paste and rename (review fixes)
2021-06-01 10:30:06 +03:00
Yatsishin Ilya
9b3cc2eefb
Merge remote-tracking branch 'origin' into integration-2
2021-06-01 09:08:42 +03:00