Vitaly Baranov
4f1926550b
Merge pull request #26429 from vitlibar/remove-mysql-wire-context
...
Remove MySQLWireContext
2021-07-19 12:21:24 +03:00
Kseniia Sumarokova
b0ddc4fb30
Merge pull request #26364 from kssenii/fixing-date32
...
Continuation of #25774
2021-07-18 21:44:45 +03:00
Alexey Milovidov
261a220227
Remove some code
2021-07-17 21:06:46 +03:00
Vitaly Baranov
0f8b196682
Remove MySQLWireContext.
2021-07-16 22:21:20 +03:00
alexey-milovidov
4103c22310
Merge pull request #26245 from arenadata/ADQM-322
...
Avro string for ClickHouse String
2021-07-16 12:23:50 +03:00
kssenii
3ba2d114d5
Revert "Merge pull request #26352 from ClickHouse/revert-25774-datatype-date32"
...
This reverts commit 94a210650f
, reversing
changes made to 0893b9ff8e
.
2021-07-15 11:41:52 +00:00
alexey-milovidov
9ba4064c86
Revert "Datatype Date32, support range 1925 to 2283"
2021-07-15 10:53:35 +03:00
Ilya Golshtein
e1cc7387be
Avro string for ClickHouse string make clang tidy happy
2021-07-13 20:03:01 +03:00
Ilya Golshtein
969458f043
Avro string for ClickHouse string minor fixes
2021-07-13 20:03:01 +03:00
Ilya Golshtein
020cce63b0
Avro string for ClickHouse string tests and doc
2021-07-13 20:03:00 +03:00
Ilya Golshtein
16532658c2
Avro string for ClickHouse string
2021-07-13 20:03:00 +03:00
Ivan Lezhankin
69e7f082fe
Merge remote-tracking branch 'upstream/master' into async-insert
2021-07-13 17:15:32 +03:00
Nikita Mikhaylov
c255f152aa
Merge pull request #26051 from ClickHouse/fix_21184
...
Fix sequence_id in MySQL protocol
2021-07-13 16:03:25 +03:00
Ivan Lezhankin
ab26aed6f9
Merge remote-tracking branch 'upstream/master' into async-insert
2021-07-13 13:54:09 +03:00
Kseniia Sumarokova
4a6b4d6c26
Merge pull request #25774 from liuneng1994/datatype-date32
...
Datatype Date32, support range 1925 to 2283
2021-07-12 20:33:39 +03:00
mergify[bot]
b7ae4e4ced
Merge branch 'master' into async-insert
2021-07-12 09:21:37 +00:00
kssenii
947bb4a942
Fix progress bar for local
2021-07-09 16:43:00 +03:00
tavplubix
dd0ad58dee
Update MySQLOutputFormat.cpp
2021-07-08 13:20:06 +03:00
Alexander Tokmakov
1a470fb777
fix sequence_id in MySQL protocol
2021-07-07 20:03:28 +03:00
Anton Popov
14168b11f2
Merge remote-tracking branch 'upstream/master' into HEAD
2021-07-07 17:05:11 +03:00
NengLiu
e36ce3e64e
resolve conflicts
2021-07-05 13:57:49 +08:00
NengLiu
dc0c65ef4f
Merge remote-tracking branch 'origin/master' into datatype-date32
2021-07-05 10:15:08 +08:00
neng.liu
b87814205d
fix test error
2021-07-03 22:15:06 -07:00
neng.liu
17bbfd7722
fix some test error
2021-07-01 08:13:43 -07:00
NengLiu
00377e7c9b
fix style error
2021-06-30 17:29:13 +08:00
Ivan Lezhankin
1bb41593d1
Merge remote-tracking branch 'upstream/master' into async-insert
2021-06-28 22:55:56 +03:00
neng.liu
ec7604b013
add parquet test and fix add interval error when type is date32
2021-06-28 16:36:54 +08:00
Pavel Kruglov
92e6df7b89
Allow data in square brackets in JSONAsString format
2021-06-23 16:17:34 +03:00
Neng Liu
aadc2af5cb
add some functional test
2021-06-22 19:10:56 +08:00
Pavel Kruglov
556ec9e533
Fix segfault in arrow and support Decimal256
2021-06-21 12:06:28 +03:00
Anton Popov
567043113c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-06-21 01:36:06 +03:00
mergify[bot]
c723dd7d40
Merge branch 'master' into arrow
2021-06-18 12:18:57 +00:00
Ivan Lezhankin
37365589ed
Merge branch 'master' into async-insert
2021-06-17 16:57:45 +03:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +03:00
Pavel Kruglov
48cd8f2207
Fix build
2021-06-15 16:15:27 +03:00
Pavel Kruglov
692150b578
Fix tests
2021-06-15 16:15:27 +03:00
Pavel Kruglov
931e05ab04
Minor refactoring
2021-06-15 16:15:27 +03:00
Pavel Kruglov
a4ef60e230
Remove Impl including from .h file
2021-06-15 16:15:27 +03:00
Pavel Kruglov
eb86721d14
Fix style, output strings as binary instead of utf8
2021-06-15 16:15:27 +03:00
Pavel Kruglov
787c800064
Fix build, tests, style
2021-06-15 16:15:27 +03:00
Pavel Kruglov
b120841b57
Small changes
2021-06-15 16:15:27 +03:00
Pavel Kruglov
a4decd0848
Support Map type, fix and add tests
2021-06-15 16:15:27 +03:00
Pavel Kruglov
c8b37977da
Fix bugs, support dictionary for Arrow format
2021-06-15 16:15:27 +03:00
Pavel Kruglov
540c494492
Fix selecting indexes in ORC and Parquet formats
2021-06-15 16:15:27 +03:00
Kruglov Pavel
d74c5ef62d
Minor change
2021-06-15 16:15:27 +03:00
Pavel Kruglov
235e3e2f5b
Support structs in Arrow/Parquet/ORC
2021-06-15 16:15:27 +03:00
alexey-milovidov
05d1af153c
Merge branch 'master' into rename-const-context-ptr
2021-06-12 03:25:09 +03:00
Nikita Mikhaylov
395e0d6756
done
2021-06-10 13:57:19 +00:00
Ivan Lezhankin
973cea73b7
Merge branch 'master' into async-insert
2021-06-08 15:10:30 +03:00
Anton Popov
b3b29be02f
Merge remote-tracking branch 'upstream/master' into HEAD
2021-06-07 19:03:24 +03:00
mergify[bot]
d68d5e0ef1
Merge branch 'master' into rename-const-context-ptr
2021-06-04 14:41:41 +00:00
Nikita Mikhaylov
3b0757bb52
Merge pull request #24922 from Avogar/fix-arrow
...
Fix possible heap-buffer-overflow in Arrow
2021-06-03 22:06:38 +03:00
Kruglov Pavel
8acf031c1b
Merge pull request #24398 from Avogar/fix-deltasum
...
Fix logical error AggregateFunctionFactory returned nullptr
2021-06-03 19:40:06 +03:00
Pavel Kruglov
af5d0e2487
Fix possible heap-buffer-overflow in Arrow
2021-06-03 17:11:05 +03:00
Ivan Lezhankin
791cbcf0b1
Merge remote-tracking branch 'upstream/master' into async-insert
2021-06-02 18:50:37 +03:00
Ivan Lezhankin
84c23dc060
Merge branch 'master' into async-insert
2021-06-02 18:06:21 +03:00
Nikolai Kochetov
dbaa6ffc62
Rename ContextConstPtr to ContextPtr.
2021-06-01 15:20:52 +03:00
Anton Popov
018a303387
Merge remote-tracking branch 'upstream/master' into HEAD
2021-05-31 23:08:04 +03:00
Pavel Kruglov
42d57138f2
replace all isDateOrDateTime invocations to explicit calls to isDate and isDateTime and isDateTime64
2021-05-28 15:34:49 +03:00
Ivan
ce2a809773
Consider last CRLF as part of boundary ( #24399 )
...
* Consider last CRLF as part of boundary
* Update HTMLForm.cpp
* Don't use xxd
2021-05-28 14:59:11 +03:00
Anton Popov
3e92c7f61a
Merge remote-tracking branch 'upstream/master' into HEAD
2021-05-25 21:45:19 +03:00
Alexey Milovidov
ea30bb7abf
Improve implementation
2021-05-21 04:17:18 +03:00
Maksim Kita
196ca14c3a
Merge pull request #24150 from azat/whitespaces
...
Fix a few trailing whitespaces in output
2021-05-15 22:39:16 +03:00
Azat Khuzhin
1cdeafe473
Remove superfluous trailing whitespace in Markdown format
2021-05-15 16:08:17 +03:00
mergify[bot]
d31021ea4f
Merge branch 'master' into fix-kafka-with-parquet
2021-05-14 21:10:12 +00:00
Anton Popov
d8df0903b9
Merge remote-tracking branch 'upstream/master' into HEAD
2021-05-14 23:38:16 +03:00
Pavel Kruglov
484cac6193
Return include_indices, fix arrays and add more tests
2021-05-14 13:50:10 +03:00
Pavel Kruglov
46a7cc5f1d
Remove include_indices
2021-05-14 00:52:29 +03:00
Pavel Kruglov
bbe470a670
Remove fillArrowArray from .h file
2021-05-13 21:15:55 +03:00
Pavel Kruglov
25ceb1df65
Final fixes
2021-05-13 20:00:13 +03:00
mergify[bot]
1b181606e8
Merge branch 'master' into arrow_array
2021-05-13 12:23:48 +00:00
Pavel Kruglov
ff6e4bf91a
Remove debug output
2021-05-13 15:21:39 +03:00
Pavel Kruglov
ec214bb04c
Try fix tests again
2021-05-13 12:23:59 +03:00
Pavel Kruglov
86f061976e
Some fixes
2021-05-12 22:02:56 +03:00
Pavel Kruglov
8ed6ad7c55
Refactor, support all types in array, add nested arrays support, more tests
2021-05-12 19:06:08 +03:00
chou.fan
8990120eb7
add array nullable datatype support in ArrowColumnToCHColumn and fix select from array datatype misplaced bug
2021-05-10 14:17:52 +01:00
Alexey Milovidov
45dea86395
More fixes for PVS-Studio
2021-05-08 18:35:09 +03:00
Alexey Milovidov
9e1a5f41fc
A bunch of changes for PVS-Studio
2021-05-08 17:43:03 +03:00
Chao Ma
ec8ca5bf5e
Fix kafka storage does not work with parquet format messages
2021-05-06 11:32:58 +08:00
Alexey Milovidov
02ce9cc725
Untangle UUID
2021-05-04 01:46:51 +03:00
Alexey Milovidov
1fda866881
Merge branch 'master' into normalize-bigint
2021-05-02 21:24:45 +03:00
Benjamin Naecker
57fd59b73b
Adds support for building on Solaris-derived systems
...
This commit adds a number of changes to platform-detection and
compile-time directives required to support building ClickHouse on
Solaris-derived systems, most notably illumos.
2021-04-28 16:32:41 -07:00
Nikita Mikhaylov
175ae42bae
better
2021-04-27 01:56:47 +03:00
Nikita Mikhaylov
9a70136bcf
better
2021-04-26 18:50:40 +03:00
Alexey Milovidov
8f01af62d9
Merge branch 'master' into normalize-bigint
2021-04-25 06:57:44 +03:00
Ivan Lezhankin
d9626e73c3
Revert "CC"
...
This reverts commit ee194928d2
.
2021-04-22 16:55:18 +03:00
Ivan Lezhankin
ee194928d2
CC
2021-04-21 16:19:28 +03:00
Chao Ma
713eb9486c
Fix kafka storage does not work with arrow and arrowstream format messages
2021-04-21 19:44:09 +08:00
Nikita Mikhaylov
16e7715039
Merge pull request #23202 from nikitamikhaylov/with_names_use_header_bug
...
`CSVWithNames` with `input_format_with_names_use_header=0`
2021-04-20 20:00:57 +03:00
Anton Popov
aea93d9ae5
Merge remote-tracking branch 'upstream/master' into HEAD
2021-04-20 15:16:12 +03:00
Ivan Lezhankin
567fb44b07
Works with trivial inserts
2021-04-19 20:49:02 +03:00
Ivan Lezhankin
7a88ca31cc
Merge branch 'master' into async-insert
2021-04-19 18:33:43 +03:00
Chao Ma
6238028225
Fix integration test test_storage_kafka failed error
2021-04-19 01:38:29 +00:00
Chao Ma
8d7a53efda
Fix test 00163_column_oriented_formats failed error
2021-04-19 01:38:29 +00:00
Chao Ma
2776772ac6
Read ORC file by stripe to reduce memory cost
2021-04-19 01:38:29 +00:00
Nikita Mikhaylov
7a23d8292f
done
2021-04-16 23:53:26 +00:00
alexey-milovidov
74a0ac6917
Merge pull request #23160 from azat/logging-v2
...
[RFC] Change logging from trace to debug for messages with rows/bytes
2021-04-16 21:18:32 +03:00
Ivan Lezhankin
7f43dddf0b
CC
2021-04-16 20:49:38 +03:00
Anton Popov
6ce875175b
Merge remote-tracking branch 'upstream/master' into HEAD
2021-04-16 02:08:20 +03:00
Azat Khuzhin
d2cf03ea41
Change logging from trace to debug for messages with rows/bytes
2021-04-15 21:00:16 +03:00
Alexey Milovidov
15153e504a
Fix unpleasant behaviour of Markdown format
2021-04-15 02:08:43 +03:00
Anton Popov
236ab68724
ColumnSparse: several fixes
2021-04-14 16:20:05 +03:00
Alexey Milovidov
07b610cf70
Remove useless files
2021-04-13 23:04:13 +03:00
Nikolai Kochetov
7019a9a659
Merge pull request #22673 from nvartolomei/nv/exp-arrow-stream
...
Experiment with ArrowStream streaming
2021-04-12 13:29:25 +03:00
chou.fan
4a6345c210
add array nullable datatype support
2021-04-11 15:05:51 +01:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr ( #22297 )
...
* Replace all Context references with std::weak_ptr
* Fix shared context captured by value
* Fix build
* Fix Context with named sessions
* Fix copy context
* Fix gcc build
* Merge with master and fix build
* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
Alexander Kuzmenkov
e44b3822e3
Merge pull request #21850 from fastio/handle_errors_for_kafka_engine
...
Handle errors for Kafka engine
2021-04-09 22:59:40 +03:00
Maksim Kita
942399983c
DataTypeLowCardinality format tsv parsing issue
2021-04-08 20:12:41 +03:00
Nicolae Vartolomei
7259834fad
More Arrow like code style
2021-04-07 23:33:25 +03:00
Nicolae Vartolomei
4ea363006b
Experiment with ArrowStream streaming
2021-04-07 23:33:25 +03:00
Nikita Mikhaylov
48af7a898c
Merge pull request #22299 from nikitamikhaylov/keen-wolf-storagefile-column-oriented
...
Merging #21302
2021-04-07 16:01:12 +03:00
Nikita Mikhailov
37f48d13b4
add test
2021-04-06 22:23:16 +03:00
Azat Khuzhin
f157278b72
Safer SCOPE_EXIT
...
It executes the code in the dtor, that should never throw.
2021-04-06 21:10:37 +03:00
Anton Popov
d46958a8d2
Merge remote-tracking branch 'upstream/master' into HEAD
2021-04-06 00:54:49 +03:00
chou.fan
111a0c26a0
fix list_nested_type uninitialized compile error
2021-04-02 10:59:32 +01:00
Alexey Milovidov
14f2cf9b80
Add memory accounting in parallel formatting
2021-04-01 06:17:23 +03:00
Peng Jian
1e033e8817
fix code style
2021-04-01 10:12:37 +08:00
Peng Jian
26b5482b4d
remove the flag in the parser
2021-03-31 22:25:51 +08:00
Peng Jian
cf19ab76dc
skip to next one before throw parsing exception
2021-03-31 17:16:51 +08:00
Peng Jian
909d5ad2b5
Handle errors for Kafka engine
2021-03-31 17:15:57 +08:00
Anton Popov
372a1b1fe7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-29 19:57:49 +03:00
Anton Popov
577d571300
ColumnSparse: initial implementation
2021-03-29 19:54:24 +03:00
Anton Popov
6a15431be7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-25 15:57:35 +03:00
Vladimir
c8b5be636f
Merge pull request #21438 from arenadata/ADQM-170
2021-03-19 17:06:55 +03:00
chou.fan
8b5a989564
Merge branch 'master' into arrow_array
2021-03-18 10:12:03 +00:00
chou.fan
99e594e704
parquet data type support array format read and write
2021-03-16 15:29:21 +00:00
Ilya Golshtein
ab670a31dc
AvroRowInputFormat::readPrefix inroduced
2021-03-16 17:40:59 +03:00
Anton Popov
6247cd5503
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-16 16:50:15 +03:00
Nikita Mikhaylov
2e13c767a0
Merge pull request #21149 from nikitamikhaylov/pp-for-csv-with-names
...
Support parallel parsing for *WithNames types
2021-03-16 14:38:03 +03:00
Nikita Mikhaylov
7d7a2bc724
Merge pull request #21630 from nikitamikhaylov/pf-local
...
Parallel formatting for clickhouse-local
2021-03-16 14:37:40 +03:00
Nikita Mikhaylov
588f3ee11e
better[2]
2021-03-15 14:43:57 +03:00
Ilya Golshtein
abcf581005
avro bug with format_setting reference and a typo in kafka test
2021-03-15 12:19:33 +03:00
Ilya Golshtein
a579fcb424
kafka/avro works against table
2021-03-14 15:55:44 +03:00
Anton Popov
1b07d28043
fix unwanted changes
2021-03-13 02:59:42 +03:00
Anton Popov
ed42437219
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-13 01:41:26 +03:00
Nikita Mikhaylov
e4b4665ff5
better
2021-03-12 13:58:03 +03:00
Nikita Mikhaylov
b434a2f0bd
disable parallel parsing for grpc tests
2021-03-11 18:22:24 +03:00
Nikita Mikhaylov
761b369fa2
move to poco::event
2021-03-11 18:22:24 +03:00
Nikita Mikhaylov
f3ee129074
fix grpc
2021-03-11 18:22:24 +03:00
Nikita Mikhaylov
e7a1398def
try fix tests
2021-03-11 18:22:24 +03:00
Nikita Mikhaylov
3372dd7b6a
fix stupid bug
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
3a7d48f3a4
style and tsan fix
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
369c9da161
better
2021-03-11 18:22:24 +03:00
alexey-milovidov
eab35bfc7f
Update ParallelParsingInputFormat.h
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
91a418b3a9
better
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
8b30bb0fb5
style
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
61fdeb5897
better
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
138dedf2df
done
2021-03-11 18:22:24 +03:00
Nikita Mikhaylov
38e1cb41cc
done
2021-03-11 17:04:59 +03:00
Nikita Mikhaylov
5ac5ae3b27
Merge pull request #21157 from CurtizJ/fix-type-map
...
Improve support of integer keys in data type Map
2021-03-11 15:49:57 +03:00
Anton Popov
bc417cf54a
refactoring of serializations
2021-03-09 17:46:52 +03:00
chou.fan
c97e734d93
Merge branch 'master' of github.com:ClickHouse/ClickHouse into arrow_array
2021-03-04 10:17:26 +00:00
Nikolai Kochetov
f82e00ff3c
Fix inconsistent column type for Values input format.
2021-03-01 23:10:50 +03:00
Nikolai Kochetov
f63d7b45ce
Merge branch 'master' into fix-number-of-threads-in-subqueries
2021-02-26 11:15:03 +03:00
Nikolai Kochetov
33364f6bdf
Remove debug output
2021-02-25 13:50:35 +03:00
Nikolai Kochetov
aa8632a1bc
Fix tests.
2021-02-25 00:27:47 +03:00
Anton Popov
b6a519cd04
Merge remote-tracking branch 'upstream/master' into HEAD
2021-02-24 19:45:38 +03:00
Maksim Kita
ae79fb22be
Merge pull request #21121 from amosbird/enumdefaultfix
...
disable null_as_default when type is Nullable
2021-02-24 19:31:30 +03:00
Nikolai Kochetov
d966725f33
Try fix hung in void PullingAsyncPipelineExecutor::cancel()
2021-02-24 17:10:35 +03:00
Amos Bird
abf26d4935
disable null_as_default when type is Nullable
2021-02-24 14:45:14 +08:00
chou.fan
2c48be3cfa
Merge branch 'master' of github.com:ClickHouse/ClickHouse into arrow_array
2021-02-22 23:47:58 +00:00
Maksim Kita
f001a6755e
Updated for map
2021-02-22 23:32:43 +03:00
Maksim Kita
3b80395b1b
Fixed style check
2021-02-22 23:32:43 +03:00
Maksim Kita
5eec754fd6
Use standard checkStackSize
2021-02-22 23:32:43 +03:00
Maksim Kita
992747e5ec
Updated for Array
2021-02-22 23:32:43 +03:00
Maksim Kita
3f6050cee9
Fixed error code include
2021-02-22 23:32:43 +03:00
Maksim Kita
8520fc3e4c
Replace null fields in tuple during parsing with default values
2021-02-22 23:32:43 +03:00
Amos Bird
77fd060665
Normalize function names
2021-02-18 20:20:28 +08:00
Vitaly Baranov
3cbb325913
Merge pull request #20506 from vitlibar/refactor-protobuf-format-io
...
Improved serialization in Protobuf format.
2021-02-18 11:31:37 +03:00
Anton Popov
f1fa110d48
fix type map with integer keys
2021-02-18 01:05:31 +03:00
Vitaly Baranov
18e036d19b
Improved serialization for data types combined of Arrays and Tuples.
...
Improved matching enum data types to protobuf enum type.
Fixed serialization of the Map data type.
Omitted values are now set by default.
2021-02-17 20:50:09 +03:00
Nikolai Kochetov
0b315fccc2
Merge branch 'master' into fix-number-of-threads-in-subqueries
2021-02-16 16:29:30 +03:00
Nikolai Kochetov
a72ef6f026
Fix number of threads for scalar subqueries and subqueries for index.
2021-02-16 11:26:24 +03:00
Nikita Mikhailov
d615b8e516
more checks
...
(cherry picked from commit b45168ecaf37d0061edfd12c67a8c5300d45d2e3)
2021-02-15 16:11:16 +03:00
Azat Khuzhin
ca071381e1
Merge remote-tracking branch 'upstream/master' into writer-partial-buffer
2021-02-03 23:46:39 +03:00
Alexey Milovidov
12485eee6b
Fix some of the issues found by Coverity
2021-02-02 22:07:23 +03:00
Azat Khuzhin
8b92749e1c
Fix ParallelFormattingOutputFormat after allowed partial writes
...
The problem was that ParallelFormattingOutputFormat creats
BufferWithOutsideMemory with Memory<> whos size is 0, and this create
WriteBuffer with zero size, which will have endless loop.
2021-02-02 01:52:19 +03:00
Alexander Tokmakov
accf4d262e
fix logical error
2021-02-01 15:40:57 +03:00
Alexey Milovidov
093108bf81
Normalize BigInt implementation
2021-01-27 03:54:57 +03:00
chou.fan
5e8426d627
Merge branch 'master' of github.com:ClickHouse/ClickHouse into arrow_array
2021-01-26 14:33:17 +00:00
Nikolai Kochetov
76495124cd
Fix readign from fd for ORCBlockInputFormat.
2021-01-15 18:45:29 +03:00
chou.fan
c442f89fbd
update
2021-01-15 15:07:43 +00:00
Alexey Milovidov
d88d3de0d1
Fix UBSan report: applying non-zero offset to nullptr
2021-01-04 02:31:47 +03:00
Nikolai Kochetov
3a1ec56486
Revert "Merge pull request #18411 from ClickHouse/try-fix-max_result_rows"
...
This reverts commit 9a2b163db7
, reversing
changes made to 5e97df7c29
.
2021-01-03 21:51:57 +03:00
Nikita Mikhaylov
f27aa148e0
Merge branch 'master' into parallel-parsing-input-format
2020-12-31 06:16:43 +04:00
alexey-milovidov
9a2b163db7
Merge pull request #18411 from ClickHouse/try-fix-max_result_rows
...
Use Port::Data instead of Chunk in LazyOutputFormat.
2020-12-31 02:24:10 +03:00
Nikita Mikhailov
fa48e062eb
fix build
2020-12-30 21:51:41 +03:00
Nikita Mikhailov
d4ec52f732
shellchek
2020-12-30 18:21:58 +03:00
Nikita Mikhailov
b94a654715
build fix
2020-12-30 16:55:31 +03:00
Nikita Mikhailov
60b4a36c4a
arcadia fix + live view fix + cleanup
2020-12-30 07:50:58 +03:00
Nikita Mikhailov
c5f92e5096
better formatfactory
2020-12-30 06:07:30 +03:00
Nikita Mikhailov
ffd73082ba
fix memory and add comment
2020-12-30 01:34:26 +03:00
Nikita Mikhailov
def9c81779
disable values for parallel_formatting
2020-12-29 17:51:42 +03:00
Nikita Mikhailov
c0eef84c50
better
2020-12-29 04:15:26 +03:00
Nikita Mikhailov
2dde73f700
better
2020-12-28 19:52:54 +03:00
Nikita Mikhailov
964e12d8b7
Fix
2020-12-28 15:53:58 +03:00
Nikita Mikhailov
c3288c3fbf
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-28 15:09:37 +03:00
Nikolai Kochetov
12a659b9c0
Fix build.
2020-12-23 19:51:49 +03:00
Nikita Mikhaylov
c005dcdd26
Merge pull request #17641 from nikitamikhaylov/parallel_row_numbers
...
Added an offset to exception message for parallel parsing
2020-12-23 17:24:35 +03:00
Nikolai Kochetov
7ab38d5007
Use Port::Data instead of Chunk in LazyOutputFormat.
2020-12-23 15:54:20 +03:00
Nikolai Kochetov
af7f5c9518
Merge pull request #17868 from ClickHouse/async-read-from-socket
...
Async read from socket
2020-12-23 12:20:42 +03:00
Nikita Mikhailov
dcfbe782c6
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-23 05:20:22 +03:00
nikitamikhaylov
a9bd177b2e
fix
2020-12-23 01:02:45 +03:00
nikitamikhaylov
a285cb83df
style
2020-12-23 01:02:01 +03:00
nikitamikhaylov
c60c161168
add ParsingException
2020-12-23 01:02:01 +03:00
nikitamikhaylov
27f647f93d
done
2020-12-23 01:01:05 +03:00
alexey-milovidov
a4b0d9ba4c
Merge pull request #16664 from FawnD2/switch-upstream-for-arrow-submodule
...
Switch upstream repo for Arrow submodule
2020-12-22 10:55:23 +03:00
Alexey Milovidov
bf2df558d4
Merge branch 'master' into FawnD2-switch-upstream-for-arrow-submodule
2020-12-20 09:38:46 +03:00
Nikolai Kochetov
085987caab
Update IRowInputFormat.cpp
2020-12-18 15:36:36 +03:00
Nikolai Kochetov
b3d06de66f
Update IRowInputFormat.cpp
2020-12-18 12:40:56 +03:00
Nikita Mikhailov
6a55e018e4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-18 02:25:32 +03:00
Nikita Mikhailov
fbf2ac35e8
fix tsan
2020-12-17 18:14:09 +03:00
Nikolai Kochetov
3e550c6a57
Update IRowInputFormat.cpp
2020-12-17 16:17:39 +03:00
jianmei zhang
1df76ad0c3
Try to fix issue #17712 for wrong importing of rows with last bad column
2020-12-17 14:23:25 +08:00
Anton Popov
c78861e86e
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-15 01:45:01 +03:00
nikitamikhaylov
0af342853a
add some logs
2020-12-15 00:56:48 +03:00
nikitamikhaylov
12e624fd9a
fix tests
2020-12-15 00:56:48 +03:00
nikitamikhaylov
9064af6cb6
get rid of std::terminate
2020-12-15 00:56:47 +03:00
nikitamikhaylov
48c76613bf
better
2020-12-15 00:56:47 +03:00
nikitamikhaylov
1bdfc63ef3
delete PrepareAndEndUpReadBuffer
2020-12-15 00:56:47 +03:00
nikitamikhaylov
81be9d77da
pvs check
2020-12-15 00:56:47 +03:00
nikitamikhaylov
746b7d0e13
better test + fix writePrefix in JSONCompact
2020-12-15 00:56:47 +03:00
nikitamikhaylov
a89d6bc75a
comments + fixes for parsing
2020-12-15 00:56:47 +03:00
nikitamikhaylov
4ff1be6e25
better
2020-12-15 00:56:47 +03:00
nikitamikhaylov
a1010d708f
disable PrettySpaceMonoBlock + writePrefix
2020-12-15 00:56:47 +03:00
nikitamikhaylov
5b7af8aa9c
add extremes and totals
2020-12-15 00:56:47 +03:00
nikitamikhaylov
c541df4e54
better
2020-12-15 00:56:47 +03:00
nikitamikhaylov
8ff072c702
better
2020-12-15 00:56:47 +03:00
nikitamikhaylov
57705f5b73
delete and fix strange code
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
9922324787
it works
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
5a47928431
save
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
0b4ff5f284
save
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
0e31424c92
save changes
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
7d7c73c5fc
fix build final
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
f50750dfed
remove stacktrace output
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
edc6267e3f
fix build
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
9f127a46c7
first try
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
0a508c7b8a
save
2020-12-15 00:56:46 +03:00
Nikita Mikhaylov
f40f3ced2a
fix JSONEachRowArray
2020-12-15 00:56:46 +03:00
Nikita Mikhaylov
e0addac6fc
save changes
2020-12-15 00:56:46 +03:00
Nikolai Kochetov
8de5cd5bc7
Merge branch 'master' into async-read-from-socket
2020-12-14 17:45:38 +03:00
nauta
00dc104025
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse
2020-12-11 16:15:40 +08:00
Nikolai Kochetov
32b38f389e
Merge branch 'master' into async-read-from-socket
2020-12-09 17:15:36 +03:00
Alexey Milovidov
4ecfe8fef4
Remove unused headers
2020-12-08 02:10:22 +03:00
nauta
8e615a1d8d
Merge remote-tracking branch 'upstream/master'
2020-12-06 20:48:47 +08:00
Anton Popov
7aaa2c052f
Merge branch 'master' into merging-map
2020-12-05 22:41:46 +03:00
Anton Popov
6b09669d66
data type map: several fixes
2020-12-05 22:36:09 +03:00
Nikolai Kochetov
f31610a2e1
Remove Wait status.
2020-12-04 13:55:01 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser ( #11298 )
2020-12-04 05:15:44 +03:00
nautaa
4cc56c2501
rename function name
2020-12-02 17:00:27 +08:00
FawnD2
26488467f8
Merge branch 'master' into switch-upstream-for-arrow-submodule
2020-11-29 15:53:28 +03:00
hexiaoting
5b3a7f5c98
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-26 16:43:27 +08:00
hexiaoting
74d875c837
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-26 15:13:52 +08:00
Nico Piderman
f1b8906418
Minor grammar correction in error messages
...
Noticed this when I got an error loading some JSONEachRow data.
'while read the value of' -> 'while reading the value of'.
2020-11-19 15:44:58 +01:00
Alexander Kuzmenkov
8cde88440b
Write rows as JSON array in JSONEachRow output format
2020-11-17 22:50:47 +03:00
Nikita Mikhaylov
68b6f08e36
Merge pull request #16721 from nikitamikhaylov/parsing-constraints
...
Turn off parallel parsing when memory limit is small.
2020-11-17 17:37:14 +03:00
alexey-milovidov
9ae14d8f19
Update AvroRowInputFormat.cpp
2020-11-14 17:45:47 +03:00
Mikhail Filimonov
e78010c28c
Attempt to fix #16926
2020-11-13 15:21:04 +01:00
Nikita Mikhaylov
33bada767c
Merge branch 'master' into parsing-constraints
2020-11-12 23:25:39 +03:00
Alexander Tokmakov
b94cc5c4e5
remove more stringstreams
2020-11-10 21:22:26 +03:00
Alexander Tokmakov
5cdfcfb307
remove other stringstreams
2020-11-09 22:12:44 +03:00
tavplubix
67099f28ac
Merge pull request #16591 from ClickHouse/aku/create-file
...
Support `SETTINGS` clause for File engine
2020-11-09 14:15:42 +03:00
Alexey Milovidov
fd84d16387
Fix "server failed to start" error
2020-11-07 03:14:53 +03:00
nikitamikhaylov
9803565af7
style
2020-11-06 21:59:16 +03:00
nikitamikhaylov
f1709f9a80
better
2020-11-06 21:55:13 +03:00
nikitamikhaylov
2febfd43e5
rewrite format line as string
2020-11-06 21:55:13 +03:00
hexiaoting
28e87da976
remove map literal and Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-06 15:07:41 +08:00
FawnD2
069e3dec0d
Do not use deprecated API
2020-11-05 20:10:11 +03:00
Alexander Kuzmenkov
2efbcbaa14
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-05 14:28:56 +03:00
Alexey Milovidov
0b1c96db51
Provide row number when "Cannot read all data" during parsing input
2020-11-03 23:32:18 +03:00
Alexander Kuzmenkov
0f22a9dfcd
fix build
2020-11-02 19:13:42 +03:00
Alexander Kuzmenkov
99ee127620
Support SETTINGS
clause for File engine
...
Accept the usual user settings related to file formats.
Most of the diff are the mechanistic code changes required to allow
providing the required FormatSettings to the format factory. The File
engine then extracts these settings from the `CREATE` query, and specifies
them when creating the format parser.
2020-11-02 10:50:38 +03:00
hexiaoting
3a70cf3773
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-02 14:46:56 +08:00
alesapin
e06f65ee73
Merge pull request #16521 from myrrc/improvement/avro-format-lc
...
Fixing the inability to deserialize AVRO into table if it contains LowCardinality columns
2020-10-30 11:31:22 +03:00
myrrc
9564a7f6d1
simplified the cast
2020-10-29 20:30:24 +03:00
myrrc
68b47f5f61
removing LC in AVRO input format if needed
2020-10-29 20:24:54 +03:00
Pavel Kruglov
dbfef325e6
Rename NullSink to NullOutput
2020-10-29 20:22:48 +03:00
hexiaoting
483be134b2
Support MergeTree Engine
2020-10-23 16:36:17 +08:00
hexiaoting
fcd35b0619
Merge branch 'master' into dev_map2
2020-10-18 16:18:13 +08:00
Vitaly Baranov
5f261cec3c
Merge pull request #15199 from filimonov/non_delimited_protobuf
...
ProtobufSingle format
2020-10-15 16:58:39 +03:00
Amos Bird
1bcacde8d5
Eagerly move data out of sink
2020-10-14 21:05:20 +08:00
hexiaoting
4f3f221987
Fix build error
2020-10-14 14:35:14 +08:00
hexiaoting
cdb4dd57a6
Add new DataType Map(key,value)
2020-10-14 14:35:14 +08:00
Mikhail Filimonov
87a8ba63f7
Few more CR fixes
2020-10-12 15:05:40 +02:00
Mikhail Filimonov
7fb329713a
Avoid shadowing class member, set first_row flag after write
2020-10-12 07:52:38 +02:00
Mikhail Filimonov
f6b00f2cb6
After CR fixes
2020-10-12 07:52:09 +02:00
Mikhail Filimonov
c37a456c49
Refactoring WriteCallback->RowOutputFormatParams
2020-10-12 07:52:06 +02:00
Mikhail Filimonov
e17d4e1eeb
Tests and some docs
2020-10-12 07:51:46 +02:00
Mikhail Filimonov
6df42c580b
ProtobufSingle output format
2020-10-12 07:51:45 +02:00
Mikhail Filimonov
b602d18dd8
ProtobufSingle input format
...
Allows to read Single protobuf message at once (w/o length-delemeters).
2020-10-12 07:51:36 +02:00
alexey-milovidov
2fcf2e0fbe
Merge pull request #15443 from ucasFL/pretty_row_numbers
...
Add setting `output_format_pretty_row_numbers`
2020-10-05 11:49:55 +03:00
feng lv
d2f75f8508
fix
2020-10-02 23:13:28 +08:00
feng lv
c857b5dd5d
fix
2020-09-30 09:50:23 +08:00
alexey-milovidov
9f944424cf
Merge pull request #15364 from ClickHouse/format-raw-blob
...
Add format RawBLOB
2020-09-30 01:14:40 +03:00
feng lv
4f000388a7
add setting output_format_pretty_row_numbers
2020-09-29 20:30:36 +08:00
Alexey Milovidov
e4800e7b35
Fix comment
2020-09-29 00:10:36 +03:00
Alexander Kuzmenkov
51b9aaf4d8
Merge pull request #15363 from ClickHouse/format-regexp-raw
...
Add support for "Raw" column format for Regexp format
2020-09-28 20:03:32 +03:00
Nikita Mikhaylov
72e4b10c00
Merge pull request #14842 from hexiaoting/hxt_dev
...
Fix bug for LineAsString Format
2020-09-28 14:02:23 +03:00
Alexey Milovidov
a7ddd8489a
Added format RawBLOB
2020-09-28 03:11:19 +03:00
Alexey Milovidov
b800a7fdf1
Add support for "Raw" column format for Regexp format
2020-09-28 01:09:32 +03:00
hexiaoting
023daddbea
Fix bug for LineAsString Format
2020-09-15 18:13:39 +08:00
Artem Zuikov
51ba12c2c3
Try speedup build ( #14809 )
2020-09-15 12:55:57 +03:00
nikitamikhaylov
d0c259974d
style check
2020-09-10 19:35:18 +03:00
Nikita Mikhaylov
a39ba57e8c
Merge branch 'master' into dev-nf
2020-09-10 18:10:47 +04:00
Nikita Mikhaylov
f0a65522cc
Merge pull request #14333 from hczhcz/patch-0901
...
Add JSONStrings formats
2020-09-10 17:54:42 +04:00
hcz
d8fce448a2
Implement null_as_default for JSONStrings formats
2020-09-09 15:47:32 +08:00
Nikolai Kochetov
d771ce5609
Merge pull request #14500 from ClickHouse/many-rows-in-totals
...
Many rows in totals
2020-09-08 10:40:14 +03:00
Nikita Mikhaylov
a56d42de67
fix arcadia
2020-09-07 20:55:06 +03:00
Nikolai Kochetov
73de00f4df
Review fix.
2020-09-07 20:49:23 +03:00
Nikita Mikhaylov
2c04b0a8e6
comment added
2020-09-07 19:07:34 +03:00
Alexey Milovidov
4a336e3814
More consistent invocation of skipBOMIfExists
2020-09-07 07:21:55 +03:00
Nikolai Kochetov
41a3fad1ea
Allow many rows in totals.
2020-09-04 15:34:36 +03:00
hcz
a80c1adee8
Add JSONCompactStrings formats
2020-09-02 12:15:58 +08:00
hcz
86fa185bb6
Add JSONStrings formats
2020-09-01 17:06:36 +08:00
alexey-milovidov
65ee7dcb18
Merge pull request #13941 from gervarela/avro_confluent_skip_missing_magic_or_schema_id
...
Skip abnormaly small messages in AvroConfluent format
2020-08-26 19:34:42 +03:00
alexey-milovidov
3c6675f7f4
Update AvroRowInputFormat.cpp
2020-08-26 02:26:27 +03:00
alexey-milovidov
5d4507907d
Update AvroRowInputFormat.cpp
2020-08-26 00:19:51 +03:00
alexey-milovidov
efa5b76605
Update AvroRowInputFormat.cpp
2020-08-26 00:17:39 +03:00
Alexander Kuzmenkov
e3c919ec19
Merge pull request #13847 from hexiaoting/dev_rmcode
...
Deprecate ODBCDriver format
2020-08-24 22:34:52 +03:00
alexey-milovidov
b71ef6db22
Update AvroRowInputFormat.cpp
2020-08-21 18:34:15 +03:00
Gervasio Varela
a6a18b62f9
AvroConfluent + Kafla: Skip malformed messages that do not contain at least the AvroConfluent magic number and the schema id definition.
2020-08-21 11:11:41 +02:00
tao jiang
294aa985e0
fix typo exception name
2020-08-21 08:53:00 +08:00
alexey-milovidov
c5a7b1c456
Update RowInputFormatWithDiagnosticInfo.cpp
2020-08-20 20:34:55 +03:00
alexey-milovidov
911946b517
Update TabSeparatedRowInputFormat.cpp
2020-08-20 20:32:49 +03:00
tao jiang
189c284597
fix if statement code style check
2020-08-20 18:42:14 +08:00
tao jiang
70ef84ee4b
fix code style check
2020-08-20 18:06:41 +08:00
Jiang Tao
613e3f7247
optimize error msg for null value
2020-08-20 11:25:28 +08:00
hexiaoting
e9be2f14ea
fix implementation for \n separated lines
2020-08-19 11:50:43 +08:00
hexiaoting
ddbfe0ce21
Deprecate ODBCDriver format
2020-08-18 11:29:40 +08:00
hexiaoting
0451d57293
Add new feature: LineAsString Format
2020-08-18 10:35:08 +08:00
hexiaoting
405a6fb08f
New feature: LineAsString format. #13630
2020-08-17 18:20:23 +08:00
tavplubix
18ef911fe8
Merge pull request #13672 from zhang2014/refactor/materialize_mysql_database
...
ISSUES-4006 split mysql protocol to multiple packets
2020-08-16 13:55:11 +03:00
alexey-milovidov
d95b9f73a4
Update TabSeparatedRowInputFormat.cpp
2020-08-15 11:11:10 +03:00
zhang2014
96bd3ac34b
ISSUES-4006 split mysql protocol
2020-08-13 20:41:36 +08:00
zhang2014
34f4c8972e
ISSUES-4006 split replication packets
2020-08-13 20:07:02 +08:00
zhang2014
c76d7e3121
ISSUES-4006 split generic packets
2020-08-13 18:17:13 +08:00
zhang2014
c0d42b764e
ISSUES-4006 split protocol text packet
2020-08-13 17:20:45 +08:00
zhang2014
4fcc178deb
ISSUES-4006 split mysql protocol
2020-08-13 16:17:33 +08:00
zhang2014
688836cdc4
ISSUES-4006 split msql protocol & fix build
2020-08-13 14:30:29 +08:00
Azat Khuzhin
6097f769c7
Fix assertion for carriage return in the header in TSVWithNames* format.
...
TabSeparatedRowInputFormat::readPrefix() tries to check for carriage
return (via checkForCarriageReturn()), however it does the check after
checking the column is exists, reorder the codepath a little bit to
run checkForCarriageReturn() before.
2020-08-12 11:13:19 +03:00
Azat Khuzhin
d5a2e1e61c
Call doWritePrefix() if IOutputFormat works as Processor (i.e. clickhouse-local)
...
This fixes the *WithNames output format (lack of header before this
patch).
2020-08-11 00:52:35 +03:00
Azat Khuzhin
ba92213d21
Write header only once in TSVWithNames*
2020-08-11 00:52:35 +03:00
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
Nikolai Kochetov
79f30f9446
Merge pull request #13399 from hczhcz/patch-0806
...
Fix empty output of arrow related formats
2020-08-07 15:31:45 +03:00
hcz
898e19e18d
Fix function names
2020-08-07 15:40:05 +08:00
Nikolai Kochetov
539be71635
Fix tests.
2020-08-06 13:05:27 +03:00
Azat Khuzhin
15be6a0dd5
Fix quirks for PrettyCompactMonoBlock
...
- Fix PrettyCompactMonoBlock for clickhouse-local (broken in 20.3+,
fails with an error `Unknown format PrettyCompactMonoBlock`, after #6239 )
- Fix extremes/totals with PrettyCompactMonoBlock (even before 20.3
breakage they were simply ignored)
2020-08-06 11:59:45 +03:00
hcz
dadcca6c08
Fix empty output of arrow related formats
2020-08-06 16:32:31 +08:00
Andrew Onyshchuk
2883831564
AvroConfluent: skip broken messages
2020-08-04 02:43:42 -05:00
Andrew Onyshchuk
99c183da0f
AvroConfluent: skip tombstone records
2020-08-04 02:43:42 -05:00