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
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals ( #13097 )
2020-08-19 14:52:17 +03:00
hexiaoting
ddbfe0ce21
Deprecate ODBCDriver format
2020-08-18 11:29:40 +08:00
hexiaoting
405a6fb08f
New feature: LineAsString format. #13630
2020-08-17 18:20:23 +08: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
Alexey Milovidov
6f690b7c0d
Normalize ya.make files, fix "Arcadia" build
2020-08-02 16:57:38 +03:00
Nikita Mikhaylov
4d49d2c671
another removes
2020-07-30 13:31:14 +03:00
Nikita Mikhaylov
1d6c2ba689
rewrite other test + remove useless includes
2020-07-29 20:37:57 +03:00
alesapin
0740b88d6b
Merge branch 'master' into fasttest
2020-07-14 15:19:05 +03:00
Yuriy Chernyshov
0d057afaad
Update ya.make
...
Works around https://github.com/protocolbuffers/protobuf/issues/7681
2020-07-13 19:21:51 +03:00
Maxim Sabyanin
40f7ec71d3
add setting output_format_pretty_grid_charset
...
This setting allows to chose charset for printing grids (either UTF-8 or
ASCII).
2020-07-10 22:25:49 +03:00
alesapin
a9824fd650
Better cmake and less libraries
2020-07-10 22:08:18 +03:00
Nikita Mikhaylov
b74b27854a
yet another try
2020-06-30 14:38:09 +03:00
Nikita Mikhaylov
33e627777b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into Avogar_orc_output_format
2020-06-29 17:25:33 +03:00
Andrew Onyshchuk
9054862dde
Avro: allow missing fields
2020-06-27 21:23:21 -05:00
Nikita Mikhaylov
717f63923a
Merge branch 'master' into orc_output_format
2020-06-23 15:07:05 +04:00
Alexey Milovidov
3f96bdaa24
Minor changes after merge
2020-06-21 15:16:08 +03:00
alexey-milovidov
4ee623ccac
Merge pull request #10242 from MovElb/movelb-postgresql-wire-protocol-impl
...
PostgreSQL wire protocol implementation
2020-06-21 14:39:22 +03:00
Alexey Milovidov
394fb64a9c
Better way of implementation
2020-06-14 20:42:11 +03:00
Avogar
93aee32ae4
Add ORCBlockOutputFormat
2020-06-14 18:35:32 +03:00
Alexey Milovidov
a76bd99e84
Added setting "output_format_pretty_max_value_width"
2020-06-01 01:12:13 +03:00
Alexey Milovidov
2895cfb480
Limit value width in Pretty formats
2020-05-31 22:22:59 +03:00
MovElb
b4b5c90343
squash
2020-05-30 20:05:05 +03:00
Vitaly Baranov
a452d037ef
Fix handling bad data while reading in Protobuf format.
2020-05-28 18:41:20 +03:00
Ivan
21ce8dbbc3
Fix CH-over-YDB build ( #10921 )
2020-05-14 22:56:10 +03:00
FawnD2
ea87bd1c64
Merge branch 'master' into arrow-io-format
2020-05-05 18:52:44 +03:00
FawnD2
f0201f7aca
Move ORC to Input only formats
2020-05-04 18:04:20 +03:00
Anton Okhitin
7366227115
Fix arcadia build
2020-05-04 16:47:08 +03:00
FawnD2
02e12215e7
Apply reducing memory usage optimization for seekable files to ORC format
2020-05-04 03:52:28 +03:00
FawnD2
112758b99d
Merge branch 'master' into arrow-io-format
2020-05-04 00:53:17 +03:00
FawnD2
7cc7a87f9f
Simplify interfaces
2020-05-03 21:12:14 +03:00
FawnD2
a590826fbb
Format settings for Arrow
2020-05-03 15:26:39 +03:00
FawnD2
6e0b31fb2a
Arrow output format
2020-05-03 05:46:36 +03:00
alexey-milovidov
250a44a47f
Merge pull request #10607 from Avogar/json_as_string_format
...
Add JSONAsStringRowInputFormat
2020-05-02 22:17:22 +03:00
Avogar
3de0bca856
Remove double space
2020-05-01 19:50:18 +03:00
Avogar
6464a1a902
Add JSONAsStringRowInputFormat
2020-04-30 23:16:09 +03:00
FawnD2
538e6c39da
Arrow input format
2020-04-28 22:52:22 +03:00
Vitaliy Zakaznikov
664a09e55d
Simplifying code related to auto set output_format_enable_streaming option.
2020-04-28 18:37:15 +02:00
Vitaliy Zakaznikov
4749122734
Adding support to auto set output_format_enable_streaming option
...
based on the query type.
2020-04-28 17:50:50 +02:00
Nikolai Kochetov
2f06180c5e
Revert changes for CSVRowOutputFormat.
2020-04-27 18:21:53 +03:00
Nikolai Kochetov
201a184d31
Enable auto flust for output formats if enable_streaming was set.
2020-04-27 18:00:10 +03:00
Nikolai Kochetov
32baa073b5
Merge remote-tracking branch 'upstream/master' into insert_into_watch_from_live_view
2020-04-27 17:49:50 +03:00
Vitaliy Zakaznikov
369b4d53ef
Adding support for output_format_enable_streaming
format setting.
2020-04-26 15:44:11 +02:00
Alexey Milovidov
603d132d45
Checkpoint
2020-04-22 09:34:20 +03:00
alexey-milovidov
17e7d4d88a
Merge pull request #10307 from abyss7/arcadia-4
...
Changes for auto-sync with Arcadia
2020-04-17 05:08:34 +03:00
Avogar
831c48c514
Add MarkdownRowOutput format
2020-04-16 23:10:42 +03:00
Ivan Lezhankin
e230632645
Changes required for auto-sync with Arcadia
2020-04-16 15:31:57 +03:00
Avogar
092479397a
Remove extra line.
2020-04-04 17:07:11 +03:00
Avogar
7a96984dd8
Merge branch 'master' of github.com:ClickHouse/ClickHouse into msgpack_format
2020-04-04 16:44:44 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00