Maksim Kita
bf08f3ef5a
Revert "Inserting only non-duplicate chunks in MV"
2023-11-10 21:21:13 +03:00
Alexey Milovidov
8c253b9e3e
Remove C++ templates
2023-11-10 05:25:02 +01:00
Amos Bird
51ca7d05fb
Fix tests
2023-11-10 10:23:03 +08:00
Amos Bird
16578d97a3
Fix two cases of projection analysis.
...
1. Fix projection analysis with partitions.
2. Apply alter conversions during projection analysis.
2023-11-10 10:23:02 +08:00
Nikolai Kochetov
0bfa2b6975
Merge pull request #56254 from ClickHouse/aggregate-by-partition-analyzer
...
Properly process aliases for aggregation-by-partition optimization.
2023-11-09 12:49:25 +01:00
Igor Nikonov
7c4d197ca5
Merge branch 'master' into pr-cleanup-remote-source
2023-11-08 19:38:15 +01:00
Yarik Briukhovetskyi
b8ea31db43
Merge pull request #56309 from yariks5s/preferred_optimize_projection_name
...
New setting preferred_projection_name
2023-11-08 18:06:03 +01:00
Nikolai Kochetov
7eacea4c51
Update src/Processors/QueryPlan/Optimizations/useDataParallelAggregation.cpp
...
Co-authored-by: Nikita Taranov <nikita.taranov@clickhouse.com>
2023-11-08 17:28:57 +01:00
taiyang-li
6199bb83a9
Merge branch 'master' into orc_tuple_field_prune
2023-11-08 14:54:12 +08:00
yariks5s
6f6454e696
style check
2023-11-07 18:12:56 +00:00
yariks5s
181231d500
init
2023-11-07 17:56:02 +00:00
Robert Schulze
32a3b1b049
Merge remote-tracking branch 'rschu1ze/master' into idatatype-convenience-functions
2023-11-07 15:17:59 +00:00
Sema Checherinda
02df5ac59c
Merge pull request #54340 from KevinyhZou/bug_fix_csv_parse_crlf
...
Fix CSV read while the end of line is CR(\r)
2023-11-07 12:51:05 +01:00
Robert Schulze
54b5d573d7
Merge remote-tracking branch 'rschu1ze/master' into idatatype-convenience-functions
2023-11-07 10:18:30 +00:00
yariks5s
2e03462d87
style fix
2023-11-06 22:26:35 +00:00
edef
a52e22a858
Support reading arrow::LargeListArray
2023-11-06 21:17:29 +00:00
yariks5s
faba36225e
fixed tests
2023-11-06 19:10:00 +00:00
yariks5s
ec32c23f0c
style check
2023-11-06 15:25:14 +00:00
yariks5s
7206419a6b
Merge branch 'preferred_optimize_projection_name' of github.com:yariks5s/ClickHouse into preferred_optimize_projection_name
2023-11-06 14:30:33 +00:00
yariks5s
e48e6b6a5a
fixed review, changed tests
2023-11-06 14:30:10 +00:00
Robert Schulze
8896134531
Cleanup IDataType convenience functions
2023-11-06 13:25:32 +00:00
Alexander Tokmakov
eba52b318d
Merge pull request #56272 from ClickHouse/rdb_fix_rare_logical_error
...
Fix rare logical error in Replicated database
2023-11-06 14:14:55 +01:00
kevinyhzou
2a50daf5dd
Allow cr at end of csv line
2023-11-06 12:21:42 +08:00
kevinyhzou
ef30e6723d
bug fix csv read while end of line is not crlf
2023-11-06 12:21:42 +08:00
Igor Nikonov
9bdcba1b20
Merge branch 'master' into pr-progress-bar
2023-11-05 00:09:46 +01:00
Alexey Milovidov
36d18acf35
Merge pull request #55007 from Alex-Cheng/refactor-MergeJoinTransform
...
Refactor merge join transform
2023-11-04 17:08:07 +01:00
taiyang-li
8e23dd9090
add some comments
2023-11-04 10:08:26 +08:00
taiyang-li
8a6ae6e150
change as request
2023-11-04 09:41:01 +08:00
Dmitry Novik
23564148f9
Merge remote-tracking branch 'origin/master' into parallel-window
2023-11-03 17:53:51 +00:00
yariks5s
6d9b517b19
fix suggestions
2023-11-03 17:21:37 +00:00
Yarik Briukhovetskyi
92588dfac7
style fix
2023-11-03 18:07:19 +01:00
yariks5s
d95262622b
init
2023-11-03 16:47:06 +00:00
Kruglov Pavel
7e4742f68a
Merge pull request #56167 from ClickHouse/revert-56150-revert-55989-lc-as-arrow-dict-fix
...
Revert "Revert "Fix output/input of Arrow dictionary column""
2023-11-03 16:18:10 +00:00
yariks5s
4235c690d4
init commit
2023-11-03 15:14:25 +00:00
vdimir
86524fce0f
Merge pull request #56246 from ClickHouse/vdimir/analyzer_01019_alter_materialized_view
...
Analyzer: fix 01019_alter_materialized_view_consistent
2023-11-03 11:04:14 +01:00
taiyang-li
4b7146d47e
remove useless codes
2023-11-03 16:03:26 +08:00
Alexander Tokmakov
0ce1560e5d
retry if table replica being restarted
2023-11-02 18:30:32 +01:00
Nikolai Kochetov
80d4e9a045
Merge branch 'master' into aggregate-by-partition-analyzer
2023-11-02 11:21:38 +00:00
Alexey Milovidov
1267246785
Merge pull request #55642 from ClickHouse/morton-utils
...
Indexing by space-filling curves
2023-11-02 12:21:33 +01:00
Nikolai Kochetov
5b6bf58730
Proper process aliases for aggregation-by-partition optimization.
2023-11-02 11:19:37 +00:00
vdimir
5703e0995b
Analyzer: fix 01019_alter_materialized_view_consistent
2023-11-02 10:27:22 +00:00
taiyang-li
819c7e75ff
Merge branch 'master' into orc_tuple_field_prune
2023-11-02 17:52:05 +08:00
taiyang-li
6ccde98943
change as request
2023-11-02 11:01:50 +08:00
李扬
424f1bec93
Apply suggestions from code review
...
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2023-11-02 10:30:28 +08:00
李扬
c899ff9da2
Apply suggestions from code review
...
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2023-11-02 10:30:14 +08:00
Alexey Milovidov
697f2591b9
Merge with master
2023-11-02 00:33:33 +01:00
Kruglov Pavel
aa7c1f63ab
Merge pull request #56172 from Avogar/fix-schema-cache-for-json
...
Fix schema cache for fallback JSON->JSONEachRow with changed settings
2023-11-01 20:24:34 +01:00
Kruglov Pavel
e6f00d5e1d
Merge pull request #56117 from bigo-sg/fixed_struct_field_prune
...
Improve parquet struct fields reading
2023-11-01 15:32:50 +01:00
Kruglov Pavel
bf77ce691c
Merge pull request #55982 from yariks5s/npy_input_format
...
New input format Npy
2023-11-01 14:26:22 +01:00
taiyang-li
dc897215da
fix failed uts tests/queries/0_stateless/02312_parquet_orc_arrow_names_tuples.sql
2023-11-01 20:42:07 +08:00
Nikolai Kochetov
4deaf7cefb
Merge pull request #56134 from yariks5s/force_optimize_projection_name
...
Implementing force_optimize_projection_name
2023-11-01 13:12:10 +01:00
taiyang-li
24c45a4ee0
fix failed uts
2023-11-01 18:47:11 +08:00
taiyang-li
001cbe7912
fix typos
2023-11-01 16:58:25 +08:00
taiyang-li
b276587422
fix failed uts
2023-11-01 15:43:20 +08:00
lgbo-ustc
8334585eaf
improve parquet struct field reading
2023-11-01 15:18:39 +08:00
Alex Cheng
9e31858100
Merge branch 'ClickHouse:master' into refactor-MergeJoinTransform
2023-11-01 09:32:28 +08:00
yariks5s
6c4bf59021
fix suggestions and enhance tests
2023-10-31 18:10:55 +00:00
avogar
518e52473d
Fix schema cache for fallback JSON->JSONEachRow with changed settings
2023-10-31 14:12:38 +00:00
Kruglov Pavel
4faa3d0294
Revert "Revert "Fix output/input of Arrow dictionary column""
2023-10-31 12:30:45 +01:00
Nikolai Kochetov
f748f12426
Merge pull request #51746 from ClickHouse/fix-read-in-order-with-array-join
...
Fix 'Cannot find column' in read-in-order optimization with ARRAY JOIN
2023-10-31 11:51:01 +01:00
Nikolai Kochetov
0523e6cbd0
Merge pull request #53282 from ClickHouse/planner-prepare-filters-for-analysis-2
...
Support skip_unused_shards in Analyzer
2023-10-31 11:33:59 +01:00
Alexey Milovidov
467b4d85e2
Revert "Fix output/input of Arrow dictionary column"
2023-10-31 09:28:09 +03:00
taiyang-li
c97b2c5be7
fix code style
2023-10-31 12:00:45 +08:00
taiyang-li
e5db57204d
fix bugs
2023-10-31 11:57:47 +08:00
taiyang-li
b72341e1a8
Merge branch 'master' into orc_tuple_field_prune
2023-10-31 10:07:43 +08:00
Han Fei
1237cef26d
address comments
2023-10-31 00:53:46 +01:00
Kruglov Pavel
4c2a132d96
Merge pull request #55989 from Avogar/lc-as-arrow-dict-fix
...
Fix output/input of Arrow dictionary column
2023-10-30 20:47:49 +01:00
Kruglov Pavel
4effc676f9
Merge pull request #56046 from Avogar/cr-in-unquoted-csv-string
...
Allow unquoted strings with CR in CSV format
2023-10-30 20:46:20 +01:00
Nikolai Kochetov
84f6a243b7
Merge branch 'master' into fix-read-in-order-with-array-join
2023-10-30 16:35:31 +00:00
yariks5s
03236c48ed
init
2023-10-30 16:21:50 +00:00
yariks5s
9a2d89e3e4
removed getSize() and enhanced docs
2023-10-30 12:42:19 +00:00
taiyang-li
ad67b6c2ea
allow tuple field pruning
2023-10-30 19:33:06 +08:00
Nikolai Kochetov
554ceb4e1d
Merge branch 'master' into planner-prepare-filters-for-analysis-2
2023-10-30 11:56:30 +01:00
Maksim Kita
f8e209ebd2
WindowTransform decrease amount of virtual function calls
2023-10-30 13:50:25 +03:00
Kruglov Pavel
c10a3b3838
Merge branch 'master' into lc-as-arrow-dict-fix
2023-10-30 11:20:57 +01:00
avogar
57bc4854c2
Fix
2023-10-30 10:17:49 +00:00
avogar
d1fcbc6e47
Fix fetching schema from schema registry in AvroConfluent
2023-10-30 10:17:48 +00:00
Han Fei
19cdc6dfe2
Merge branch 'master' into hanfei/statistic
2023-10-30 04:53:18 +01:00
yariks5s
e14a7f066a
fix typos
2023-10-28 01:46:59 +00:00
yariks5s
894724bfb3
suggested changes
2023-10-28 01:17:25 +00:00
yariks5s
23635352f1
fixed due to review
2023-10-27 15:43:03 +00:00
Kruglov Pavel
bb4b95e891
Merge branch 'master' into schema-inference-union
2023-10-27 14:53:58 +02:00
frinkr
18c50c11b3
Multithreading after window functions ( #50771 )
...
* feat: Preserve number of streams after evaluation the window functions to allow parallel stream processing
* fix style
* fix style
* fix style
* setting query_plan_preserve_num_streams_after_window_functions default true
* fix tests by SETTINGS query_plan_preserve_num_streams_after_window_functions=0
* fix test references
* Resize the streams after the last window function, to keep the order between WindowTransforms (and WindowTransform works on single stream anyway).
* feat: Preserve number of streams after evaluation the window functions to allow parallel stream processing
* fix style
* fix style
* fix style
* setting query_plan_preserve_num_streams_after_window_functions default true
* fix tests by SETTINGS query_plan_preserve_num_streams_after_window_functions=0
* fix test references
* Resize the streams after the last window function, to keep the order between WindowTransforms (and WindowTransform works on single stream anyway).
* add perf test
* perf: change the dataset from 50M to 5M
* rename query_plan_preserve_num_streams_after_window_functions -> query_plan_enable_multithreading_after_window_functions
* update test reference
* fix clang-tidy
---------
Co-authored-by: Nikita Taranov <nikita.taranov@clickhouse.com>
2023-10-27 12:36:28 +02:00
Kruglov Pavel
570b66f027
Merge branch 'master' into schema-inference-union
2023-10-26 19:26:00 +02:00
avogar
9d207bf027
Allow unquoted strings with CR in CSV format
2023-10-26 13:50:54 +00:00
zvonand
0766c73aab
Rename date_time_overflow_mode -> date_time_overflow_behavior, moved it to format settings
2023-10-25 23:11:13 +02:00
zvonand
5b86e8c714
updated after review
2023-10-25 23:10:58 +02:00
zvonand
2f3695add8
Introduce setting for dt overflow exception
...
Added tests and docs
2023-10-25 23:10:24 +02:00
Alexey Milovidov
bb5a60dc19
Merge pull request #55893 from ClickHouse/revert-partial-result-2
...
Revert "Revert "Revert "Add settings for real-time updates during query execution"""
2023-10-25 22:20:28 +02:00
Igor Nikonov
1a5d485c6c
Merge branch 'master' into pr-progress-bar
2023-10-25 19:53:20 +02:00
yariks5s
2ab1ae42c1
added docs and tests, style check
2023-10-25 10:37:05 +00:00
Igor Nikonov
fafe452f1e
Merge branch 'master' into pr-cleanup-remote-source
2023-10-25 11:48:23 +02:00
robot-ch-test-poll1
ef78889aa2
Merge pull request #55952 from ClickHouse/disable_apply_deleted_mask
...
Added a setting to allow reading rows marked as deleted
2023-10-25 01:14:07 +02:00
Igor Nikonov
7b7f100250
Merge remote-tracking branch 'origin/master' into pr-progress-bar
2023-10-24 21:02:29 +00:00
Igor Nikonov
c3bd80f1c8
Set progress callback in constructor
2023-10-24 21:02:20 +00:00
avogar
c080ba9d7e
Fix output LowCardinality as Arrow dictionary
2023-10-24 19:49:04 +00:00
李扬
465962df7f
Support orc filter push down (file + stripe + rowgroup level) ( #55330 )
...
* support orc filter push down
* update orc lib version
* replace setqueryinfo with setkeycondition
* fix issue https://github.com/ClickHouse/ClickHouse/issues/53536
* refactor source with key condition
* fix building error
* remove std::cout
* update orc
* update orc version
* fix bugs
* improve code
* upgrade orc lib
* fix code style
* change as requested
* add performance tests for orc filter push down
* add performance tests for orc filter push down
* fix all bugs
* fix default as null issue
* add uts for null as default issues
* upgrade orc lib
* fix failed orc lib uts and fix typo
* fix failed uts
* fix failed uts
* fix ast fuzzer tests
* fix bug of uint64 overflow in https://s3.amazonaws.com/clickhouse-test-reports/55330/de22fdcaea2e12c96f300e95f59beba84401712d/fuzzer_astfuzzerubsan/report.html
* fix asan fatal caused by reused column vector batch in native orc input format. refer to https://s3.amazonaws.com/clickhouse-test-reports/55330/be39d23af2d7e27f5ec7f168947cf75aeaabf674/stateless_tests__asan__[4_4].htm
* fix wrong performance tests
* disable 02892_orc_filter_pushdown on aarch64. https://s3.amazonaws.com/clickhouse-test-reports/55330/be39d23af2d7e27f5ec7f168947cf75aeaabf674/stateless_tests__aarch64_.html
* add some comments
* add some comments
* inline range::equals and range::less
* fix data race of key condition
* trigger ci
2023-10-24 12:08:17 -07:00
yariks5s
4e09fb3e27
made_logic
2023-10-24 14:55:52 +00:00
Igor Nikonov
2c055480d6
Remove unnecessary flag
2023-10-24 14:52:47 +00:00
Kruglov Pavel
9a56ec4d63
Merge pull request #55891 from Avogar/try-fix-orc
...
Try to fix possible segfault in Native ORC input format
2023-10-24 13:57:43 +02:00
Alexander Gololobov
959b8b64bd
Added a setting to allow reading rows marked as deleted
2023-10-23 19:59:17 +02:00
Robert Schulze
bef5cea5a0
Merge remote-tracking branch 'rschu1ze/master' into string-addinterval
2023-10-23 14:08:18 +00:00
Igor Nikonov
0bbf7ba921
Merge branch 'master' into pr-progress-bar
2023-10-23 14:56:59 +02:00
Kruglov Pavel
32da07b4ee
Merge pull request #55695 from Avogar/restrict-iceberg
...
Fixes and improvements for Iceberg storage
2023-10-23 13:58:23 +02:00
Alex Cheng
49b3136491
Merge branch 'ClickHouse:master' into refactor-MergeJoinTransform
2023-10-23 09:56:22 +08:00
Robert Schulze
c2215cb5f0
Support string arguments
2023-10-22 09:28:45 +00:00
Alexey Milovidov
5217d64551
Remove garbage
2023-10-22 01:53:50 +02:00
Alexey Milovidov
1be4ff229b
Merge pull request #55895 from ClickHouse/fix-window-functions-with-sparse-columns
...
Fix window functions in case of sparse columns.
2023-10-22 00:02:34 +02:00
János Benjamin Antal
1b0cadebd0
Convert sparse columns to full for window functions
2023-10-21 11:46:25 +00:00
Igor Nikonov
e378d920c4
Merge branch 'master' into pr-progress-bar
2023-10-21 13:16:12 +02:00
Alexey Milovidov
7ec4b99e94
Revert partial result
2023-10-21 03:14:22 +02:00
Kruglov Pavel
6f61ccfe28
Merge branch 'master' into schema-inference-union
2023-10-20 22:54:11 +02:00
avogar
6934e27e8b
Add union mode for schema inference to infer union schema of files with different schemas
2023-10-20 20:46:41 +00:00
avogar
8cc0dc17eb
Try to fix possible segfault in Native ORC input format
2023-10-20 18:50:48 +00:00
yariks5s
87f26f5132
dealt with 2dim arrays
2023-10-20 17:05:05 +00:00
Anton Popov
5819bcd07a
Support asynchronous inserts for native protocol ( #54730 )
...
* support async insert for native protocol
* use separate queue for async inserts via native protocol
* fix test
* better logging for async inserts and more tests
* disable mixed internal and external data in async inserts
* fix tests
* fix quota in async inserts
* disable async insert for secondary query of distributed
2023-10-20 18:39:48 +02:00
Raúl Marín
d08ce13107
Merge pull request #51692 from Algunenano/parallel_replicas_row_estimation
...
Automatic decision of nº of parallel replicas
2023-10-20 15:50:43 +02:00
Azat Khuzhin
d5c960ceb6
Fix data race in CreatingSetsTransform
...
The problem is that findOrPromiseToBuild() can also call
shared_future::get():
(lldb) bt 10
* thread 194, name = 'MergeMutate', stop reason = step over
* frame 0: 0x0000564126046bd2 clickhouse`std::rethrow_exception(p=(__ptr_ = 0x00007b5000130c80)) at exception_pointer_cxxabi.ipp:68:39
frame 1: 0x000056411c4c5ddd clickhouse`std::__1::__assoc_state<std::__1::shared_ptr<DB::Set>>::copy(this=<unavailable>) at future:701:9
frame 2: 0x000056411c4c0e3f clickhouse`DB::PreparedSetsCache::findOrPromiseToBuild(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) [inlined] std::__1::shared_future<std::__1::shared_ptr<DB::Set>>::get[abi:v15000](this=0x00007b0c00154eb8) const at future:2243:46
frame 3: 0x000056411c4c0e2e clickhouse`DB::PreparedSetsCache::findOrPromiseToBuild(this=0x00007b1c00077018, key="__set_10438532338982543705_15680061365857338647") at PreparedSets.cpp:349:116
Note, that my test did not find the problem because of #55261 had not
been merged yet.
Follow-up for: #55338
Fixes : #55279
v2: s/createDeprecated/createRuntime/
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-19 12:26:02 +02:00
yariks5s
6dc88a4ca4
new changes
2023-10-18 18:02:05 +00:00
Dmitry Novik
5ca43e51c1
Remove unused code
2023-10-17 20:45:00 +00:00
avogar
323486f9e8
Add tests
2023-10-17 18:10:47 +00:00
Han Fei
4b23142775
Merge branch 'master' into hanfei/statistic
2023-10-17 16:40:31 +02:00
Raúl Marín
3eaf752284
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-17 11:36:39 +02:00
Alex Cheng
ce493b57f0
Merge branch 'ClickHouse:master' into refactor-MergeJoinTransform
2023-10-17 16:42:53 +08:00
Igor Nikonov
4b36761f89
Merge branch 'master' into pr-progress-bar
2023-10-17 10:36:32 +02:00
Michael Kolupaev
ce7eca0615
DWARF input format ( #55450 )
...
* Add ReadBufferFromFileBase::isRegularLocalFile()
* DWARF input format
* Review comments
* Changed things around ENABLE_EMBEDDED_COMPILER build setting
* Added 'ranges' column
* no-msan no-ubsan
2023-10-16 17:00:07 -07:00
Jiebin Sun
df17cd467b
Release more num_streams if data is small ( #53867 )
...
* Release more num_streams if data is small
Besides the sum_marks and min_marks_for_concurrent_read, we could also involve the
system cores to get the num_streams if the data is small. Increasing the num_streams
and decreasing the min_marks_for_concurrent_read would improve the parallel performance
if the system has plentiful cores.
Test the patch on 2x80 vCPUs system. Q39 of clickbench has got 3.3x performance improvement.
Q36 has got 2.6x performance improvement. The overall geomean has got 9% gain.
Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
* Release more num_streams if data is small
Change the min marks from 4 to 8 as the profit is small and 8 granules
is the default block size.
Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
---------
Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
2023-10-16 18:41:38 +02:00
Raúl Marín
f799f5d7a1
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-16 15:07:11 +02:00
Igor Nikonov
fdd7bfbb83
Merge remote-tracking branch 'origin/master' into pr-progress-bar
2023-10-16 12:59:00 +00:00
alesapin
3b02748cb6
Fix some typos
2023-10-15 15:43:02 +02:00
Alexander Tokmakov
e3e105d154
Merge pull request #55527 from azat/values-eof-check-fix
...
Fix checking of non handled data for Values format
2023-10-13 18:07:02 +02:00
yariks5s
cb08da617f
added read and parse impl
2023-10-13 15:16:07 +00:00
Dmitry Novik
d4be706ed4
Merge remote-tracking branch 'origin/master' into parallel-window
2023-10-13 13:20:38 +00:00
Raúl Marín
500dab9569
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-13 10:12:57 +02:00
Alexey Milovidov
8a1363bcf1
Merge pull request #49486 from bigo-sg/test_hive_null_as_default
...
Set defaults_for_omitted_fields to true for hive text format
2023-10-13 02:01:09 +02:00
Dmitry Novik
cec02c60e8
Merge remote-tracking branch 'origin/master' into parallel-window
2023-10-12 22:45:30 +00:00
Igor Nikonov
b220df93df
Remove unnecessary total rows update in parallel replicas
2023-10-12 21:33:25 +00:00
yariks5s
9ae025d7e6
mid commit
2023-10-12 17:37:59 +00:00
Alexey Milovidov
b53a98217c
Merge pull request #55489 from kitaisreal/external-aggregation-improve-performance
...
Improve performance of external aggregation with a lot of temporary files
2023-10-12 18:00:41 +02:00
Alexey Milovidov
e48fad0e24
Merge pull request #55495 from kitaisreal/aggregating-transform-init-generate-race-condition-fix
...
AggregatingTransform initGenerate race condition fix
2023-10-12 17:54:36 +02:00
Dmitry Novik
f31a6f2c0d
Support only Full Sort
2023-10-12 14:49:16 +00:00
Han Fei
42dc61abf5
Merge branch 'master' into hanfei/statistic
2023-10-12 16:19:45 +02:00
Azat Khuzhin
2cbb069b68
Add ability to ignore data after semicolon in Values format
...
This is required for client, to handle comments in multiquery mode.
v0: separate context for input format
v2: cannot use separate context since params and stuff are changed in global context
v3: do not sent this setting to the server (breaks queries for readonly profiles)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-12 14:55:26 +02:00
Antonio Andelic
22f5d6d708
Reset promise_to_build
2023-10-12 10:57:21 +00:00
Azat Khuzhin
f379d9cac5
Fix checking of non handled data for Values format
...
PeekableReadBuffer::hasUnreadData() does not checks the underlying
buffer, and so it simply ignore some issues, like:
INSERT INTO test_01179_str values ('foo'); ('bar')
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-12 12:25:08 +02:00
taiyang-li
7cd24d0af0
solve conflicts
2023-10-12 10:30:05 +08:00
Robert Schulze
7b14392675
Merge pull request #55481 from rschu1ze/better-use-mysql-types-in-show-columns
...
Make `use_mysql_types_in_show_columns` affect only `SHOW COLUMNS`
2023-10-12 00:36:46 +02:00
Maksim Kita
ae94055a29
Updated implementation
2023-10-11 19:01:00 +03:00
Maksim Kita
f9033bdf31
Improve performance of external aggregation with a lot of temporary files
2023-10-11 19:01:00 +03:00
Igor Nikonov
62060a0603
Merge remote-tracking branch 'origin/master' into pr-coordinator-usage-cleanup
2023-10-11 15:11:15 +00:00