Maksim Kita
c2ecdb7269
Fixed build issues
2021-06-16 23:28:41 +03:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +03:00
Kruglov Pavel
bf36f5a977
Merge pull request #25000 from vitlibar/fix-protobuf-serialization-of-splitted-nested-messages
...
Fix serialization of splitted nested messages in Protobuf format.
2021-06-16 14:04:14 +03:00
Pavel Kruglov
c8b37977da
Fix bugs, support dictionary for Arrow format
2021-06-15 16:15:27 +03:00
Vitaly Baranov
c015ec7be9
Fix serialization of splitted nested messages in Protobuf format.
2021-06-05 14:20:39 +03:00
Nikolai Kochetov
dbaa6ffc62
Rename ContextConstPtr to ContextPtr.
2021-06-01 15:20:52 +03:00
kssenii
054fe1cf2f
Fix
2021-05-31 14:24:35 +03:00
kssenii
69816e6eff
Fix checks
2021-05-30 15:44:58 +03:00
kssenii
2a631aaf08
Final fixes
2021-05-29 00:34:44 +03:00
kssenii
0d393c0006
Fix tests
2021-05-27 17:21:19 +03:00
kssenii
f66c67a979
Fixes
2021-05-27 15:42:46 +03:00
kssenii
866b29fb5a
Return list fds with Poco, more canonical
2021-05-23 10:56:13 +03:00
kssenii
85cc7a8923
Remove last presence of Poco::Path in src
2021-05-17 17:44:10 +03:00
kssenii
649dd23b8b
Poco::resolve
2021-05-17 09:48:02 +03:00
kssenii
3b1bf2bae6
Poco::Path substitution
2021-05-16 23:38:23 +03:00
Alexey Milovidov
7dfb7664f7
Messing with the code (removed trash)
2021-05-07 21:16:27 +03:00
Alexey Milovidov
962a7113f6
Remove code that I do not like (crazy templates)
2021-05-04 20:26:09 +03:00
Alexey Milovidov
052b532025
Untangle UUID
2021-05-04 02:16:45 +03:00
Alexey Milovidov
6ca37b9512
Untangle UUID
2021-05-04 01:59:38 +03:00
Maksim Kita
318c4bb80d
Add examples folder filter to ya.make.in
2021-04-30 11:25:52 +03:00
Nikita Mikhaylov
9f55424250
move to examples everywhere
2021-04-27 01:51:42 +03:00
Alexander Kuzmenkov
35459a0228
Update FormatFactory.cpp
2021-04-22 21:48:06 +03:00
TCeason
b4bf53dfc9
add some comment and modify a parameter type
2021-04-19 15:34:27 +08:00
TCeason
63403c709c
modify settings name to external_xxx and rewrite Storage MySQL max_block_size
2021-04-19 10:51:50 +08:00
TCeason
87aa904440
Modify according to review opinion
2021-04-19 10:51:50 +08:00
TCeason
472c131420
Add MySQL read history data bytes judgment
2021-04-19 10:51:50 +08:00
Alexey Milovidov
07b610cf70
Remove useless files
2021-04-13 23:04:13 +03: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
alexey-milovidov
5d672d4529
Update FormatFactory.cpp
2021-04-06 22:23:16 +03:00
Nikita Mikhailov
37f48d13b4
add test
2021-04-06 22:23:16 +03:00
kssenii
dc42d5189d
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into replicas-shards-for-mysql-and-postgres
2021-04-05 15:36:35 +00:00
alexey-milovidov
687d1e9b54
Merge pull request #22528 from kitaisreal/format-settings-null-as-default-default-value-fix
...
FormatSettings null_as_default default value fix
2021-04-03 12:49:08 +03:00
Maksim Kita
5ba6c7b731
FormatSettings null_as_default default value fix
2021-04-03 00:05:40 +03:00
kssenii
18dd8dd79b
Typo
2021-03-31 17:05:41 +00:00
Peng Jian
26b5482b4d
remove the flag in the parser
2021-03-31 22:25:51 +08:00
Peng Jian
909d5ad2b5
Handle errors for Kafka engine
2021-03-31 17:15:57 +08:00
kssenii
ce05087b1b
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into replicas-shards-for-mysql-and-postgres
2021-03-30 17:27:10 +00:00
kssenii
ef537b802f
Better comments
2021-03-27 21:10:44 +00:00
kssenii
95e8a8b9f0
Support shards
2021-03-27 14:40:07 +00:00
kssenii
ae868208c2
Use pool with failover in mysql storage
2021-03-27 14:39:45 +00:00
Anton Popov
6a15431be7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-25 15:57:35 +03:00
Alexey Milovidov
3f67f4f47b
Saturation for DateTime
2021-03-15 23:40:33 +03:00
Alexey Milovidov
671395e8c8
Most likely improve performance
2021-03-15 22:23:27 +03:00
Anton Popov
bc417cf54a
refactoring of serializations
2021-03-09 17:46:52 +03:00
Vitaly Baranov
2480e4ee3d
Better tests for protobuf format #2 .
2021-02-24 21:06:29 +03:00
Vitaly Baranov
2eecaee08d
Better tests for protobuf format.
2021-02-20 23:13:32 +03: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
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
Nikita Mikhailov
d615b8e516
more checks
...
(cherry picked from commit b45168ecaf37d0061edfd12c67a8c5300d45d2e3)
2021-02-15 16:11:16 +03:00
Nikita Mikhaylov
a77b740a7c
Merge pull request #20286 from nikitamikhaylov/json-import-bugfix
...
Error from allocator on JSON import
2021-02-15 12:40:09 +03:00
Nikita Mikhaylov
3174c57562
Update src/Formats/JSONEachRowUtils.cpp
...
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-02-12 15:29:19 +03:00
Nikita Mikhailov
47f62e899b
style
2021-02-10 17:52:28 +03:00
Nikita Mikhailov
6c9f5e4991
try
2021-02-10 17:16:27 +03:00
Alexey Milovidov
905793a7e4
Disable excessive squashing of blocks for StorageMemory #13052
2021-02-07 04:57:17 +03:00
Alexey Milovidov
bd0ec1b9f4
Remove useless header
2021-02-02 06:03:30 +03:00
Maksim Kita
a45459e095
Fixed tests
2021-01-27 16:25:27 +03:00
Maksim Kita
b745c64459
Added Nullable support for DirectDictionary
2021-01-27 16:25:27 +03:00
kssenii
daab2c91bb
Better
2021-01-21 21:15:11 +00:00
kssenii
c1702f34ee
Add factories info into system.query_log
2021-01-21 15:46:37 +00:00
alexey-milovidov
72b142a00a
Merge branch 'master' into pg2ch
2021-01-06 23:18:59 +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
a1d3c0173d
better
2020-12-30 08:34:49 +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
2b90b4e01d
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-29 22:47:06 +03:00
kssenii
c1eced8993
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg2ch
2020-12-29 15:09:53 +00:00
Nikita Mikhailov
2dde73f700
better
2020-12-28 19:52:54 +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
awesomeleo
5337d4e2dc
fix 18450, DB::Exception: Unsupported type FixedString
2020-12-27 23:51:14 +08:00
kssenii
42023f4b95
Support insert into table
2020-12-27 12:16:27 +00:00
kssenii
ea817862ba
Better
2020-12-27 12:16:13 +00:00
kssenii
2f6cb7f2f5
Add storage PostgreSQL with read support
2020-12-27 12:15:57 +00: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
27f647f93d
done
2020-12-23 01:01:05 +03:00
Alexey Milovidov
3ab2a167e8
Merge branch 'master' into arrays-as-nested-csv
2020-12-22 00:05:50 +03:00
Alexey Milovidov
558e9d270f
Whitespace
2020-12-21 10:41:05 +03:00
Alexey Milovidov
ae9b67fefa
Support to parse Arrays in CSV as nested CSV in a String
2020-12-20 13:26:08 +03:00
Nikita Mikhailov
fbf2ac35e8
fix tsan
2020-12-17 18:14:09 +03:00
nikitamikhaylov
12e624fd9a
fix tests
2020-12-15 00:56:48 +03:00
nikitamikhaylov
f7ac8bf542
rebase and fix tests
2020-12-15 00:56:48 +03:00
nikitamikhaylov
3c683b1d86
better
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
Nikita Mikhaylov
d0bd4e97c9
Update src/Formats/JSONEachRowUtils.cpp
...
Co-authored-by: tavplubix <tavplubix@gmail.com>
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
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
3bc1affd21
remove CSV restriction
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
Azat Khuzhin
5b3ab48861
More forward declaration for generic headers
...
The following headers are pretty generic, so use forward declaration as
much as possible:
- Context.h
- Settings.h
- ConnectionTimeouts.h
(Also this shows that some missing some includes -- this has been fixed)
And split ConnectionTimeouts.h into ConnectionTimeoutsContext.h (since
module part cannot be added for it, due to recursive build dependencies
that will be introduced)
Also remove Settings from the RemoteBlockInputStream/RemoteQueryExecutor
and just pass the context, since settings was passed only in speicifc
places, that can allow making a copy of Context (i.e. Copier).
Approx results (How much units will be recompiled after changing file X?):
- ConnectionTimeouts.h
- mainline: 100
- Context.h:
- mainline: ~800
- patched: 415
- Settings.h:
- mainline: 900-1K
- patched: 440 (most of them because of the Context.h)
2020-12-12 17:43:10 +03:00
zhang2014
2f735aa61d
ISSUES-16835 try fix review comment
2020-12-09 16:19:09 +08:00
zhang2014
9e5253c9fa
ISSUES-16835 try fix test
2020-11-25 23:52:30 +08:00
zhang2014
6701dfe369
ISSUES-16835 add missing name check
2020-11-25 13:47:11 +08:00
zhang2014
a74235397e
ISSUES-16835 try fix miss match header with MySQL SHOW statement
2020-11-24 23:31:43 +08:00
Alexander Kuzmenkov
24293ccb30
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-19 15:28:37 +03:00
Alexander Kuzmenkov
f2b3f5f8b6
Allow formatting named tuples as JSON objects
2020-11-18 13:38:30 +03: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
24f4fa6edf
Follow Arcadia ya.make rules
2020-11-17 00:16:50 +03:00
Alexey Milovidov
3df04ce0c2
Follow Arcadia ya.make rules
2020-11-16 21:24:58 +03:00
nikitamikhaylov
09db36048a
after merge
2020-11-13 00:34:34 +03:00
Nikita Mikhaylov
33bada767c
Merge branch 'master' into parsing-constraints
2020-11-12 23:25:39 +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
Alexander Kuzmenkov
3c60f6cec2
make a separate settings collection + some cleanup
2020-11-07 11:53:39 +03:00
nikitamikhaylov
2febfd43e5
rewrite format line as string
2020-11-06 21:55:13 +03:00
nikitamikhaylov
dabb23b668
done
2020-11-06 21:55:13 +03:00
Alexey Milovidov
5cfd84249b
Merge branch 'master' into register-formats
2020-11-04 12:41:59 +03:00
Alexander Kuzmenkov
548ac9d57b
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-02 17:37:30 +03:00
Alexander Kuzmenkov
db1e9750b9
fix build
2020-11-02 17:35:06 +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
Maxim Akhmedov
3627fabfb9
Remove -g0 form Arcadia build settings.
2020-10-29 17:37:23 +03:00
Alexey Milovidov
2e0a979e3a
Fix inconsistency in FormatFactory
2020-10-29 06:39:43 +03:00
vivarum
1d9df13b47
Merge branch 'master' into enable-parsing-of-input-enum-values-by-id-10682
2020-10-16 11:07:01 +03:00
Vitaly Baranov
997570780d
Merge branch 'master' into non_delimited_protobuf
2020-10-14 16:26:57 +03:00
Maksim Kita
adaae8a12c
Added OutputFormat setting date_time_output_format
2020-10-13 13:59:43 +03: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
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
Vasily Kozhukhovskiy
dfc13ca8e7
Enable parsing enum values by their ids for CSV, TSV and JSON input formats
...
* for CSV and TSV input formats input_format_csv_enum_as_number,
input_format_tsv_enum_as_number settings should be enabled in order to
treat input value as enum id
2020-10-06 18:37:54 +03: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
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
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
Anton Popov
085f63a9bf
fix hang of queries with a lot of subqueries to same mysql table
2020-09-25 14:12:48 +03:00
zhang2014
64032e22a2
Merge branch 'master' into fix/datetime
2020-09-18 00:28:09 +08: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
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
zhang2014
fea763bb75
ISSUES-4006 support decimal 256 for mysql block input stream
2020-09-10 11:37:00 +08:00
Vasily Nemkov
3973a17530
MySql datatypes dateTime64 and decimal ( #11512 )
2020-09-09 15:18:02 +03:00
Kruglov Pavel
cce3f3fe4e
Change setting name
2020-09-08 15:37:18 +03:00
Kruglov Pavel
ac5d6caef5
Add tsv_null_representation
2020-09-08 15:32:31 +03:00
Kruglov Pavel
0e9612d9ff
Add null_representation setting in TSV
2020-09-08 15:29:22 +03:00
Alexey Milovidov
e3924b8057
Fix "Arcadia"
2020-09-08 01:14:13 +03:00
hcz
a80c1adee8
Add JSONCompactStrings formats
2020-09-02 12:15:58 +08:00
Artem Zuikov
d304d522cc
Refactoring: rename types to allow change bigint library ( #14219 )
2020-09-01 12:54:50 +03:00
hcz
86fa185bb6
Add JSONStrings formats
2020-09-01 17:06:36 +08:00
hcz
602535396d
Refactor, move function declarations
2020-09-01 16:36:27 +08:00
Artem Zuikov
fe5db661ce
fix decimal to float conversion and toDecimal256()
2020-08-26 15:26:12 +03:00
Alexander Kuzmenkov
e3c919ec19
Merge pull request #13847 from hexiaoting/dev_rmcode
...
Deprecate ODBCDriver format
2020-08-24 22:34:52 +03:00