lgbo-ustc
91dc6a35e1
update
2023-07-20 18:22:01 +08:00
lgbo-ustc
0ba97eeea5
wip: grace hash join support full & right join
2023-07-20 18:22:01 +08:00
Robert Schulze
9933589c56
Merge pull request #52312 from rschu1ze/beautify-system-query-cache
...
Beautify pretty-printing of the query string in SYSTEM.QUERY_CACHE
2023-07-20 12:20:04 +02:00
Nikita Mikhaylov
ec20786940
Merge pull request #52347 from vitlibar/zooKeeper-retries-control-rethrows-with-original-callstack
...
ZooKeeperRetriesControl rethrows with original callstack
2023-07-20 12:14:04 +02:00
chen768959
067e3caa2c
Remove constants from description_sorted_.
2023-07-20 18:13:19 +08:00
vdimir
b9009f0e44
Merge pull request #52275 from ClickHouse/vdimir/tmp_data_add_test
2023-07-20 11:34:13 +02:00
Robert Schulze
e5f7890bb5
Merge pull request #52206 from aiven-sal/aiven-sal/siphash_fix_pr
...
Re-add SipHash keyed functions
2023-07-20 11:15:31 +02:00
Nikolay Degterinsky
209429d0e3
Merge pull request #49664 from ilejn/test_for_basic_auth_registry
...
Basic auth to fetch Avro schema in Kafka
2023-07-20 10:58:11 +02:00
Nikolay Degterinsky
cf54866aef
Merge pull request #51651 from Alex-Cheng/correct_exception_message
...
Correct an exception message in src/Functions/nested.cpp
2023-07-20 10:56:45 +02:00
Dmitry Kardymon
c7ab6e908a
Move tode to to try to make the diff simpler
2023-07-20 08:55:22 +00:00
robot-ch-test-poll2
f115e0fbe5
Merge pull request #52321 from ClickHouse/fix-keeper-disk-initialization
...
Skip unsupported disks in Keeper
2023-07-20 10:46:50 +02:00
Vitaly Baranov
27ca367b2c
ZooKeeperRetriesControl rethrows with original callstack.
2023-07-20 10:25:38 +02:00
Dmitry Kardymon
ff235e0f30
Turn off log in queue, fix data race
2023-07-20 05:41:39 +00:00
Kruglov Pavel
0fca64ced4
Merge pull request #51695 from Avogar/row-binary-with-defaults
...
Add RowBinaryWithDefaults format
2023-07-19 22:10:30 +02:00
robot-ch-test-poll
0e46565968
Merge pull request #51633 from ClickHouse/vdimir/asof_join_no_syntax_pushdown
...
Do not apply PredicateExpressionsOptimizer for ASOF/ANTI join
2023-07-19 20:12:52 +02:00
Han Fei
2675b8fa79
Merge pull request #52181 from arenadata/ADQM-868
...
Millisecond and microsecond support in date_diff / age functions
2023-07-19 17:41:23 +02:00
Han Fei
6bbdf702ae
Merge branch 'master' into hanfei/support-insert-token
2023-07-19 17:05:12 +02:00
Nikita Mikhaylov
15f07e9748
Merge pull request #52284 from ClickHouse/fix-ugly-code
...
Fix ugly code
2023-07-19 16:40:00 +02:00
Nikita Mikhaylov
4a3f5234af
Merge pull request #51038 from evillique/headers-blacklist
...
Add HTTP header filtering
2023-07-19 15:49:12 +02:00
Nikita Mikhaylov
c8351b15c6
Merge branch 'master' into fix-s2
2023-07-19 15:44:13 +02:00
Nikita Mikhaylov
777026e42e
Fix test
2023-07-19 13:43:40 +00:00
Dmitry Kardymon
9f7e40e8e5
Remove empty line
2023-07-19 13:43:22 +00:00
Dmitry Kardymon
688b55b6ff
Try to fix test, rename arg
2023-07-19 13:29:07 +00:00
Azat Khuzhin
53818dde8c
MergeTree/ReplicatedMergeTree should use server timezone for log entries
...
Otherwise session_timezone/use_client_time_zone will break things
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-19 15:25:15 +02:00
Robert Schulze
bdaf82922a
Use formatAST()
2023-07-19 12:56:15 +00:00
Robert Schulze
3eb23d899f
Merge remote-tracking branch 'rschu1ze/master' into beautify-system-query-cache
2023-07-19 12:55:09 +00:00
Kruglov Pavel
f0026af189
Revert "Revert "Improve CSVInputFormat to check and set default value to column if deserialize failed""
2023-07-19 14:51:11 +02:00
Kruglov Pavel
7b3564f96a
Revert "Improve CSVInputFormat to check and set default value to column if deserialize failed"
2023-07-19 14:44:59 +02:00
Antonio Andelic
0c86df519f
Fix unspported disks in Keeper
2023-07-19 12:41:25 +00:00
robot-ch-test-poll4
63d0616a22
Merge pull request #51716 from KevinyhZou/bug_fix_csv_field_type_not_match
...
Improve CSVInputFormat to check and set default value to column if deserialize failed
2023-07-19 14:41:05 +02:00
Kruglov Pavel
06e366d7fb
Merge branch 'master' into fix-race-in-multiplexed-connections
2023-07-19 14:35:01 +02:00
Nikita Mikhaylov
ce36bf42cf
Merge pull request #52241 from Avogar/refactor-async-task-executor
...
Attempt to fix assert in tsan with fibers
2023-07-19 14:24:20 +02:00
alesapin
45a7134478
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-19 14:04:59 +02:00
kevinyhzou
dcf7ba2534
remove unuseful code
2023-07-19 19:36:19 +08:00
Song Liyong
7837559dbf
MaterializedMySQL: Support CREATE TABLE AS SELECT
2023-07-19 13:33:02 +02:00
kevinyhzou
94796f28ad
ci fix
2023-07-19 19:24:16 +08:00
Amos Bird
2ebbbf0000
Also need to fix aggregate projections
2023-07-19 19:13:45 +08:00
kevinyhzou
95424177d5
review fix
2023-07-19 18:26:54 +08:00
alesapin
16d8631e01
Merge branch 'master' into try_without_mmap
2023-07-19 12:01:39 +02:00
alesapin
f8fa79c30f
Merge branch 'master' into fix_test_producing_no_such_key
2023-07-19 11:59:23 +02:00
Robert Schulze
f22452c78c
Beautify pretty-printing of the query string in SYSTEM.QUERY_CACHE.
...
Output of SYSTEM.QUERY_CACHE
- before this PR:
SELECT * FROM system.query_cache
Query id: 4989008b-b84c-4e57-bfe5-7fb551814812
Row 1:
──────
query: SELECT 1 SETTINGS
[...]
- after this PR:
SELECT * FROM system.query_cache
Query id: 4989008b-b84c-4e57-bfe5-7fb551814812
Row 1:
──────
query: SELECT 1 SETTINGS use_query_cache = 1
[...]
2023-07-19 09:10:26 +00:00
vdimir
92f04d2c53
Merge pull request #52209 from mkmkme/mkmkme/first-line
2023-07-19 11:10:13 +02:00
Alexander Tokmakov
d051a2a128
Merge pull request #52208 from valbok/parse-ddl
...
MaterializedMySQL: Add tests to parse db and table names from DDL
2023-07-19 11:59:24 +03:00
Val Doroshchuk
fadce28da5
Merge branch 'master' into mysql-types
2023-07-19 10:53:33 +02:00
Salvatore Mesoraca
96f048f7f8
Convert output UInt128 to FixedString even if input is empty
2023-07-19 10:49:33 +02:00
Dmitry Kardymon
aa888ad64a
Separate thread mutex, add test
2023-07-19 08:46:57 +00:00
Ilya Golshtein
c1c5ffa309
test_for_basic_auth_registry - cpp code small improvement
2023-07-19 08:32:45 +00:00
dheerajathrey
8e1de7897a
indentation fix
2023-07-19 08:32:44 +00:00
dheerajathrey
1564eace38
enable url-encoded basic auth to fetch avro schema in kafka
2023-07-19 08:32:44 +00:00
Sema Checherinda
ed5310ce48
Merge branch 'master' into last_removal_attempt_time_typo
2023-07-19 10:23:25 +02:00
Chen768959
549026f0ae
fix style error
...
fix Trailing whitespaces
2023-07-19 16:11:14 +08:00
Amos Bird
629e0e0269
Fix projection analysis with primary key analysis
2023-07-19 16:06:21 +08:00
Han Fei
e8be6ec23f
Merge branch 'master' into hanfei/support-insert-token
2023-07-19 10:06:03 +02:00
Dmitry Kardymon
d601d86fad
Remove empty line
2023-07-19 07:22:25 +00:00
Dmitry Kardymon
65de310137
Return back SystemLogBase
2023-07-19 06:15:57 +00:00
Chen768959
cb882c8e4c
Merge branch 'ClickHouse:master' into fix-50582
2023-07-19 13:45:25 +08:00
Alex Cheng
f525d48a3a
Merge branch 'master' into correct_exception_message
2023-07-19 13:27:48 +08:00
robot-clickhouse-ci-1
32b765a4ba
Merge pull request #50559 from zvonand/zvonand-issue-49290
...
Add support for multi-directory globs
2023-07-19 06:24:38 +02:00
Amos Bird
c3b8978023
Don't use minmax_count projections when counting nullable columns
2023-07-19 11:56:28 +08:00
Lloyd-Pottiger
fc7743ad68
Merge branch 'master' into add-alias-for-today-and-now
2023-07-19 10:20:11 +08:00
Alexey Milovidov
0789f388c3
Update ArrowFieldIndexUtil.h
2023-07-19 02:45:56 +03:00
Alexey Milovidov
6d915042a2
Fix ugly code
2023-07-19 01:44:20 +02:00
Alexey Milovidov
416433d402
Merge pull request #52161 from ClickHouse/fix-group-array-moving
...
Fix error in `groupArrayMoving` functions
2023-07-19 02:03:53 +03:00
Kseniia Sumarokova
1545ad3389
Merge branch 'master' into fix-pg-sync-tables-exception-broken-sync
2023-07-18 23:19:01 +02:00
Dmitry Kardymon
9b951e965b
Restore define
2023-07-18 19:48:43 +00:00
Alexey Milovidov
482c8b5cde
Merge pull request #52158 from ClickHouse/fix-unexpected-ast-set
...
Fix unexpected AST Set
2023-07-18 22:17:51 +03:00
Dmitry Kardymon
4e1bdc7db9
Merge remote-tracking branch 'origin/master' into ADQM-868
2023-07-18 18:21:04 +00:00
Dmitry Kardymon
9d0391e6fb
Add ifndef to fix build
2023-07-18 18:13:57 +00:00
vdimir
25eee81746
Fix temp data deletion on startup, add test
2023-07-18 16:29:21 +00:00
Alexey Milovidov
8d10dd71f7
Merge pull request #52172 from ClickHouse/fix-crash-query-analysis
...
Fix crash in comparison functions due to incorrect query analysis
2023-07-18 18:53:41 +03:00
alesapin
cf0b58a831
Merge pull request #52197 from ClickHouse/fix_sticky_mutations_test
...
Fix sticky mutations test (and extremely rare race condition)
2023-07-18 16:49:31 +02:00
Dmitry Kardymon
f091baaa0f
Remove whitespaces
2023-07-18 14:33:26 +00:00
Nikita Mikhaylov
423d4b5f9e
Merge pull request #52256 from ClickHouse/undefined-behaviour-fuzzer
...
Fix undefined behaviour in fuzzer
2023-07-18 16:31:11 +02:00
Nikita Mikhaylov
a06631f0db
Better detecting invalid figures
2023-07-18 16:26:10 +02:00
Salvatore Mesoraca
f6bbc4bce9
Use getData instead of get64
2023-07-18 16:04:48 +02:00
Salvatore Mesoraca
5282fc2c34
Fix class name
2023-07-18 16:04:47 +02:00
Chen768959
9b7ecbaa27
fix issue#50582
...
The buildInputOrderInfo() method in optimizeReadInOrder.cpp adds constant columns to order_key_prefix_descr. However, since header_without_constants does not contain constant columns, the constant columns in description_sorted_ also need to be removed in advance.
2023-07-18 22:00:47 +08:00
Nikolai Kochetov
51c65e38ff
Merge pull request #52160 from ClickHouse/fix-has-token
...
Add a check for `hasToken`
2023-07-18 15:38:34 +02:00
Val Doroshchuk
79ba798ab5
Merge branch 'master' into parse-ddl
2023-07-18 15:19:13 +02:00
Val Doroshchuk
2a491b39ca
Merge branch 'master' into mysql-types
2023-07-18 15:18:45 +02:00
Antonio Andelic
681bf10c93
Check nullptr in fuzzer
2023-07-18 13:06:02 +00:00
Dmitry Kardymon
7466ef5837
Add index
2023-07-18 13:05:20 +00:00
alesapin
66531965f9
Merge pull request #52218 from ClickHouse/avoid_zero_copy
...
Use one copy replication more agressively
2023-07-18 14:46:52 +02:00
alesapin
f3f62097e5
Merge branch 'master' into fix_sticky_mutations_test
2023-07-18 14:46:24 +02:00
Ilya Yatsishin
73246b4788
Merge pull request #52056 from ClickHouse/ignore-create-index-query
...
Allow to ignore CREATE INDEX query for better SQL syntax compatibility
2023-07-18 14:40:38 +02:00
Lloyd-Pottiger
a58ace75a2
Merge branch 'master' into add-alias-for-today-and-now
2023-07-18 20:32:32 +08:00
Nikolai Kochetov
58c5e91047
Merge pull request #52152 from amosbird/add_optimize_use_implicit_projections
...
Disable implicit projections by default
2023-07-18 14:32:04 +02:00
Nikita Mikhaylov
2aa339fb2c
Merge pull request #52227 from ClickHouse/slightly-better-diagnostics-2
...
Slightly better diagnostics in a test
2023-07-18 14:21:49 +02:00
alesapin
c752acf3fc
Merge branch 'master' into avoid_zero_copy
2023-07-18 14:07:52 +02:00
Kruglov Pavel
37054e7b47
Merge pull request #51603 from Avogar/full-filename-placeholder
...
Add placeholder for full filename in rename_files_after_processing setting
2023-07-18 13:37:06 +02:00
Kruglov Pavel
6985bf0cdb
Merge branch 'master' into row-binary-with-defaults
2023-07-18 13:36:56 +02:00
Kruglov Pavel
8057be547c
Merge branch 'master' into async-connect-to-multiple-ips
2023-07-18 13:31:23 +02:00
Nikolai Kochetov
b542fe364a
Merge pull request #52223 from ClickHouse/rename-constants-in-key-condition
...
Fix 01889_key_condition_function_chains for analyzer.
2023-07-18 13:19:02 +02:00
Nikolai Kochetov
d69df6975f
Merge branch 'master' into add_optimize_use_implicit_projections
2023-07-18 13:17:12 +02:00
avogar
a74a56b0d7
Attempt to fix assert in tsan with fibers
2023-07-18 11:06:16 +00:00
Nikolai Kochetov
83e9ec117c
Merge pull request #51481 from ClickHouse/fix-the-same-names-for-lift-up-functions-before-sorting
...
Fix optimization to move functions before sorting.
2023-07-18 12:34:51 +02:00
kssenii
353b0f817a
Merge remote-tracking branch 'origin/fix-pg-sync-tables-exception-broken-sync' into fix-pg-sync-tables-exception-broken-sync
2023-07-18 12:26:17 +02:00
kssenii
0cfd12aba4
Fix
2023-07-18 12:24:04 +02:00
Dmitry Kardymon
ed60bb90b2
Move code to be more beautiful in pr
2023-07-18 10:22:07 +00:00
Dmitry Kardymon
6b00a38aa4
Remove SystemLogBase (wip)
2023-07-18 10:06:44 +00:00
Mikhail Koviazin
4f7fd69883
Added function firstLine to extract the first line from a multiline string
...
Fixes #51172
2023-07-18 12:18:26 +03:00
Raúl Marín
169c90a8c5
Merge remote-tracking branch 'blessed/master' into happy_grandma
2023-07-18 11:01:26 +02:00
Raúl Marín
ed4c560e33
Accept paths without ancestors
2023-07-18 11:00:13 +02:00
Salvatore Mesoraca
693892801c
Re-add keyed SipHash and fix issues with current keyed hashes framwork
2023-07-18 10:29:50 +02:00
Mikhail Koviazin
562ea03ce7
FunctionsURL.h to StringHelpers.h and move out of URL/
2023-07-18 11:16:52 +03:00
Alexander Gololobov
44595b98d0
Update src/Storages/System/StorageSystemDatabases.cpp
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-07-18 08:25:38 +02:00
Alexander Gololobov
2f6bf4590b
Filter databases list before querying potentially slow fields
2023-07-18 08:25:37 +02:00
Duc Canh Le
9b7df9e12e
fix for analyzer
2023-07-18 05:51:55 +00:00
Vitaly Baranov
4963cfba39
Merge branch 'master' into no-keep-context-lock-while-calculating-access
2023-07-18 07:35:39 +02:00
Lloyd-Pottiger
9d11385543
Merge branch 'master' into add-alias-for-today-and-now
2023-07-18 10:29:49 +08:00
Amos Bird
c782689c2d
added to compatibility setting
2023-07-18 09:50:44 +08:00
Amos Bird
d8dd480cd7
Disable implicit projections by default
2023-07-18 09:50:41 +08:00
Alexey Milovidov
182d8b8f08
Remove useless header
2023-07-18 02:37:30 +02:00
Alexey Milovidov
203ec1d230
Merge branch 'master' into fix-group-array-moving
2023-07-18 03:29:14 +03:00
Alexey Milovidov
218a1c7eb8
Merge branch 'master' into fix-has-token
2023-07-18 03:05:28 +03:00
Alexey Milovidov
f4e095b502
Merge pull request #52149 from ucasfl/array_concat_agg
...
Add array_concat_agg for compatibility with BigQuery
2023-07-18 03:03:27 +03:00
Alexey Milovidov
272dadc637
Merge branch 'master' into fix-race-in-multiplexed-connections
2023-07-18 01:20:09 +03:00
Han Fei
4043174a81
fix special build
2023-07-17 23:46:45 +02:00
Val Doroshchuk
38efdd2063
Merge branch 'master' into parse-ddl
2023-07-17 23:00:01 +02:00
robot-clickhouse-ci-1
2b1be4b89d
Merge pull request #52063 from valbok/disconnect-on-dtor
...
MySQL: Delay disconnection of mysqlxx::Pool::Entry until refcount==0
2023-07-17 22:29:58 +02:00
Alexey Milovidov
da29166f08
Merge branch 'master' into fix-unexpected-ast-set
2023-07-17 23:17:55 +03:00
Alexey Milovidov
4b8aa3a012
Merge branch 'master' into fix-crash-query-analysis
2023-07-17 23:14:46 +03:00
Alexey Milovidov
4884022fda
Merge branch 'master' into zvonand-issue-49290
2023-07-17 23:03:50 +03:00
Kruglov Pavel
4ed8dcd436
Merge branch 'master' into async-connect-to-multiple-ips
2023-07-17 21:02:33 +02:00
Nikolai Kochetov
a955d5621d
Rename constants in KeyCondition analysis.
2023-07-17 18:53:12 +00:00
Alexey Milovidov
4143779ac5
Merge branch 'master' into vdimir/asof_join_no_syntax_pushdown
2023-07-17 21:36:56 +03:00
Alexander Sapin
2db14e36b4
Fix build
2023-07-17 19:15:07 +02:00
Kruglov Pavel
d3d0f101f7
Merge branch 'master' into full-filename-placeholder
2023-07-17 19:14:10 +02:00
Kruglov Pavel
1e616e17ab
Merge branch 'master' into row-binary-with-defaults
2023-07-17 19:13:57 +02:00
Nikita Mikhaylov
ee0bbc0e54
Merge branch 'master' into headers-blacklist
2023-07-17 19:08:52 +02:00
Alexander Sapin
b70349852c
Better message on timeout and fix test
2023-07-17 19:02:29 +02:00
Alexander Sapin
918e3f7712
Fix flaky test
2023-07-17 18:41:12 +02:00
Dmitry Kardymon
76abbce918
Trying to add methods to queue
2023-07-17 16:33:04 +00:00
Kruglov Pavel
2793305a71
Merge pull request #51825 from ucasfl/schema
...
Fix use_structure_from_insertion_table_in_table_functions does not work with materialized and alias columns
2023-07-17 18:25:54 +02:00
Nikita Mikhaylov
d4c8383627
Merge pull request #52216 from ClickHouse/revert-51736-oss-fuzz-fixes
...
Revert "Fixed several issues found by OSS-Fuzz"
2023-07-17 17:19:18 +02:00
avogar
2abd69d921
Fix data race on Connection::setAsyncCallback
2023-07-17 15:14:54 +00:00
Vitaly Baranov
fff1ae7369
Use default destructor for ContextAccess.
2023-07-17 17:14:00 +02:00
vdimir
5de1cfee7d
Merge pull request #51735 from arenadata/ADQM-976
2023-07-17 16:24:11 +02:00
Robert Schulze
e71efe5c5c
Merge branch 'master' into show-index-better-mysql-compat
2023-07-17 16:19:51 +02:00
Nikita Mikhaylov
9a30aaa9aa
Revert "Fixed several issues found by OSS-Fuzz"
2023-07-17 16:14:58 +02:00
Alexander Sapin
2ad1109dbd
Avoid zero copy replication more agressively
2023-07-17 16:03:39 +02:00
Andrey Zvonov
d339c22a2f
Merge branch 'master' into zvonand-issue-49290
2023-07-17 16:43:15 +03:00
Val Doroshchuk
d36d69c23c
MaterializedMySQL: Replace to_string by magic_enum::enum_name
2023-07-17 15:42:02 +02:00
Vitaly Baranov
2379d8c9d5
Revert unnecessary improving in ContextAccessCache for now.
2023-07-17 15:13:41 +02:00
Vitaly Baranov
815a3857de
Remove non-const function Context::getClientInfo().
2023-07-17 15:02:07 +02:00
Han Fei
68751b88f3
change comments
2023-07-17 15:01:48 +02:00
Val Doroshchuk
4da0782e55
MaterializedMySQL: Add tests to parse db and table names from DDL
2023-07-17 15:01:06 +02:00
Vitaly Baranov
0e4b75a282
Avoid keeping lock Context::getLock() while calculating access rights when a user logs in.
2023-07-17 14:59:14 +02:00
Vitaly Baranov
018546a57d
Avoid keeping lock Context::getLock() while recalculating access rights of a connected user.
2023-07-17 14:59:14 +02:00
Han Fei
b75c4ae2e5
Merge branch 'master' into hanfei/support-insert-token
2023-07-17 14:57:48 +02:00