kssenii
ec11179f91
Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers
2021-11-03 14:33:31 +03:00
kssenii
45ea820297
Reduce memory usage for some formats
2021-11-03 14:30:03 +03:00
Kruglov Pavel
2f950ee138
Merge pull request #30927 from CurtizJ/with-fill-interval
...
Support `INTERVAL` type in `STEP` clause for `WITH FILL` modifier
2021-11-03 11:23:21 +03:00
Anton Popov
44875ae79d
fix pvs check
2021-11-03 00:06:08 +03:00
Kseniia Sumarokova
065106c299
Merge pull request #30690 from kssenii/partitioned-write
...
Partitioned write for file, hdfs, url storages and table functions
2021-11-02 22:58:16 +03:00
Kseniia Sumarokova
4c675f0151
Merge pull request #30970 from kssenii/add-setting-for-remote-reads
...
Add settings for remote async reads
2021-11-02 15:28:09 +03:00
Kruglov Pavel
901ebcede6
Merge pull request #30351 from arenadata/ADQM-335
...
output_format_avro_rows_in_file
2021-11-02 12:25:27 +03:00
kssenii
53c0e1ae61
Add setting for remote reads
2021-11-01 18:14:18 +03:00
Ilya Golshtein
8efa1743cf
output_format_avro_rows_in_file fix and test for _timestamp
2021-11-01 13:09:18 +03:00
Anton Popov
aff2711f1a
support INTERVAL type in WITH FILL
2021-10-31 19:42:43 +03:00
mergify[bot]
1102b1dcef
Merge branch 'master' into tsv-csv
2021-10-31 12:03:24 +00:00
Anton Popov
5fe4bcd22e
fix WITH FILL with set TO and FROM and no rows in result set
2021-10-30 21:38:40 +03:00
Nikolai Kochetov
1404af4c1e
Fix style.
2021-10-30 17:47:50 +03:00
Nikolai Kochetov
73395e02be
Fix UpgradableLock.
2021-10-29 18:08:01 +03:00
Kruglov Pavel
7d4f211d5b
Merge branch 'master' into tsv-csv
2021-10-29 16:38:06 +03:00
Nikolai Kochetov
a482ed3db3
Add custom ugradable lock.
2021-10-29 15:34:55 +03:00
Nikolai Kochetov
6914efe2db
Fix build and pvs warning.
2021-10-28 20:41:20 +03:00
kssenii
d39840376f
Review fixes
2021-10-28 15:44:12 +03:00
Alexey Milovidov
8b4a6a2416
Remove cruft
2021-10-28 02:10:39 +03:00
avogar
b4aae86fff
Add comments, update docs
2021-10-27 22:16:48 +03:00
Kruglov Pavel
0715566cc0
Merge branch 'master' into tsv-csv
2021-10-27 17:52:49 +03:00
Nikolai Kochetov
f7ef8bc373
Use upgradable_lock from boost.
2021-10-27 17:26:00 +03:00
Nikolai Kochetov
42d4aa5b4c
Fix potrs order traverse.
2021-10-27 12:34:50 +03:00
Nikolai Kochetov
c7a07bafe0
Don't use a lot of stack for pipeline traverse.
2021-10-26 21:50:13 +03:00
alexey-milovidov
e7751c59f6
Merge pull request #30456 from CurtizJ/async-inserts-values
...
Support VALUES format in async inserts
2021-10-26 09:47:27 +03:00
kssenii
1d743b9259
Partitoned write
2021-10-25 19:23:44 +03:00
Nikolai Kochetov
05f42e2d07
Merge branch 'master' into refactor-pipeline-executor
2021-10-25 12:09:38 +03:00
alexey-milovidov
8c2413f6fe
Merge pull request #30562 from ClickHouse/fix-header-after-limit-push-down
...
Fix LimitStep header after limit push down optimization.
2021-10-24 00:19:02 +03:00
Anton Popov
cdfa36a181
Merge pull request #30266 from CurtizJ/aggregation-in-order-4
...
Improve performance of aggregation in order of primary key
2021-10-23 18:09:17 +03:00
Anton Popov
74cf57b4b0
fix for empty chunks
2021-10-22 21:48:03 +03:00
Anton Popov
7c458fbc4c
fix style check
2021-10-22 18:04:11 +03:00
Nikolai Kochetov
54cc8e1d27
Fix LimitStep header after limit push down optimization.
2021-10-22 16:19:49 +03:00
Anton Popov
151daf61c1
Merge pull request #30522 from azat/remove-check_columns
...
Remove check_columns argument from MergeTree code (false was never passed)
2021-10-22 14:06:49 +03:00
Nikolai Kochetov
1533f4af57
Merge pull request #30335 from ClickHouse/single-sorting-step
...
Single sorting step
2021-10-22 11:34:29 +03:00
Azat Khuzhin
496aa43a9f
Remove check_columns argument from MergeTree code (false was never passed)
2021-10-21 21:24:59 +03:00
Ilya Golshtein
82f33151e7
output_format_avro_rows_in_file fixes per code review
2021-10-21 02:53:39 +03:00
Nikita Mikhaylov
56869c0ec4
Merge pull request #30360 from nikitamikhaylov/allow-graphite-final
...
Allow to use FINAL clause in SELECT from GraphiteMergeTree
2021-10-20 19:57:44 +03:00
Anton Popov
6b34398e9c
support VALUES format in async inserts
2021-10-20 17:20:58 +03:00
avogar
872cca550a
Make better
2021-10-20 15:47:20 +03:00
mergify[bot]
0a4360c43e
Merge branch 'master' into tsv-csv
2021-10-20 11:57:06 +00:00
Kruglov Pavel
906d6da5d3
Update TabSeparatedRowInputFormat.cpp
2021-10-20 14:55:01 +03:00
avogar
7007286088
Fix WithNamesAndTypes parallel parsing, add new tests, small refactoring
2021-10-20 14:48:54 +03:00
Nikolai Kochetov
3c0451981b
Fix test.
2021-10-20 13:46:42 +03:00
Ilya Golshtein
9f9f4a561c
output_format_avro_rows_in_file - fixes
2021-10-19 23:26:55 +03:00
Nikolai Kochetov
171a6e35ce
Fix build.
2021-10-19 21:39:34 +03:00
Nikolai Kochetov
1e1bd568ac
Merge branch 'master' into refactor-pipeline-executor
2021-10-19 17:57:58 +03:00
Anton Popov
8d5ed8a342
remove useless line
2021-10-19 17:05:54 +03:00
Anton Popov
82bff416f6
Merge remote-tracking branch 'upstream/master' into HEAD
2021-10-19 16:48:47 +03:00
Anton Popov
c547ffa313
improve performance of aggregation in order primary key with function with heavy states
2021-10-19 16:36:31 +03:00
Nikita Mikhaylov
4fbd332bf1
Done
2021-10-19 11:53:55 +00:00
avogar
74fd33b62e
Fix style
2021-10-19 13:25:22 +03:00
Nikolai Kochetov
a92dc0a826
Update obsolete comments.
2021-10-19 12:58:10 +03:00
avogar
a16eda68dc
Fix tests and style
2021-10-19 12:39:14 +03:00
Nikolai Kochetov
40677bffa5
Fix PVS warning.
2021-10-19 12:28:49 +03:00
Kruglov Pavel
5052ec3ab0
Merge branch 'master' into tsv-csv
2021-10-19 12:03:52 +03:00
Kruglov Pavel
1e2ceeb2e7
Merge pull request #29291 from Avogar/capnproto
...
Add CapnProto output format, refactor CapnProto input format
2021-10-19 11:54:55 +03:00
Nikolai Kochetov
cc7a3ea9ff
Merge pull request #30322 from ClickHouse/update-mergine-sorted-memory-optimization
...
Update memory optimisation for MergingSorted.
2021-10-19 11:12:50 +03:00
Nikolai Kochetov
34d46245c3
Try fix some tests.
2021-10-18 20:53:30 +03:00
Anton Popov
3e742524b4
update comments
2021-10-18 19:25:25 +03:00
Nikolai Kochetov
ef3597f054
Fix build.
2021-10-18 19:21:49 +03:00
Nikolai Kochetov
7962eddf60
Review fixes.
2021-10-18 19:18:09 +03:00
Ilya Golshtein
d90302aa3b
output_format_avro_rows_in_file
2021-10-18 19:01:06 +03:00
Anton Popov
1d9cfc04ef
improve performance of aggregation in order of primary key
2021-10-18 18:32:09 +03:00
Nikolai Kochetov
5a4a752cfb
Unite sorting steps.
2021-10-18 17:37:46 +03:00
Kruglov Pavel
8cae60c0f6
Fix resetParser
2021-10-18 15:51:40 +03:00
Kruglov Pavel
2a780bf968
Fix build
2021-10-18 15:48:43 +03:00
Kruglov Pavel
dbc2f3408e
Merge branch 'master' into tsv-csv
2021-10-18 14:38:22 +03:00
Nikolai Kochetov
6e479b301a
Update memory optimisation for MergingSorted.
2021-10-18 12:54:12 +03:00
Anton Popov
e543f720c6
fix clang-tidy
2021-10-18 12:29:34 +03:00
Azat Khuzhin
6d4af3bac1
Move SquashingTransform to Interpreters (to fix split build)
...
clickhouse_common_io requires clickhouse_core:
ld.lld: error: undefined symbol: DB::blocksHaveEqualStructure(DB::Block const&, DB::Block const&)
>>> referenced by SquashingTransform.cpp:92 (/src/ch/clickhouse/src/Common/SquashingTransform.cpp:92)
>>> src/CMakeFiles/clickhouse_common_io.dir/Common/SquashingTransform.cpp.o:(void DB::SquashingTransform::append<DB::Block&&>(DB::Block&&))
>>> referenced by SquashingTransform.cpp:92 (/src/ch/clickhouse/src/Common/SquashingTransform.cpp:92)
>>> src/CMakeFiles/clickhouse_common_io.dir/Common/SquashingTransform.cpp.o:(void DB::SquashingTransform::append<DB::Block const&>(DB::Block const&))
while clickhouse_core requires clickhouse_common_io:
"clickhouse_core" of type SHARED_LIBRARY
depends on "roaring" (weak)
depends on "clickhouse_common_io" (weak)
depends on "clickhouse_common_config" (weak)
depends on "clickhouse_common_zookeeper" (weak)
depends on "clickhouse_dictionaries_embedded" (weak)
depends on "clickhouse_parsers" (weak)
Follow-up for: #30247 (cc @KochetovNicolai)
2021-10-18 10:28:36 +03:00
Nikolai Kochetov
bfcbf5abe0
Merge branch 'master' into removing-data-streams-folder
2021-10-17 10:42:37 +03:00
Nikolai Kochetov
a08c98d760
Move some files.
2021-10-16 17:03:50 +03:00
Azat Khuzhin
50231460af
Use forward declaration for Buffer<> in generic headers
...
- changes in ReadHelpers.h -- recompiles 1000 modules
- changes in FormatFactor.h -- recompiles 100 modules
2021-10-16 12:03:24 +03:00
Nikolai Kochetov
067eaadadd
Merge branch 'master' into removing-data-streams-folder
2021-10-16 09:46:05 +03:00
Nikolai Kochetov
c668696047
Merge pull request #30171 from ClickHouse/remove-stream-interfaces
...
Remove stream interfaces
2021-10-16 09:34:01 +03:00
Anton Popov
c928ce8369
improve performance of aggregation in order of primary key
2021-10-16 04:33:45 +03:00
Nikolai Kochetov
fd14faeae2
Remove DataStreams folder.
2021-10-15 23:18:20 +03:00
avogar
df81d3f74a
Fix build in fast test
2021-10-15 14:52:59 +03:00
Nikolai Kochetov
ad8a344b46
Move TTL streams and algo
2021-10-15 13:11:57 +03:00
avogar
89c1a04ef4
Fix comments
2021-10-14 21:35:56 +03:00
avogar
f754881e1f
Fix output String data into Text CapnProto type
2021-10-14 16:43:23 +03:00
avogar
5d16dc7f9a
Try to fix tests, update capnp lib to eliminate problem with UB sanitizer
2021-10-14 16:43:23 +03:00
avogar
ce22f534c4
Add CapnProto output format, refactor CapnProto input format
2021-10-14 16:43:22 +03:00
avogar
2979c0dee7
Support columns mapping and types checking in RowBinaryWithNamesAndTypes format
2021-10-14 15:05:49 +03:00
avogar
324dfd4f81
Refactor and improve TSV, CSV and JSONCompactEachRow formats, fix some bugs in formats
2021-10-14 13:32:49 +03:00
Nikolai Kochetov
ab28c6c855
Remove BlockInputStream interfaces.
2021-10-14 13:25:43 +03:00
Nikolai Kochetov
3d3e143c29
Merge pull request #30001 from ClickHouse/remove-streams-from-formats
...
Remove streams from formats.
2021-10-14 12:39:07 +03:00
Maksim Kita
04047f76c7
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
d55561422f
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
c9b6c2661b
Refactor ConcurrentBoundedQueue
2021-10-14 00:33:18 +03:00
Nikolai Kochetov
2957971ee3
Remove some last streams.
2021-10-13 21:22:02 +03:00
Nikolai Kochetov
a5fa5c7ea3
Move formats to Impl
2021-10-13 13:01:08 +03:00
Nikolai Kochetov
ec18340351
Remove streams from formats.
2021-10-11 19:11:50 +03:00
Amos Bird
ebfb013ea1
Fix potential leak of query_id_holder
2021-10-11 15:56:00 +08:00
Nikolai Kochetov
a95c28ec4b
Merge pull request #29898 from ClickHouse/remove-native-stream
...
Remove some more streams.
2021-10-10 21:01:16 +03:00
Alexey Milovidov
0828ecae97
Better exception message while reading column from Arrow-supported formats
2021-10-09 19:46:36 +03:00
Nikolai Kochetov
c6bce1a4cf
Update Native.
2021-10-08 20:21:19 +03:00
Nikolai Kochetov
340b53ef85
Remove some more streams.
2021-10-08 17:03:54 +03:00
Nikolai Kochetov
9eddee5517
Merge pull request #29768 from ClickHouse/remove-merging-streams
...
Remove some merging streams
2021-10-08 13:15:10 +03:00
Vladimir C
0422939893
Merge pull request #29281 from lingtaolf/bugfix/tupleFilter
2021-10-07 12:24:26 +03:00
Nikolai Kochetov
78e1db209f
Remove more data streams ( #29491 )
...
* Remove more streams.
* Fixing build.
* Fixing build.
* Rename files.
* Fix fast test.
* Fix StorageKafka.
* Try fix kafka test.
* Move createBuffer to KafkaSource ctor.
* Revert "Move createBuffer to KafkaSource ctor."
This reverts commit 81fa94d27e
.
* Revert "Try fix kafka test."
This reverts commit 2107e54969
.
* Comment some rows in test.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-10-07 11:26:08 +03:00
mergify[bot]
ab55225c8f
Merge branch 'master' into remove-merging-streams
2021-10-05 14:16:34 +00:00
Nikolai Kochetov
c106f1e380
Fix tests.
2021-10-05 12:51:43 +03:00
Nikita Mikhaylov
b31d11478b
Merge pull request #29680 from azat/defines
...
Cleanup common defines
2021-10-04 20:13:29 +03:00
alexey-milovidov
325a01f798
Merge pull request #29553 from azat/group-by-with-totals-having-fix
...
Fix null deference for GROUP BY WITH TOTALS HAVING (when the column from HAVING wasn't selected)
2021-10-04 09:25:35 +03:00
Denis Glazachev
ca7b69b0f3
Manipulate with -Wreserved-identifier only if HAS_RESERVED_IDENTIFIER has been detected
2021-10-03 17:42:36 +04:00
Azat Khuzhin
6a9dd9828d
Move protocol macros into separate header
...
Defines.h is a very common header, so lots of modules will be recompiled
on changes.
Move macros for protocol into separate header, this should significantly
decreases number of units to compile on it's changes.
2021-10-03 14:34:03 +03:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
vdimir
23ce41e3bb
MergeTreeWhereOptimizer supports constant tuple in both sides of equals
2021-10-01 17:01:03 +03:00
Nikolai Kochetov
bc91d7ea60
Fix crash.
2021-09-30 16:48:04 +03:00
kssenii
2c005db9ad
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-29 17:45:15 +00:00
Kruglov Pavel
14be2f31f5
Merge pull request #29475 from ClickHouse/fix-29010
...
Remove filter column from HAVING when it is not needed.
2021-09-29 13:03:27 +03:00
Nikolai Kochetov
8d85590900
Merge pull request #29494 from ClickHouse/fix-possible-pushing-executor-hang
...
Fix possible hang in PushingAsyncPipelineExecutor.
2021-09-29 12:16:26 +03:00
Nikolai Kochetov
ee2c12b4ab
Fix pissble hang in PushingAsyncPipelineExecutor.
2021-09-28 20:47:20 +03:00
Nikolai Kochetov
ebe4cb0bbb
Fix tests.
2021-09-28 15:32:43 +03:00
vdimir
46187a73ee
wip
2021-09-28 14:11:31 +03:00
vdimir
8e2637aab2
Store all related to one join disjunct in JoinOnClause, pt1
2021-09-28 14:11:31 +03:00
vdimir
38374ba07b
fix join->getNonJoinedBlocks
2021-09-28 14:11:30 +03:00
Ilya Golshtein
3766d47f31
ORs in JOINs
2021-09-28 14:11:28 +03:00
Nikolai Kochetov
1a4ee1f77f
Remove filter column from HAVING when it is not needed.
2021-09-28 13:01:47 +03:00
Nikolai Kochetov
236d71ea94
Merge pull request #28582 from ClickHouse/rewrite-pushing-to-views
...
Rewrite PushingToViews
2021-09-27 21:19:11 +03:00
Maksim Kita
d0f53cfc31
Added setting use_skip_indexes
2021-09-27 12:17:00 +03:00
Nikolai Kochetov
78a7665f43
Merge branch 'master' into rewrite-pushing-to-views
2021-09-27 10:56:50 +03:00
Nikolai Kochetov
efbd8e4911
Remove ExceptionHandlingSink.
2021-09-26 17:54:59 +03:00
alexey-milovidov
85fc160eb4
Merge pull request #29346 from ClickHouse/remove-ya-make
...
Remove ya.make
2021-09-25 19:43:40 +03:00
kssenii
2129230b1e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-25 09:16:05 +00:00
Alexey Milovidov
06fc466438
Remove window function 'nth_value'
2021-09-25 04:39:38 +03:00
Alexey Milovidov
cd7f9d981c
Remove ya.make
2021-09-25 04:22:54 +03:00
Nikolai Kochetov
998d29ebc7
Merge branch 'master' into rewrite-pushing-to-views
2021-09-23 13:10:27 +03:00
kssenii
ec24a8f114
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-22 20:46:49 +00:00
Nikolai Kochetov
4f802d1cea
Fix test_executable_table_function
2021-09-22 22:31:12 +03:00
Kruglov Pavel
b46e4db70e
Fix PVS check 2.0
2021-09-22 18:22:34 +03:00
Nikolai Kochetov
eed4e8c754
Fix progress for insert select.
2021-09-22 16:29:58 +03:00
Nikolai Kochetov
81bf13a247
Refactor pushing to views.
2021-09-22 13:57:00 +03:00
Kruglov Pavel
7545bff76c
Minor update
2021-09-22 13:47:03 +03:00
mergify[bot]
627a4fea96
Merge branch 'master' into fix-msgpack
2021-09-22 10:14:18 +00:00
Pavel Kruglov
9ed82fb44a
Fix PVS check
2021-09-22 13:13:05 +03:00
Nikolai Kochetov
d018cb7adf
Fry fix executor again.
2021-09-22 11:30:02 +03:00
Nikolai Kochetov
2c7239da66
Fix executor.
2021-09-22 09:49:59 +03:00
Nikolai Kochetov
912393a7ed
Fix pvs check.
2021-09-21 19:55:32 +03:00
Nikolai Kochetov
db6f1e198c
Add cancell callback to completed executor.
2021-09-21 19:37:32 +03:00
Nikolai Kochetov
02e5e662fd
Refactor a little bit.
2021-09-21 13:35:41 +03:00
Nikolai Kochetov
12a4c74af0
Fix more tests again
2021-09-21 09:57:55 +03:00
bharatnc
51e45050c1
Update outdated ya.make files
...
This runs the `utils/generate-ya-make/generate-ya-make.sh` script to
update the ya.make files that are not updated.
I wonder why they were not updated and how it was missed.
2021-09-20 18:28:07 -07:00
Nikolai Kochetov
4e7d5191e3
Fix more tests
2021-09-20 22:07:33 +03:00
Nikolai Kochetov
a790d391c0
Merge branch 'master' into rewrite-pushing-to-views
2021-09-20 19:43:15 +03:00
Nikolai Kochetov
4eba3fcc8a
Fix even more tests.
2021-09-20 12:48:53 +03:00
alexey-milovidov
5f5b96aa57
Merge pull request #28982 from vdimir/issue-28660-pmj-fuzz
...
Add additional checkTypesOfKeys to JoiningTransform::transformHeader
2021-09-20 12:30:00 +03:00
Nikolai Kochetov
9398c22aae
Fix more tests.
2021-09-20 12:05:34 +03:00
Nikolai Kochetov
2b7d71d3a2
Fix some other tests.
2021-09-19 23:15:10 +03:00