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
Anton Popov
d71ffc355a
Merge remote-tracking branch 'upstream/master' into HEAD
2021-10-18 15:18:22 +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
Anton Popov
7aa6068fb2
Merge remote-tracking branch 'upstream/master' into HEAD
2021-10-14 19:44:08 +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
Anton Popov
914781052e
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-29 17:37:07 +03: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
Anton Popov
6f9e53197c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-20 17:17:05 +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
Nikolai Kochetov
c1f0ba1f92
Fix some tests.
2021-09-19 21:53:36 +03:00
Nikolai Kochetov
53e946ec25
Fix executors.
2021-09-19 19:18:38 +03:00
Anton Popov
db50a1027e
Merge pull request #29132 from Avogar/fix-avro
...
Fix segfault in Avro with LowCardinality(Nullable)
2021-09-19 16:13:11 +03:00
Pavel Kruglov
aba86b010b
Update docs, tests and add some fixes
2021-09-17 17:32:23 +03:00
Pavel Kruglov
7bf13c4891
Remove extra space
2021-09-17 16:13:15 +03:00
Pavel Kruglov
48a3a2f75c
Fix segfault in Avro with LowCardinality(Nullable)
2021-09-17 16:11:44 +03:00
Nikolai Kochetov
a8c3b02598
Merge branch 'master' into rewrite-pushing-to-views
2021-09-17 15:38:11 +03:00
Nikolai Kochetov
6e0ac024a2
Maybe fix some build.
2021-09-17 15:05:54 +03:00
Vladimir C
333fd323f5
Merge pull request #29062 from Avogar/orc-fixes
2021-09-17 14:48:19 +03:00
Nikolai Kochetov
58bb5fe462
Fix some tests.
2021-09-17 14:40:03 +03:00
Nikolai Kochetov
341553febd
Fix build.
2021-09-16 20:40:42 +03:00
kssenii
c88dc460d4
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-16 16:13:04 +00:00
Anton Popov
eef436fe22
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-16 18:07:42 +03:00
Kruglov Pavel
50c0045e27
Remove unused header
2021-09-16 17:13:07 +03:00
Pavel Kruglov
96dba14213
Improve MsgPack input/output format
2021-09-16 17:05:07 +03:00
Anton Popov
3adc2a9aea
fix distinct with sparse columns
2021-09-16 15:52:59 +03:00
Pavel Kruglov
2b67d54d58
tmp
2021-09-16 14:25:45 +03:00
Kruglov Pavel
1b0da15291
Use detachColumns
...
Co-authored-by: Vladimir C <vdimir@yandex-team.ru>
2021-09-16 12:22:39 +03:00
Anton Popov
dfbb1ffec0
Merge pull request #27537 from CurtizJ/merging-20557
...
Merging #20557 (Asynchronous inserts)
2021-09-16 03:08:34 +03:00
Nikolai Kochetov
e616732743
Small refactoring.
2021-09-15 22:35:48 +03:00
Pavel Kruglov
2e9858172e
Allow to input and output LowCardinality columns in ORC format
2021-09-15 22:04:36 +03:00
Vitaly Stoyan
9bbdd39efc
initial commit
2021-09-15 18:07:18 +03:00
Anton Popov
f6191b98e7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-15 17:47:22 +03:00
Anton Popov
8970dcdaf5
fix throwing exception for multiple clients in async inserts
2021-09-15 17:19:28 +03:00
Nikita Mikhaylov
2684d06b51
Merge pull request #27135 from FArthur-cmd/compressed_output_formats_3473
...
compress INTO OUTFILE with parameter compress
2021-09-15 16:25:13 +03:00
Anton Popov
9646edf3dc
fix possible race in AsynchronousInsertQueue
2021-09-15 02:54:10 +03:00
Anton Popov
fc17936c12
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-14 23:02:30 +03:00
Vitaly Stoyan
a416fd52d8
initial commit
2021-09-14 21:22:18 +03:00
Nikolai Kochetov
b997214620
Rename QueryPipeline to QueryPipelineBuilder.
2021-09-14 20:48:18 +03:00
Nikolai Kochetov
7fc830ae2b
Rename QueryPipeline to QueryPipelineBuilder.
2021-09-14 19:28:41 +03:00
Nikolai Kochetov
0e267c50b4
Merge branch 'master' into rewrite-pushing-to-views
2021-09-14 16:13:54 +03:00
vdimir
1fdbb9509f
Add additional checkTypesOfKeys to JoiningTransform::transformHeader
2021-09-14 11:03:22 +03:00
Nikolai Kochetov
95b00f8fd4
Fix some live view tests.
2021-09-13 19:23:56 +03:00
Nikolai Kochetov
b37168e86f
Fix asan.
2021-09-13 14:27:15 +03:00
mergify[bot]
d731bf6c4d
Merge branch 'master' into compressed_output_formats_3473
2021-09-13 09:14:35 +00:00
kssenii
6fba81191f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-12 21:48:27 +00:00
Sergei Semin
12e24a23d3
Merge branch 'master' into fix-build-clang-13-2
2021-09-12 19:30:55 +03:00
alexey-milovidov
aa5c42b7db
Merge pull request #28773 from azat/nth_value-ubsan-fix
...
Fix signed integer overflow for nth_value() window function
2021-09-12 15:57:19 +03:00
alexey-milovidov
f066edc43c
Merge pull request #28910 from ClickHouse/fix-trash-optimization
...
Fix bad optimization of ORDER BY in subquery if it contains WITH FILL
2021-09-12 15:27:53 +03:00
alexey-milovidov
ea13a8b562
Merge pull request #28659 from myrrc/improvement/tostring_to_magic_enum
...
Improving CH type system with concepts
2021-09-12 15:26:29 +03:00
Alexey Milovidov
e3611cccce
Fix yet another issue
2021-09-12 02:55:53 +03:00
Mike Kot
bce011cb33
Replacing IsDecimalNumber
2021-09-11 00:40:18 +02:00
Mike Kot
c4385a2c40
Simplifying exception messages
2021-09-11 00:40:18 +02:00
Azat Khuzhin
a764d46f62
Eliminate int64_t > INT64_MAX checks (found by PVS)
...
https://clickhouse-test-reports.s3.yandex.net/28773/b38311538979c0ffe27f6c8c5732b4afc18c4d35/pvs_check.html#fail1
2021-09-10 23:31:41 +03:00
Azat Khuzhin
56ac032413
Use the same error for leadInFrame()/lagInFrame() as in nth_value()
2021-09-10 23:27:36 +03:00
Azat Khuzhin
b383115389
Allow values up to INT64_MAX for nth_value/lagInFrame/leadInFrame
2021-09-10 21:02:06 +03:00
Azat Khuzhin
62a29420bd
Fix signed integer overflow for nth_value() window function
...
CI report [1]:
../src/Processors/Transforms/WindowTransform.cpp:1699:54: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long' Received signal -3 Received signal Unknown signal (-3)
In query:
SELECT
number,
nth_value(number, 2147483648) OVER w,
anyOrNull(number) OVER (ORDER BY -2147483648 - intDiv(number, 1024) DESC NULLS FIRST, number DESC ROWS BETWEEN 65535 FOLLOWING AND UNBOUNDED FOLLOWING),
nth_value(number, 65537) OVER w AS firstValue,
nth_value(number, -9223372036854775808) OVER w AS secondValue,
nth_value(number, 1048576) OVER w AS thirdValue
FROM numbers(1)
WINDOW w AS (ORDER BY number DESC)
ORDER BY number DESC
[1]: https://clickhouse-test-reports.s3.yandex.net/28532/7623af5513e12aa8dfa1bee963caffe00185c31a/fuzzer_ubsan/report.html#fail1
2021-09-10 21:02:04 +03:00
Filatenkov Artur
acccb24ffd
Update getSourceFromFromASTInsertQuery.cpp
2021-09-10 19:59:17 +03:00
Filatenkov Artur
e17353750c
Update src/Processors/Transforms/getSourceFromFromASTInsertQuery.cpp
...
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2021-09-10 18:02:15 +03:00
Nikolai Kochetov
05f533d462
Fix style.
2021-09-10 17:54:42 +03:00
Artur
a7c43c3e2d
add compression key-word and some tests
2021-09-10 13:59:22 +00:00
Nikolai Kochetov
e6938127a6
Fix some resouces.
2021-09-10 15:38:30 +03:00
Nikolai Kochetov
285cfb7fd5
Fix build and style.
2021-09-10 14:42:52 +03:00
Anton Popov
5cff615eca
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-10 13:40:48 +03:00
Anton Popov
29f327fa60
fix data race in async inserts
2021-09-10 13:24:09 +03:00
Nikolai Kochetov
bc7c70f93f
Try to fix build.
2021-09-10 12:03:45 +03:00
Sergei Semin
c01bf59805
ignore diagnostic -Wreserved-identifier in ArrowBufferedStreams.cpp
2021-09-09 23:51:47 +03:00
Sergei Semin
74f6ac8976
remove variable total_rows_in_lonely_parts that set but not used
2021-09-09 23:51:47 +03:00
Nikolai Kochetov
f569a3e3f7
Merge branch 'master' into rewrite-pushing-to-views
2021-09-09 20:30:23 +03:00
Nikolai Kochetov
50562da6df
More refactoring.
2021-09-09 20:08:49 +03:00
Anton Popov
8cb02a4b27
add some comments
2021-09-09 19:10:53 +03:00
Anton Popov
abebce2f18
fix kafka
2021-09-09 17:48:01 +03:00
Nikolai Kochetov
47b96add9a
Refactor some code.
2021-09-09 16:59:15 +03:00
Nikolai Kochetov
5c220d62b3
Update SinkToStorage.cpp
2021-09-09 15:46:06 +03:00
kssenii
1838a8672d
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-09 12:43:45 +00:00
Nikolai Kochetov
13eb93a9c0
Merge pull request #28700 from amosbird/projection-fix16
...
Fix crash on exception with projection aggregate
2021-09-09 15:24:05 +03:00
Anton Popov
8e5b3b2f6c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-09 15:12:34 +03:00
Nikolai Kochetov
aea1871755
Fix some more tests.
2021-09-09 14:16:03 +03:00
Anton Popov
8203bd1ac6
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-09 14:04:37 +03:00
Amos Bird
91293c7449
Fix crash on exception with projection aggregate
2021-09-09 10:43:56 +08:00
Nikolai Kochetov
999a4fe831
Fix other tests.
2021-09-08 21:29:38 +03:00
Anton Popov
f864c4252a
support adding defaults in async inserts
2021-09-08 17:08:57 +03:00
Nikolai Kochetov
f34cb097d8
Fix some tests.
2021-09-06 23:13:06 +03:00
Mike Kot
8e9aacadd1
Initial: replacing hardcoded toString for enums with magic_enum
2021-09-06 16:24:03 +02:00
kssenii
1c20b223cb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-04 20:01:31 +03:00
Nikolai Kochetov
66a76ab70f
Rewrite PushingToViewsBlockOutputStream part 6
2021-09-03 20:29:36 +03:00
Anton Popov
c9a0cc5ce9
fix race on table schema in insert-select
2021-09-03 17:23:21 +03:00
Raúl Marín
09a9ad0dfe
Improve [C|T]SV errors
2021-09-03 16:15:56 +02:00
Nikolai Kochetov
358babc31b
Rewrite PushingToViewsBlockOutputStream part 5.
2021-09-02 14:29:20 +03:00
Anton Popov
5e421ab272
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-02 02:42:50 +03:00
Anton Popov
7c42ce8370
improvements of async inserts
2021-09-02 02:18:09 +03:00
Nikolai Kochetov
79ecb6667e
Rewrite PushingToViewsBlockOutputStream part 4.
2021-09-01 21:41:50 +03:00
Anton Popov
5e694596c9
minor changes near async inserts
2021-09-01 18:06:11 +03:00
tavplubix
e55c0bc40a
Merging #27980 ( #28413 )
...
* fix: empty string convert to DecimalOrNumbeOrDateOrDateTime
* fix: ifnull convert to defaut value
* fix variable name
* fix cast args
* modify ifnull args
* use short circuit
Co-authored-by: liyang830 <liyang830@jd.com>
2021-09-01 12:12:23 +03:00
Vladimir C
94d5f3a87b
Merge pull request #28349 from vdimir/issue-27691-qf
...
Fix non joined rows from nullable column
2021-08-31 17:09:24 +03:00
Nikolai Kochetov
5be05c2ef9
Rewrite PushingToViewsBlockOutputStream part 3.
2021-08-31 16:50:07 +03:00
alesapin
525999145e
Merge pull request #26791 from ClickHouse/async-reads
...
Experiment with asynchronous readers
2021-08-31 13:17:45 +03:00
Anton Popov
36ac20681e
refactor AsynchronousInsertQueue
2021-08-31 05:16:02 +03:00
Alexey Milovidov
ca6f6306f3
Merge branch 'master' into async-reads
2021-08-31 02:52:58 +03:00
alexey-milovidov
c6a754289b
Merge pull request #28361 from DimasKovas/block_ouput_streams_compats
...
Add compat between SinkToStorage and BlockOutputStream
2021-08-31 01:41:33 +03:00
Dmitrii Kovalkov
54eeeb7cf2
Add compat between SinkToStorage and BlockOutputStream
2021-08-30 16:58:40 +03:00
vdimir
bb1d22aa19
Log join input and output structure
2021-08-30 16:33:01 +03:00
Nikita Mikhaylov
fb66ab75be
Merge pull request #25633 from Avogar/json-as-string
...
Allow data in square brackets in JSONAsString format
2021-08-30 14:06:28 +03:00
Nikolai Kochetov
eccee47e72
Rewrite PushingToViewsBlockOutputStream part 2.
2021-08-30 14:03:39 +03:00
Dmitrii Kovalkov
9871ad70ff
Exclude fuzzers
2021-08-30 11:12:25 +03:00
Dmitrii Kovalkov
8acf0fa16a
run generate-ya-make
2021-08-30 10:57:40 +03:00
Anton Popov
9e67943878
add waiting for async inserts
2021-08-28 00:29:10 +03:00
kssenii
34f9983f14
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-08-27 09:35:23 +03:00
Anton Popov
e8ac8e3454
execute asynchronous inserts separatly for each client
2021-08-27 06:00:12 +03:00
mergify[bot]
401b2f3b8f
Merge branch 'master' into json-as-string
2021-08-26 15:03:59 +00:00
Anton Popov
6d3274c22c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-08-26 03:31:46 +03:00
Alexey Milovidov
8f57216180
Progress on development
2021-08-25 00:45:58 +03:00
Nikolay Degterinsky
8295d8f2d7
Update src/Processors/Sinks/SinkToStorage.h
2021-08-24 16:25:01 +03:00
Vladimir Chebotarev
82ef8a2b7b
Fixed a typo in comments to SinkToStorage
.
2021-08-24 14:59:29 +03:00
Nikolai Kochetov
d7e78f3ea9
Rewrite PushingToViewsBlockOutputStream part 1.
2021-08-23 13:46:52 +03:00
kssenii
0afc23bfa3
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-08-21 18:23:14 +03:00
kssenii
39e80a47a3
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-08-20 10:13:58 +03:00
Anton Popov
c3c3a06078
Merge remote-tracking branch 'upstream/master' into HEAD
2021-08-20 01:45:38 +03:00
Alexander Kuzmenkov
2f0d5c6f21
Merge pull request #27880 from ClickHouse/aku/window-case-insensitive
...
make the sql-standard window functions case insensitive
2021-08-20 00:20:30 +03:00
Alexander Kuzmenkov
9013892a96
make the sql-standard window functions case insensitive
2021-08-19 20:56:16 +03:00
Kruglov Pavel
7fe7103e53
Merge pull request #27299 from vdimir/issue-27091-v2
...
Refactor NotJoined
2021-08-19 19:16:32 +03:00
kssenii
b5f6a7cb97
Fix local
2021-08-19 14:07:47 +03:00
Nikolai Kochetov
7dcff5c90e
Merge pull request #27742 from amosbird/projection-improvement3
...
Improve projection analysis.
2021-08-19 12:11:20 +03:00
Nikolai Kochetov
3e44ef437e
Merge pull request #26639 from ClickHouse/fix-bad-cast
...
Fix bad cast
2021-08-19 11:17:26 +03:00
kssenii
8e36872685
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-08-19 10:34:48 +03:00
Vitaly Baranov
65ee9a1272
Merge pull request #26864 from vitlibar/refactor-sessions
...
Introduce sessions
2021-08-19 01:38:51 +03:00
kssenii
80cb5287d9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-08-18 18:15:44 +03:00
tavplubix
9b45b26dd6
Merge pull request #27655 from FArthur-cmd/import_from_infile_syntax
...
Import `FROM INFILE`
2021-08-18 15:36:32 +03:00
Vasily Nemkov
51ffc33457
Introduce sessions.
...
This is required to add system.session_log table.
2021-08-18 14:24:52 +03:00
Nikolai Kochetov
a46fe11e2c
Try fix test_mutations_with_merge_background_task
2021-08-18 13:30:02 +03:00
tavplubix
baaaf996c2
Update getSourceFromFromASTInsertQuery.cpp
2021-08-17 21:15:44 +03:00
Filatenkov Artur
3fc0e577e3
remove trailing whitespaces
2021-08-17 17:22:38 +03:00
vdimir
2dfbbe364b
Do not use BlockInputStream for NonJoined
2021-08-17 16:30:01 +03:00
Artur
e8e650b16b
correct infile form local
2021-08-17 12:01:31 +00:00
vdimir
afa748c717
Refactor NotJoined pt1
2021-08-17 13:32:16 +03:00
Artur
ca65b819d3
correct error type
2021-08-16 16:09:12 +00:00
Amos Bird
90881aab09
Better code style
2021-08-16 22:17:07 +08:00
kssenii
cefd9b473e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-08-16 16:41:24 +03:00
Artur
3591c3c8f4
correct code according to comments
2021-08-16 13:28:39 +00:00
Amos Bird
b162a2b699
Improve projection analysis.
...
Remove duplicate index analysis and avoid possible invalid limit checks
during projection analysis.
2021-08-16 20:11:57 +08:00
Kseniia Sumarokova
b024c215af
Merge pull request #24757 from zdikov/subquery-operators
...
Subquery operators
2021-08-15 21:33:59 +03:00