Alexey Milovidov
9f3afed5ff
Optimization of priority queue
2019-12-22 03:19:07 +03:00
Alexey Milovidov
eb9d6983c8
Added optimization for Processors; added reserve.
2019-12-22 01:16:39 +03:00
kreuzerkrieg
9612bb0e79
More GCC warnings
2019-12-16 23:19:50 +02:00
Nikolai Kochetov
a73eb4292b
Functions refactor part 1.
2019-12-09 00:06:37 +03:00
Vitaly Baranov
0e21673271
Rework Quota based on IAccessEntity.
2019-12-05 21:03:57 +03:00
Nikolai Kochetov
86ff01d3aa
Merge pull request #7988 from ClickHouse/processors-4.4
...
Better updated ports check in processors
2019-12-05 13:54:40 +03:00
Mikhail Korotov
88e37020e0
JSONCompactEachRow and JSONCompactEachRowWithNamesAndTypes ( #7841 )
...
* Research commit
* Created Output EachRow Format
* Fixed bugs
* Created output format JSONCompactEachRowWithNamesAndTypes without totals
* Fixed bugs
* Fixed bugs
* Totals for JSONCompactEachRowWithNamesAndTypes
* Deleted needless debug
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Tests added
* Input Format for JSONCompactEachRow
* Fixed bugs for JSONCompactEachRow Input format
* Fixed bugs for JSONCompactEachRowRowInputFormat.cpp
* JSONCompactEachRow and JSONCompactEachRowWithNamesAndTypes united
* Created input format for both formats
* fixed bugs
* fixed bugs
* Working commit
* Working commit
* Working commit
* Working commit
* tests
* Working commit
* Final tests
* Performance tests added
2019-12-05 13:13:40 +03:00
Nikolai Kochetov
3ac103f21c
Fix the number of rows in MergingSortedTransform.
2019-12-04 16:45:42 +03:00
Nikolai Kochetov
901a6b4627
Style fix.
2019-12-04 12:56:08 +03:00
Nikolai Kochetov
efe1616fda
Fix optimization for 'WHERE column in (empty set)' case.
2019-12-04 12:55:01 +03:00
Nikolai Kochetov
81b5b17828
Fix pvs studio varning.
2019-12-04 12:55:01 +03:00
Nikolai Kochetov
fa98587c19
Init update_info in port.
2019-12-04 12:55:01 +03:00
Nikolai Kochetov
8524a75580
Check once if filter column can be always false in filter transform.
2019-12-04 12:55:01 +03:00
Nikolai Kochetov
9465183408
Add info about affected ports after prepare.
2019-12-04 12:55:01 +03:00
Nikolai Kochetov
4f2f474fde
Add info about affected ports to IProcessor::prepare
2019-12-04 12:55:01 +03:00
Nikolai Kochetov
31d5c66867
Fix num rows in IRowInputFormat
2019-12-03 16:43:40 +03:00
Nikolai Kochetov
448d755a3b
Add forgotten rows number check to chunk constructor.
2019-12-03 14:56:51 +03:00
alexey-milovidov
87adf355e8
Merge pull request #7935 from filimonov/kafka_perf
...
[wip] attempt to improve kafka parsing performance
2019-12-03 03:52:40 +03:00
alexey-milovidov
6fdfdcfd4e
Update ValuesBlockInputFormat.cpp
2019-12-03 03:51:10 +03:00
alexey-milovidov
4d65ad4034
Update ValuesBlockInputFormat.cpp
2019-12-03 03:50:50 +03:00
alexey-milovidov
4a69082fbb
Update ProtobufRowInputFormat.h
2019-12-03 03:49:50 +03:00
alexey-milovidov
a7521b97f9
Update IInputFormat.cpp
2019-12-03 03:49:05 +03:00
Yuriy
211e1364f6
fixed style
2019-12-02 06:12:27 +03:00
Yuriy
3677d1dcfa
implemented ProtocolText
2019-12-01 15:17:49 +03:00
Mikhail Filimonov
07722dfa93
more progress - cleanup internal cycles
2019-11-29 00:06:03 +01:00
Mikhail Filimonov
6217cb51f6
Get rid of InputStream layer for Kafka, use InputStream directly. Reopening port during reset.
2019-11-28 17:43:06 +01:00
Mikhail Filimonov
deec48a3e0
attempt to fix kafka parsing performance regression https://github.com/ClickHouse/ClickHouse/issues/7261
2019-11-27 00:46:19 +01:00
alexey-milovidov
0633f9f8db
Update CSVRowInputFormat.cpp
2019-11-23 03:24:25 +03:00
Nikita Mikhaylov
22a8e8efa7
better segmenating + move read functions to avoid linker errors
2019-11-22 16:53:26 +03:00
Nikita Mikhaylov
d495e282c7
returning back JSON and CSV
2019-11-22 13:38:08 +03:00
Nikita Mikhaylov
6f80b0fed4
move specific functions to ReadHelpers
2019-11-22 13:12:24 +03:00
tavplubix
b75b6c294d
Merge pull request #7762 from ClickHouse/possible_segfaults_in_table_functions
...
Fix Storage lifetime in table functions
2019-11-22 02:29:06 +03:00
Nikita Mikhaylov
1d74aecda8
fix typo in asserts
2019-11-21 21:14:47 +03:00
Alexander Tokmakov
ba3969527f
move table locks to main pipeline
2019-11-21 18:37:59 +03:00
Nikita Mikhaylov
31cb69269b
small fix
2019-11-21 16:44:11 +03:00
Alexander Kuzmenkov
c913155d95
Fix TSV segmentation.
2019-11-20 20:24:44 +03:00
Alexander Kuzmenkov
9a2b864940
Cleanup
2019-11-19 21:42:51 +03:00
Alexander Kuzmenkov
7e5731d64e
Merge remote-tracking branch 'origin/master' into HEAD
2019-11-19 16:15:47 +03:00
Alexander Kuzmenkov
168e15b2ae
chunk size -> chunk bytes
2019-11-18 22:45:26 +03:00
Alexander Kuzmenkov
4ab7ac14bd
Remove all segmentation engines except TSV
2019-11-18 16:12:28 +03:00
Alexander Kuzmenkov
83030b98a2
remove MemoryExt<>
2019-11-18 16:10:14 +03:00
Vitaly Baranov
ff6cba192b
Replace pointer with reference in SettingsCollection<T>::MemberInfos::findStrict().
...
Rename SettingsCommon.h -> SettingsCollection.h for consistency.
2019-11-17 03:51:51 +03:00
Alexander Tokmakov
55f60a6bad
hold shared pointers to table function Storage and Context from InterpreterSelectQuery
2019-11-15 21:42:32 +03:00
Alexander Kuzmenkov
5d5882d92b
wip: a saner segmentation function for TSV
2019-11-15 21:08:17 +03:00
Alexander Kuzmenkov
7f34c0089c
Merge remote-tracking branch 'origin/master' into HEAD
2019-11-14 18:53:36 +03:00
Nikolai Kochetov
296a56407f
Add thread name for pipeline threads.
2019-11-09 22:46:46 +03:00
Nikolai Kochetov
dd7ed390f6
Merge branch 'master' into processors-4-tmp
2019-11-08 18:53:03 +03:00
Nikolai Kochetov
7db03cfaf7
Fix performance in FilterTransform.
2019-11-08 14:27:52 +03:00
alexey-milovidov
a2e79cc427
Merge pull request #7574 from ClickHouse/processors-4
...
Fix tests for processors
2019-11-08 00:46:30 +03:00
Nikolai Kochetov
a34023192d
Fix limits for pipe.
2019-11-06 14:36:33 +03:00
Alexander Kuzmenkov
233212ac68
Merge pull request #7531 from amosbird/getkeymapped
...
Unify hash tables interface (separated for review)
2019-11-06 13:49:39 +03:00
Nikolai Kochetov
055f21c9b7
Less wrappers for procesors pipeline.
2019-11-05 20:33:03 +03:00
Amos Bird
fbfbe161ec
Unify hash tables interface.
2019-11-06 00:08:04 +08:00
Nikita Mikhaylov
0d3a05ce3b
remove logging + fix for PrettySpace + overrided readSuffix and readPrefix
2019-11-05 15:58:32 +03:00
Nikolai Kochetov
a0e9f9fdcf
Skip empty totals in SourceFromInputStream.
2019-11-05 15:50:47 +03:00
Nikita Mikhaylov
817b52314e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel_parsing
2019-11-05 12:32:26 +03:00
alexey-milovidov
ada6ee4137
Merge pull request #7591 from ClickHouse/one-more-attempt-djvu-bugfix
...
One more attempt of bugfix of infinite loop in pretty space format
2019-11-02 23:40:53 +03:00
proller
6a573b4092
Allow to use mysql format without ssl - try2 with mysql interface split ( #7524 )
...
* Allow use mysql format without ssl
* fix
* fix
* fix
* Also disable poco's optional libraries
* clean
* fix
* fix
* Requested changes
* clean
* Requested fixes
* Update MySQLHandler.cpp
2019-11-02 13:20:46 +03:00
stavrolia
e58aa4e579
One more attempt of bugfix of infinite loop in pretty space format
2019-11-02 11:53:35 +03:00
stavrolia
d503c38cac
Revert "Merge pull request #7587 from ClickHouse/fix-nonsignificant-djvu-bug"
...
This reverts commit 102a76ab47
, reversing
changes made to dea9220e3c
.
2019-11-02 03:23:27 +03:00
stavrolia
89d8e6de93
Fix
2019-11-02 02:39:43 +03:00
Nikita Mikhaylov
3c57b8e9c2
test
2019-11-01 21:59:54 +03:00
Nikolai Kochetov
1f7a798c97
Add flag to set that set is created.
2019-11-01 13:58:29 +03:00
Nikita Mikhaylov
9d8bbeb473
bad fix for PrettyCompact
2019-10-31 17:31:19 +03:00
Nikita Mikhaylov
b691cc744c
comments and checks
2019-10-30 18:49:10 +03:00
Nikita Mikhaylov
682b9df17f
remove SharedReadBuffer + remove lambdas
2019-10-25 15:28:24 +03:00
Nikolai Kochetov
9abab40512
Added more comments.
2019-10-23 06:45:43 +03:00
Nikita Mikhaylov
34d8ade4a0
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel_parsing
2019-10-22 15:56:51 +03:00
Nikolai Kochetov
dad1e397e2
Fix build.
2019-10-22 02:51:36 +03:00
Nikolai Kochetov
e7ba48ee84
Fix build.
2019-10-22 02:49:44 +03:00
Nikolai Kochetov
2b334a4adb
Review fixes.
2019-10-21 19:26:29 +03:00
Nikolai Kochetov
2893c35930
Merged with master.
2019-10-21 18:33:44 +03:00
Nikolai Kochetov
f7d2e1b758
Added Pipe class. Updated MergeTreeDataSelectExecutor.
2019-10-21 18:16:08 +03:00
Alexander Kuzmenkov
5e2cc37381
Distinguish Array and Tuple field types when creating from array of Fields. ( #7179 )
2019-10-18 18:57:05 +03:00
tavplubix
0046b9f137
Wait for jobs to finish on exception (fixes rare segfaults) ( #7350 )
2019-10-17 17:41:27 +03:00
Alexander Tokmakov
e9e8d055af
null_as_default for Values
2019-10-16 22:55:24 +03:00
Alexander Tokmakov
102cbfd25a
fix old bug with default values
2019-10-16 22:27:33 +03:00
Alexander Tokmakov
5f6703130e
fixes
2019-10-16 18:28:48 +03:00
Alexander Tokmakov
aa9d29d6ae
Merge branch 'master' into formats_improvements
2019-10-16 17:15:13 +03:00
Nikolai Kochetov
5364f76625
Fix build.
2019-10-14 16:50:16 +03:00
Alexander Kuzmenkov
160d8a6416
Ignore non-convertible values at any depth on the right side of IN
...
operator.
The values that are not convertible to the left argument type can't
match anyway, so it is safe to discard them.
2019-10-14 14:25:03 +03:00
Nikolai Kochetov
7c2575542b
Fix build.
2019-10-12 21:52:20 +03:00
Nikolai Kochetov
757488369f
Merge branch 'master' into processors-3
2019-10-12 19:24:02 +03:00
Nikolai Kochetov
51bce40d5e
Merge pull request #7284 from ClickHouse/fix-7216
...
Fix for #7216
2019-10-12 19:20:33 +03:00
Alexander Kuzmenkov
31bd359100
Merge pull request #7231 from ClickHouse/aku/podarray-includes
...
Include PODArray.h into fewer files.
2019-10-12 15:08:41 +03:00
Nikolai Kochetov
4967bcdbd0
Fix test.
2019-10-11 21:02:34 +03:00
Nikolai Kochetov
2684bd0d5e
Fixes for 7216
2019-10-11 20:27:54 +03:00
Alexander Kuzmenkov
8a1d57bddb
Include PODArray.h into fewer files.
2019-10-11 14:28:16 +03:00
Vitaly Baranov
18ccb4d64d
Move backQuote() and quoteString() to a separate file, use StringRefs.
2019-10-11 00:18:52 +03:00
Nikolai Kochetov
ef14df4632
Added more comments.
2019-10-10 17:16:15 +03:00
Nikolai Kochetov
9c5ae5f536
Merge branch 'master' into processors-and-storages
2019-10-09 14:12:47 +03:00
Nikolai Kochetov
eb2677c94e
Try fix progressbar.
2019-10-09 12:44:24 +03:00
Nikolai Kochetov
ea27918de8
Try fix progressbar.
2019-10-09 12:40:30 +03:00
Nikolai Kochetov
c7bb83262e
Fix progress callback for processors pipeline.
2019-10-09 12:33:16 +03:00
Alexander Kuzmenkov
2b30f2696c
Include Field.h in less files.
2019-10-08 16:23:24 +03:00
Alexander Tokmakov
73aa1d1518
diagnostic info for bad csv delimiters
2019-10-07 19:47:25 +03:00
Alexander Tokmakov
a2c83ac82e
add tests
2019-10-07 19:31:30 +03:00
Alexander Tokmakov
32b0b8272c
setup csv delimiter in Template format
2019-10-07 19:03:01 +03:00
proller
594c535bd4
Build fixes ( #7063 )
...
* Build fixes
* fix
* Fix
* fix
* Fix install(export..
* Freebsd fixes
* Freebsd fixes
* Fix warning
* fix
* More PRIVATE linking
* Fix review
* Timmy
* fix
* fix
2019-10-05 22:25:31 +03:00
Alexander Tokmakov
a90d126b93
support defaults_for_omitted_fields in TSV
2019-10-04 22:44:48 +03:00