alexey-milovidov
062f00aa5d
Merge pull request #19290 from azat/dist-broken-on-EOF-fix
...
Do not mark file for distributed send as broken on EOF
2021-01-21 17:00:36 +03:00
vdimir
2f11fdf4df
Fix default value in join types with non-zero default ( close #18197 )
2021-01-21 16:49:44 +03:00
tavplubix
ac50b1b231
Update StorageMaterializedView.cpp
2021-01-21 15:57:18 +03:00
Anton Popov
ac3de63a71
fix several cases, while reading subcolumns
2021-01-21 15:34:11 +03:00
alexey-milovidov
7370335f87
Merge pull request #19339 from ClickHouse/fix-ipv4-formatting
...
Fix bad formatting of IPv4 addresses
2021-01-21 15:20:24 +03:00
Alexey Milovidov
56012402e2
Fix potential nullptr dereference in table function VALUES
2021-01-21 15:19:00 +03:00
alexey-milovidov
08dc5ebfa7
Merge pull request #19343 from ucasFL/sleep
...
fix sleep with infinite input
2021-01-21 15:04:30 +03:00
Alexey Milovidov
4968f1733e
Annotations for DateLUT
2021-01-21 15:01:24 +03:00
Ildus Kurbangaliev
47a0f4e162
Add tuple argument support for argMin and argMax
2021-01-21 16:47:51 +05:00
Alexey Milovidov
2cd04e8923
Fix UBSan report in arraySum
2021-01-21 14:43:33 +03:00
alesapin
7f32926a21
Fix race condition in TestKeeperHandler on session finish
2021-01-21 14:37:20 +03:00
alesapin
fe6b964b32
Revert "Revert "Auto version update to [21.2.1.1] [54446]""
...
This reverts commit 42f63e14b5
.
2021-01-21 12:39:46 +03:00
flynn
e75b116466
Rewrite sum(if())
and sumIf
to countIf
in special cases ( #17041 )
...
Co-authored-by: vdimir <vdimir@yandex-team.ru>
2021-01-21 12:01:35 +03:00
Nikolai Kochetov
9ae3628b66
Fix test.
2021-01-21 11:49:40 +03:00
Nikolai Kochetov
0d20b4575d
Fix test.
2021-01-21 11:41:32 +03:00
Alexey Milovidov
110089086b
Fix UBSan report in GatherUtils #19287
2021-01-21 11:41:19 +03:00
Alexey Milovidov
1bb8cc5c9a
Avoid UBSan report in arrayElement
2021-01-21 11:10:46 +03:00
Azat Khuzhin
5f3059555a
Fix system.parts _state column
...
There was LOGICAL_ERROR when querying this column, due to incorrect order:
SELECT
*,
_state
FROM system.parts
2021.01.21 10:22:57.731556 [ 22851 ] {02a07c6d-467d-4681-9203-4dc11cc6fbee} <Fatal> : Logical error: 'Invalid Field get from type String to type UInt64'.
2021-01-21 10:41:23 +03:00
feng lv
2094eae23d
fix sleep with infinite input
2021-01-21 04:49:35 +00:00
Alexey Milovidov
2d87e52b3a
Fix bad formatting of IPv4 addresses
2021-01-21 03:24:44 +03:00
alesapin
af4afff723
Merge pull request #19284 from ClickHouse/decompose_test_keeper_storage
...
Split TestKeeperStorage and processing thread
2021-01-21 00:19:05 +03:00
Nikolai Kochetov
801c540f5e
Try fix tests.
2021-01-20 20:33:12 +03:00
Alexander Tokmakov
6560ec3ed5
fix segfault on aggregation when MV has unexpected structure
2021-01-20 19:36:18 +03:00
alesapin
79d64106ab
Merge pull request #19293 from sundy-li/patch-2
...
Remove useless codes
2021-01-20 19:22:06 +03:00
Daniel Qin
25d8c047c5
Add a check to avoid exception when long alias equals to column ( #18968 )
...
* Add a check to avoid exception when long alias equas to column
* try fix with add an underlying table name, add function test
* format code
Co-authored-by: Ling Qin <lqin@freewheel.com>
2021-01-20 18:34:17 +03:00
Nikolai Kochetov
6cf4ed5c42
Refactor now64
2021-01-20 16:18:41 +03:00
Nikita Mikhailov
1d1e53f5d3
style
2021-01-20 15:37:53 +03:00
Nikita Mikhailov
cf88874088
done
2021-01-20 15:30:41 +03:00
alesapin
70679e4ee1
Fix test keeper handler
2021-01-20 15:11:26 +03:00
Nikolai Kochetov
1e4b32aa30
Merge pull request #19273 from CurtizJ/map-subcolumns
...
Support 'keys' and 'values' subcolumns in type Map
2021-01-20 13:13:01 +03:00
Nikolai Kochetov
fa3964d36d
Fix test.
2021-01-20 12:42:55 +03:00
Alexander Kuzmenkov
636049f465
Merge pull request #19022 from ClickHouse/aku/window-prototype
...
[wip] WINDOW clause
2021-01-20 08:31:04 +03:00
Alexander Kuzmenkov
951b552727
rename
2021-01-20 08:29:27 +03:00
sundyli
659303d871
Remove useless codes
2021-01-20 09:25:57 +08:00
alexey-milovidov
af688d6529
Merge pull request #19285 from ucasFL/b1
...
move ctr from private to delete
2021-01-20 02:53:59 +03:00
Azat Khuzhin
8a00816396
Do not mark file for distributed send as broken on EOF
...
- the sender will got ATTEMPT_TO_READ_AFTER_EOF (added in
946c275dfb
) when the client just go
away, i.e. server had been restarted, and this is incorrect to mark the
file as broken in this case.
- since #18853 the file will be checked on the sender locally, and
in case the file was truncated CANNOT_READ_ALL_DATA will be thrown.
But before #18853 the sender will not receive
ATTEMPT_TO_READ_AFTER_EOF from the client in case of file was truncated
on the sender, since the client will just wait for more data, IOW just hang.
- and I don't see how ATTEMPT_TO_READ_AFTER_EOF can be received while
reading local file.
2021-01-20 01:10:17 +03:00
Azat Khuzhin
e4350e078c
Add ability to distinguish remote exceptions from local
2021-01-20 01:10:17 +03:00
Alexander Kuzmenkov
4d16dead0f
Merge remote-tracking branch 'origin/master' into HEAD
2021-01-19 20:34:01 +03:00
Alexander Kuzmenkov
f5931a2289
Merge pull request #19236 from ClickHouse/aku/echo-leading
...
Make `-- { echo }` hint preserve leading comments
2021-01-19 20:20:58 +03:00
Nikolai Kochetov
a69d386492
Fix tests.
2021-01-19 20:09:40 +03:00
alesapin
374cee47e0
Fix typo
2021-01-19 19:22:40 +03:00
feng lv
4b1a494a91
move ctr from private to delete
2021-01-19 15:59:49 +00:00
alesapin
56f19e4790
Remove unused headers
2021-01-19 18:52:28 +03:00
alesapin
8cdfbd996b
Fix header
2021-01-19 18:51:52 +03:00
alesapin
7e71a5b1b0
Fix new lines
2021-01-19 18:25:08 +03:00
alesapin
6c6bf60937
Rename function
2021-01-19 18:23:32 +03:00
alesapin
0ee5629527
Fix style
2021-01-19 18:10:49 +03:00
Nikolai Kochetov
f4a718aab9
Fix tests.
2021-01-19 17:53:51 +03:00
alesapin
ace6d906b0
Fix normal close scenario
2021-01-19 17:45:45 +03:00
alesapin
ac64a13392
Split storage and requests processing
2021-01-19 17:22:28 +03:00
Nikolai Kochetov
35f48e60ad
Fix description after step optimizations
2021-01-19 16:21:28 +03:00
Nikolai Kochetov
964af8e02c
Fix description after step optimizations
2021-01-19 16:17:52 +03:00
Nikolai Kochetov
b1c7944f84
Fix description after step optimizations
2021-01-19 16:08:14 +03:00
Nikolai Kochetov
9db2974aaa
Update explain for filter
2021-01-19 15:54:55 +03:00
Nikolai Kochetov
0711957fbb
Split filter optimization.
2021-01-19 15:08:21 +03:00
Nikolai Kochetov
91403b2f75
Split filter optimization.
2021-01-19 15:04:45 +03:00
tavplubix
47102d2ee8
Merge pull request #19205 from TCeason/add_MySQL_var_check
...
add MySQL Var check
2021-01-19 14:52:30 +03:00
Nikolai Kochetov
b0b3cfbd02
Split filter optimization.
2021-01-19 14:48:09 +03:00
Anton Popov
bc796ec391
support 'keys' and 'values' subcolumns in type Map
2021-01-19 14:05:21 +03:00
Nikolai Kochetov
b00f01d6b1
Split filter optimization.
2021-01-19 13:03:25 +03:00
Nikolai Kochetov
6e1a118642
Merge Filter and Expression steps.
2021-01-19 11:14:37 +03:00
alesapin
70d9c7ea03
Merge pull request #19237 from ClickHouse/fix_wait_for_log_entries
...
Don't wait forever for log update after table was dropped
2021-01-19 10:22:52 +03:00
Anton Popov
dbc10b2024
Merge pull request #19063 from CurtizJ/exists-view
...
Support operations with views in ANTLR parser
2021-01-19 01:15:12 +03:00
Nikolai Kochetov
b9c0f2b4c9
Push actions result to begin of block.
2021-01-19 00:54:01 +03:00
Nikolai Kochetov
c00471bd1c
Update tryLiftUpArrayJoin
2021-01-18 23:52:33 +03:00
Nikolai Kochetov
d914bf9552
Update tryLiftUpArrayJoin
2021-01-18 23:34:46 +03:00
Alexander Kuzmenkov
d0922e2985
Merge remote-tracking branch 'origin/master' into tmp
2021-01-18 23:23:49 +03:00
Alexander Kuzmenkov
ccd401289c
ya.make
2021-01-18 23:23:39 +03:00
Nikolai Kochetov
31a40880b4
Update tryLiftUpArrayJoin
2021-01-18 22:56:34 +03:00
Denis Glazachev
30ab2830e0
Merge branch 'master' into ldap-role-mapping
...
* master: (605 commits)
DOCSUP-4710: Added support numeric parameters in number and string data types (#18696 )
DOCSUP-5604: Edit and translate to Russian (#18929 )
Update version_date.tsv after release 21.1.2.15
Usability improvement of clickhouse-test
Update jit_large_requests.xml
Update README.md
Update images.json
Make symbolizers available in fuzzer Docker image
Update Dragonbox
Speed up aggregate function sum
Fix MSan report in Kerberos library
Fix MSan error in rocksdb #19213
Add more Fuzzer tasks
Fixes
Update comment for curl dependency for aws
Disable curl for mariadb-connector-c (it is not required)
Fix TSan
Skip test for ANTLR
DistributedBlockOutputStream: add more comments
DistributedBlockOutputStream: Remove superfluous brackets for string construction
...
2021-01-18 22:55:05 +04:00
Kruglov Pavel
937fb25739
Merge pull request #19224 from zhangjmruc/master
...
Support %Q in function formatDateTime in #19163
2021-01-18 20:48:43 +03:00
Nikolai Kochetov
7135c62204
Update tryLiftUpArrayJoin
2021-01-18 19:12:16 +03:00
Nikolai Kochetov
8bafe9cca3
Support split for ActionsDAG.
2021-01-18 17:59:59 +03:00
tavplubix
071a6aeb4d
trigger CI
2021-01-18 16:53:33 +03:00
Alexander Kuzmenkov
c153268da7
Make -- { echo }
hint preserve leading comments.
2021-01-18 15:15:46 +03:00
alesapin
4ee96869a2
Don't wait forever for log update after table was dropped
2021-01-18 15:15:07 +03:00
alexey-milovidov
4c29a29e4a
Merge pull request #19186 from ClickHouse/change-server-memory-usage-without-restart
...
Allow to change max_server_memory_usage without restart
2021-01-18 14:03:21 +03:00
alexey-milovidov
6435ab8e4d
Merge pull request #19216 from ClickHouse/speedup-sum
...
Speed up aggregate function sum
2021-01-18 13:57:22 +03:00
Alexander Kuzmenkov
d22c04568d
Merge pull request #13405 from excitoon-favorites/s3keepalive
...
Connection pools for S3
2021-01-18 12:52:37 +03:00
jianmei zhang
e967b6bf49
add a %Q replacement for formatDateTime
2021-01-18 12:16:32 +08:00
hexiaoting
6a78b10e0b
fix build error
2021-01-18 10:58:07 +08:00
hexiaoting
28436a73b7
Merge remote-tracking branch 'origin/master' into map_functions
2021-01-18 10:20:36 +08:00
alexey-milovidov
1444ccb85e
Merge pull request #19206 from azat/dist-pull
...
Tiny changes in DistributedBlockOutputStream
2021-01-18 01:04:50 +03:00
Alexey Milovidov
712bef8eef
Merge branch 'master' into change-server-memory-usage-without-restart
2021-01-18 00:00:09 +03:00
Alexey Milovidov
c5ac0762e4
Speed up aggregate function sum
2021-01-17 21:59:31 +03:00
Alexey Milovidov
e482c5ea15
Fix TSan
2021-01-17 15:40:14 +03:00
alexey-milovidov
15f4ae26c2
Merge pull request #17310 from CurtizJ/multiple-nested
...
Allow nested with multiple nesting and subcolumns of complex types
2021-01-17 15:00:26 +03:00
Azat Khuzhin
a6631287a7
DistributedBlockOutputStream: add more comments
2021-01-17 12:50:37 +03:00
TCeason
a3cc6707b4
add MySQL Var check
...
add MySQL var check: log_bin_use_v1_row_events=OFF
2021-01-17 17:50:35 +08:00
Azat Khuzhin
b725e1d131
DistributedBlockOutputStream: Remove superfluous brackets for string construction
2021-01-17 12:48:51 +03:00
Azat Khuzhin
2955e25e83
Fix inserted blocks accounting for insert_distributed_one_random_shard=1
...
It is tricky due to block splitting
Refs: https://github.com/ClickHouse/ClickHouse/pull/18294
2021-01-17 12:45:42 +03:00
Azat Khuzhin
858f07c796
Update comment for query AST cloning during inesrt into multiple local shards
...
Refs: https://github.com/ClickHouse/ClickHouse/pull/18264#discussion_r558839456
2021-01-17 12:40:41 +03:00
alexey-milovidov
d2366b5c6c
Merge pull request #18233 from vitlibar/fix-access-rights-for-select-count
...
Fix access rights for SELECT count()
2021-01-17 00:12:08 +03:00
alexey-milovidov
bf522d0eea
Update InterpreterSelectQuery.cpp
2021-01-17 00:11:58 +03:00
alexey-milovidov
d08353cfac
Merge pull request #19137 from abyss7/antlr-minor
...
[ANTLR] Print errors through LOG_ERROR
2021-01-17 00:03:21 +03:00
alexey-milovidov
7de745ce77
Merge pull request #18554 from kssenii/pg2ch
...
Add PostgreSQL table function, dictionary source, database engine
2021-01-16 23:55:05 +03:00
alexey-milovidov
3737ef253f
Merge pull request #19164 from azat/COMPLEX_KEY_SSD_CACHE-dictHas-fix
...
Add missing type check in dictHas for COMPLEX_KEY_SSD_CACHE layout
2021-01-16 20:55:08 +03:00
Alexey Milovidov
950bfb3ec6
Allow change max_server_memory_usage without restart
2021-01-16 18:33:46 +03:00
alexey-milovidov
54f604c41f
Update DataTypeArray.cpp
2021-01-16 18:29:43 +03:00
alexey-milovidov
6885890006
Merge pull request #18977 from ClickHouse/fix_deadlock_on_shutdown
...
Fix rare deadlock at shutdown of BackgroundSchedulePool
2021-01-16 18:05:59 +03:00
Alexey Milovidov
a2c77c0343
Fix possible aliasing issues
2021-01-16 17:13:52 +03:00
Alexey Milovidov
029302d766
Merge with master
2021-01-16 17:09:44 +03:00
Alexey Milovidov
24c8e53440
Merge branch 'master' into multiple-nested
2021-01-16 16:28:40 +03:00
alexey-milovidov
e67e4588e7
Update PostgreSQLConnection.h
2021-01-16 15:26:21 +03:00
alexey-milovidov
a15092eeb7
Merge pull request #18264 from ucasFL/insert-cluster
...
Support insert into table function cluster
2021-01-16 13:22:49 +03:00
alexey-milovidov
a5a19de878
Update DistributedBlockOutputStream.cpp
2021-01-16 13:22:25 +03:00
alexey-milovidov
4efc7a7dc3
Update MergeTreeIOSettings.h
2021-01-16 13:07:58 +03:00
Azat Khuzhin
1b901b368f
Add missing type check in dictHas for COMPLEX_KEY_SSD_CACHE layout
2021-01-16 12:33:36 +03:00
kssenii
2222741e33
Fix style check
2021-01-16 09:17:04 +00:00
alexey-milovidov
e32b1e3fe6
Update StorageTinyLog.cpp
2021-01-16 11:53:28 +03:00
Alexey Milovidov
69cafd4d7f
Add suggestion from Kita
2021-01-16 11:48:50 +03:00
Alexey Milovidov
4ee9c57190
Add TODO
2021-01-16 11:43:59 +03:00
Alexey Milovidov
b25e334313
Add assert
2021-01-16 11:30:35 +03:00
alexey-milovidov
bf86d3bab8
Merge pull request #19153 from azat/async_socket_for_remote-fix-fd-leak
...
Fix leaking of pipe fd for async_socket_for_remote
2021-01-16 11:23:55 +03:00
Alexey Milovidov
45380d45c8
Fix potential (safe) SQL-injection
2021-01-16 11:15:43 +03:00
Alexey Milovidov
31593e2000
Fix Arcadia
2021-01-16 11:10:55 +03:00
alexey-milovidov
2e2988e5d8
Merge pull request #19146 from azat/server-memory-limit-blocking
...
MemoryTracker: Do not ignore server memory limits during blocking by default
2021-01-16 11:09:19 +03:00
alexey-milovidov
141b5e23b2
Merge pull request #19136 from amosbird/removeuseless
...
Remove useless code
2021-01-16 11:04:55 +03:00
kssenii
11ffa6293d
Fix integration tests
2021-01-16 08:04:24 +00:00
alexey-milovidov
32ceafc038
Merge pull request #19007 from ClickHouse/add-tests-from-15889
...
Add tests from #15889
2021-01-16 11:03:39 +03:00
alexey-milovidov
6ed14ba0b6
Merge pull request #19134 from ClickHouse/fix-read-orc-from-fd
...
Fix reading from fd for ORCBlockInputFormat.
2021-01-16 11:03:26 +03:00
alesapin
67fd381034
Merge pull request #19123 from ClickHouse/additional_check_in_writer
...
Fix max granules size in MergeTreeDataWriter
2021-01-16 10:17:44 +03:00
Azat Khuzhin
ee45c122ea
Fix leaking of pipe fd for async_socket_for_remote
2021-01-16 01:57:36 +03:00
Azat Khuzhin
cf085b0687
Split RemoteQueryExecutorReadContext into module part
2021-01-16 01:57:36 +03:00
Alexey Milovidov
593b6f5c83
Add assert
2021-01-16 00:25:58 +03:00
Alexey Milovidov
7705420220
Better
2021-01-16 00:23:58 +03:00
alexey-milovidov
5f189c5756
Merge pull request #19122 from ClickHouse/data-part-better-code
...
Add metrics for part number in MergeTree in ClickHouse
2021-01-16 00:20:15 +03:00
alexey-milovidov
e09ec9fed5
Merge pull request #18373 from amosbird/fix-18364
...
Fix 2-arg functions with constant in PK analysis
2021-01-16 00:20:03 +03:00
Alexey Milovidov
67f207d8ca
More safe connection string
2021-01-16 00:18:51 +03:00
Alexey Milovidov
ef319bfa75
Slightly better
2021-01-15 23:33:04 +03:00
Alexander Kuzmenkov
765aa4d4e3
rewrote everything again
2021-01-15 23:30:44 +03:00
Alexey Milovidov
c16ecb0bdd
It feels more correct
2021-01-15 23:18:55 +03:00
Alexey Milovidov
b1b09ed5ae
Fix SQL injection
2021-01-15 23:14:51 +03:00
Alexey Milovidov
52cfc1d110
Minor changes
2021-01-15 23:09:31 +03:00
Alexey Milovidov
ba1921f380
Minor changes
2021-01-15 22:59:49 +03:00
Azat Khuzhin
61b2d0ce42
MemoryTracker: Do not ignore server memory limits during blocking by default
2021-01-15 22:46:58 +03:00
Alexey Milovidov
b293d56a63
Merge branch 'master' into kssenii-pg2ch
2021-01-15 22:32:03 +03:00
alesapin
184dbedb06
Fix stupid error
2021-01-15 21:50:30 +03:00
alexey-milovidov
b97beea22a
Merge pull request #19101 from ClickHouse/check_compression_codec_read
...
Fix compression codec read for empty files
2021-01-15 20:55:58 +03:00
alexey-milovidov
f8830e0f11
Merge pull request #19107 from ClickHouse/bar-nan
...
Fix fuzz test for function `bar`.
2021-01-15 20:38:02 +03:00
alexey-milovidov
971ff2ee0a
Merge pull request #19086 from ClickHouse/faster-parts-removal
...
Faster parts removal, more safe and efficient interface of IDisk
2021-01-15 20:37:35 +03:00
Ivan Lezhankin
066242c64d
Print errors through LOG_ERROR
2021-01-15 19:57:44 +03:00
Amos Bird
8b079674a9
Remove useless code
2021-01-16 00:37:41 +08:00
feng lv
9829c09720
fix
2021-01-15 15:54:35 +00:00
Nikolai Kochetov
76495124cd
Fix readign from fd for ORCBlockInputFormat.
2021-01-15 18:45:29 +03:00
feng lv
dbb3c89b50
Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster
2021-01-15 15:37:56 +00:00
Alexey Milovidov
a19e7edd14
Merge branch 'master' into kssenii-pg2ch
2021-01-15 17:33:19 +03:00
alexey-milovidov
ca825f36f1
Merge pull request #18853 from azat/dist-send-checksums
...
Improve checksum checks for async INSERT into Distributed on the sender
2021-01-15 17:12:54 +03:00
Nikolai Kochetov
8af10c730b
Merge branch 'master' into add-tests-from-15889
2021-01-15 16:21:33 +03:00
alesapin
8ccaa6ede9
Additional check for huge granules in MergeTreeDataWriter
2021-01-15 15:40:37 +03:00
Alexey Milovidov
e238fd64ac
Add part metrics
2021-01-15 15:28:53 +03:00
Alexey Milovidov
6a2a5e53ed
Slightly better code of IMergeTreeDataPart #18955
2021-01-15 15:15:13 +03:00
alexey-milovidov
78fff6bc39
Merge branch 'master' into multiple-nested
2021-01-15 14:54:27 +03:00
Alexey Milovidov
4bae04d500
Merge branch 'master' into amosbird/fix-18364
2021-01-15 14:37:35 +03:00
alexey-milovidov
4a71971b43
Update KeyCondition.cpp
2021-01-15 14:36:07 +03:00
alexey-milovidov
8d58ce532a
Merge pull request #19064 from CurtizJ/restrict-modify-ttl
...
Restrict MODIFY TTL for tables created in old syntax
2021-01-15 14:09:47 +03:00
tavplubix
fb6d1dc18e
Merge pull request #18979 from ClickHouse/fix_18690
...
Remove unread data limit from PeekableReadBuffer
2021-01-15 13:43:50 +03:00
Alexey Milovidov
d553e46a06
Merge branch 'master' into faster-parts-removal
2021-01-15 13:25:20 +03:00
alexey-milovidov
e914ef619f
Merge pull request #18818 from templarzq/master
...
Implement ColumnAggregateFunction cloneResized method
2021-01-15 13:21:21 +03:00
Alexey Milovidov
33d045b72e
Fix issue in function "bar"
2021-01-15 13:17:09 +03:00
alexey-milovidov
461d370e8d
Merge pull request #19020 from ClickHouse/fix_18879
...
Fix duplicate UUIDs of LiveView on server startup
2021-01-15 13:04:08 +03:00
alexey-milovidov
80c937b64c
Merge pull request #19084 from ClickHouse/simplifuy-tuple-hamming-distance
...
Simplify tupleHammingDistance
2021-01-15 13:02:09 +03:00
alexey-milovidov
421dd1ca66
Merge pull request #18542 from nautaa/master
...
add function to decode charaters for XML
2021-01-15 12:28:01 +03:00
alesapin
d601faa669
Merge pull request #18935 from fastio/bugfix_attach_partition_does_not_reset_mutation
...
Bugfix: attach partition should reset the mutation
2021-01-15 12:21:16 +03:00
alesapin
e106df2ad0
Fix comment
2021-01-15 12:10:03 +03:00
alesapin
0662d6bd7d
Fix compression codec read for empty files
2021-01-15 12:04:23 +03:00
Alexander Kuzmenkov
c9628386fc
more fixes
2021-01-15 01:39:43 +03:00
Alexey Milovidov
9db1299f41
Improve code
2021-01-15 00:25:19 +03:00
Alexander Kuzmenkov
1abb554d2b
test fixes
2021-01-14 23:47:52 +03:00
Alexey Milovidov
da9bd043d4
Merge branch 'master' into nautaa-master
2021-01-14 23:09:33 +03:00
Alexey Milovidov
522ccddbec
Better code
2021-01-14 23:05:00 +03:00
Azat Khuzhin
ecae6c1c60
Avoid reading the distributed batch just to read the block header
...
Before this patch batched mode of the DirectoryMonitor is 2x slower then
non-batched, after it should be more or less the same as non-batched.
2021-01-14 22:38:46 +03:00
Alexey Milovidov
f60c5f8296
Merge branch 'master' into templarzq/master
2021-01-14 22:33:11 +03:00
alexey-milovidov
2760006415
Update gtest_peekable_read_buffer.cpp
2021-01-14 22:29:34 +03:00
Nikolai Kochetov
d120801df3
Fix style
2021-01-14 20:16:31 +03:00
Alexey Milovidov
ee13dd4fef
Fix error
2021-01-14 19:58:44 +03:00
Alexander Kuzmenkov
f5d63c23a2
semicolon
2021-01-14 19:55:09 +03:00
Alexey Milovidov
8276a1c8d2
Faster parts removal, more safe and efficient interface of IDisk
2021-01-14 19:24:13 +03:00
Nikolai Kochetov
4bb0bd16e1
Simplify tupleHammingDistance
2021-01-14 19:02:17 +03:00
alesapin
09e825e28c
Merge pull request #19040 from ClickHouse/fix_redundant_exception_while_dropping_part
...
Avoid redundant exception while dropping part
2021-01-14 18:59:59 +03:00
Alexander Kuzmenkov
828dea83cb
Merge remote-tracking branch 'origin/master' into tmp
2021-01-14 18:50:34 +03:00
Alexander Kuzmenkov
d53da04e6f
without debug
2021-01-14 18:38:27 +03:00
Alexander Kuzmenkov
8be081e3c0
with debug
2021-01-14 18:35:52 +03:00
Nikolai Kochetov
fc57ca5f50
Simplify tupleHammingDistance
2021-01-14 18:34:44 +03:00
Nikolai Kochetov
3ee4e9eda8
Simplify tupleHammingDistance
2021-01-14 18:29:42 +03:00
Alexander Tokmakov
547c7af1b1
fix checkpoint in PeekableReadBuffer over ConcatReadBuffer
2021-01-14 17:38:59 +03:00
Nikolai Kochetov
c65f79d69b
Simplify tupleHammingDistance
2021-01-14 17:29:51 +03:00
Nikolai Kochetov
d8b9278193
Merge pull request #19016 from ClickHouse/fix-ignore-with-lc-arg
...
Fix `ignore` function with LowCardinality argument
2021-01-14 16:50:54 +03:00
Anton Popov
ac426c3da6
restrict MODIFY TTL for tables created in old syntax
2021-01-14 15:32:20 +03:00
Anton Popov
0e2d49f065
Merge remote-tracking branch 'upstream/master' into HEAD
2021-01-14 15:03:08 +03:00
Anton Popov
9c9e2a5936
support operations with views in antlr parser
2021-01-14 15:02:29 +03:00
Alexander Tokmakov
f9ee3f8178
update test
2021-01-14 14:09:13 +03:00
Nikita Mikhaylov
89c64cbdfc
Merge pull request #18982 from nikitamikhaylov/filtering-join-supertype
...
Remove code from Join which materializes const columns
2021-01-14 13:53:40 +03:00
Alexander Tokmakov
64975c08e7
fix
2021-01-14 13:33:39 +03:00
alexey-milovidov
bf8d58d2e8
Merge pull request #18723 from ucasFL/select-all
...
add SELECT ALL syntax
2021-01-14 11:53:09 +03:00
alexey-milovidov
49ad73b9bc
Merge pull request #19013 from ClickHouse/tavplubix-patch-2
...
Fix misleading error message while inserting in a table function
2021-01-14 11:42:06 +03:00
alexey-milovidov
2ca185c9f9
Merge pull request #16995 from sundy-li/alias_column_partition_prune
...
Add optimize_respect_aliases
2021-01-14 11:30:45 +03:00
alexey-milovidov
53299cc17b
Update ColumnAliasesVisitor.cpp
2021-01-14 11:26:04 +03:00
Nikolai Kochetov
7b33ad5e44
Merge pull request #19010 from ClickHouse/fix-insert-lc-to-tiny-log
...
Fix insert LC to TinyLog
2021-01-14 11:25:38 +03:00
alesapin
bfc27254b2
Avoid redundant exception while dropping part
2021-01-14 11:07:13 +03:00
alexey-milovidov
6d79068a0f
Merge pull request #18981 from ClickHouse/disable-optimize-out-of-any
...
Disable optimize out of any
2021-01-14 10:12:55 +03:00
alexey-milovidov
2c8ce7d94e
Merge pull request #19019 from ClickHouse/group-uniq-array-enum
...
Fix return type of groupUniqArray
2021-01-14 10:11:44 +03:00
alesapin
c1732ef1b5
Merge pull request #19011 from ClickHouse/fix_operators_escaping
...
Fix manipulators for common string types
2021-01-14 10:08:16 +03:00
Kruglov Pavel
fedfcb78e1
Merge pull request #18791 from sundy-li/bitmap64-contains
...
Add [UInt8, UInt16, UInt32, UInt64] arguments types support for bitmapTransform, bitmapSubsetInRange, bitmapSubsetLimit, bitmapContains functions
2021-01-14 02:18:42 +03:00
Anton Popov
4dd9165934
Merge pull request #18552 from spongedu/support_exists_view_v3
...
support EXISTS VIEW syntax
2021-01-14 01:23:50 +03:00
Anton Popov
e40f7df4d7
Update InterpreterExistsQuery.cpp
2021-01-14 01:22:15 +03:00
Alexander Kuzmenkov
48509a85d3
comment woes
2021-01-14 01:04:19 +03:00
alexey-milovidov
3b02a3ef02
Merge pull request #18976 from ClickHouse/fix_terminate_when_not_enough_memory
...
Finally get rid of allocations in ThreadPool::worker(...)
2021-01-13 23:48:46 +03:00
alexey-milovidov
ab15a936e4
Merge pull request #18998 from ucasFL/comment
...
fix some wrong words in comment
2021-01-13 23:46:53 +03:00
Alexander Kuzmenkov
c2a1373720
Merge remote-tracking branch 'origin/master' into tmp
2021-01-13 22:30:08 +03:00
Alexander Kuzmenkov
703731c547
something works
2021-01-13 22:29:52 +03:00
Nikolai Kochetov
b03f28f28c
Update building sets.
2021-01-13 21:58:00 +03:00
Nikolai Kochetov
871ac3eeb7
Update building sets.
2021-01-13 21:37:54 +03:00
Alexey Milovidov
d27e04997d
More tests
2021-01-13 21:13:52 +03:00
Alexander Tokmakov
5f0f8ae3cd
fix duplicate UUIDs of LiveView on server startup
2021-01-13 21:13:46 +03:00
alesapin
2683bbc0f7
Disable lint for test
2021-01-13 18:35:35 +03:00
Nikita Mikhailov
ded35fe5b0
delete
2021-01-13 18:15:32 +03:00
Anton Popov
11f459ad03
Merge branch 'support_exists_view_v3' of git://github.com/spongedu/ClickHouse into exists-view
2021-01-13 18:08:43 +03:00
Nikolai Kochetov
33d007dc46
Fix function ignore with LowCardinality argument.
2021-01-13 17:45:19 +03:00
tavplubix
94c0433d9f
Update InterpreterInsertQuery.cpp
2021-01-13 16:55:34 +03:00
Alexander Tokmakov
6c4be506fd
add test
2021-01-13 16:43:42 +03:00
Nikolai Kochetov
da0cb8d47f
Added comment.
2021-01-13 16:32:27 +03:00
ygrek
8f2a830d83
add zstd long range option ( #17184 )
...
* add zstd long compression option
* tests: add zstd long read-write test
Co-authored-by: Joris Giovannangeli <joris.giovannangeli@ahrefs.com>
Co-authored-by: ip <igor@ahrefs.com>
2021-01-13 16:22:59 +03:00
Alexey Milovidov
a18d5320ca
Merge branch 'master' into disable-optimize-out-of-any
2021-01-13 15:51:10 +03:00
sundyli
e9a18fbd3a
Update FunctionsBitmap.h
2021-01-13 20:49:06 +08:00
sundyli
073379627c
Update FunctionsBitmap.h
2021-01-13 20:47:40 +08:00
alesapin
c84a8c4b16
Fix manipulators for common string types
2021-01-13 15:47:34 +03:00
Nikolai Kochetov
12f3b22623
Do not skip streams after serializeBinaryBulkStatePrefix.
2021-01-13 15:20:10 +03:00
Alexander Tokmakov
73e96250a8
add comments
2021-01-13 15:19:41 +03:00
Alexander Tokmakov
a6510cc4b7
Merge branch 'master' into fix_terminate_when_not_enough_memory
2021-01-13 14:05:54 +03:00
alesapin
c97469773d
Merge pull request #18969 from ClickHouse/fix_drop_part_deduplication
...
Fix DROP PART query break deduplication
2021-01-13 11:50:26 +03:00
feng lv
d5181b984a
fix some wrong words in comment
2021-01-13 08:38:19 +00:00
alesapin
07431a6494
Merge pull request #18980 from ClickHouse/fix-expressions-merge
...
Fix expressions merge
2021-01-13 11:16:01 +03:00
alesapin
73e536a074
Merge pull request #18928 from ClickHouse/more_checks_in_writer_wide
...
More checks in merge tree writer wide
2021-01-13 09:59:45 +03:00
alesapin
48ad4dad5b
Merge pull request #18964 from ClickHouse/more-info-for-polling-queue-exception
...
Fix error Task was not found in task queue
2021-01-13 09:58:18 +03:00
templarzq
8b98b467b6
Update ColumnAggregateFunction.cpp
2021-01-13 13:57:42 +08:00
templarzq
c310f69dc3
Update ColumnAggregateFunction.cpp
2021-01-13 10:35:33 +08:00
Anton Popov
d7200ee2ed
minor changes
2021-01-13 02:20:32 +03:00
Nikita Mikhailov
e1afae4492
just test
2021-01-13 00:49:11 +03:00
alexey-milovidov
781a1110bc
Update ColumnAliasesVisitor.h
2021-01-12 23:24:18 +03:00
Alexey Milovidov
a6296912f3
Fix incomplete code
2021-01-12 22:58:54 +03:00
Nikolai Kochetov
74cdf98e8f
Try to fix ActionsDAG::merge.
2021-01-12 21:58:05 +03:00
Alexander Tokmakov
111f4d49e3
remove unread data limit from PeekableReadBuffer
2021-01-12 21:55:12 +03:00
Nikolai Kochetov
1937659450
Add more info for ActionsDAG
2021-01-12 21:47:54 +03:00
Alexander Tokmakov
5db5700119
fix rare deadlock on shutdown of BackgroundSchedulePool
2021-01-12 21:47:01 +03:00
Nikolai Kochetov
1f2a90d321
Remove debug code.
2021-01-12 21:41:11 +03:00
Nikolai Kochetov
af79c6ca9b
Remove debug code.
2021-01-12 21:40:07 +03:00
Alexander Kuzmenkov
e6c2d0219d
window clause tmp
2021-01-12 21:34:35 +03:00
Alexey Milovidov
c51df126f1
Disable "optimize_move_functions_out_of_any" by default #18973
2021-01-12 19:46:18 +03:00
Alexander Tokmakov
ff6c3c75c2
add protection from unsafe allocations
2021-01-12 18:41:24 +03:00