alesapin
b9591a8bb4
Fix variable scope
2019-12-07 11:17:01 +03:00
alesapin
3881a85c39
Review fixes
2019-12-07 01:22:12 +03:00
alesapin
772bb0b70b
Fix collation locales
2019-12-05 18:35:09 +03:00
chertus
852e891499
better comment
2019-12-05 15:01:34 +03:00
Nikolai Kochetov
26e415736a
Merge pull request #7665 from 4ertus2/joins
...
New ANY, SEMI, ANTI JOIN (HashJoin only)
2019-12-05 14:38:20 +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
Vitaly Baranov
2cc78413ed
Merge pull request #7914 from azat/dist-send-extra-checksum
...
Add checksum for extra info/query in distributed sends
2019-12-05 11:43:08 +03:00
alesapin
a524e82a7f
Merge pull request #8029 from ClickHouse/fix_dict_partially_update_failover
...
Fix external dictionaries failover, when they have invalidate_query.
2019-12-05 11:12:17 +03:00
chertus
d3d2e39955
fix SEMI RIGHT JOIN
2019-12-04 23:23:07 +03:00
Azat Khuzhin
3a72e1c12a
Add checksum for extra info/query in distributed sends
...
This extras includes:
- server revision
- query settings
- query
Otherwise the code can try to interpret data, and got for instance
std::length_error exception, which is not catched (to mark the part as
broken). Also this will protect from the corruptions on disk.
And add a simple test, since dbms/tests/integration/test_insert_into_distributed too complex.
Also simplify the code by using readStringBinary() over
readVarUInt()+b.readStrict() (this also gains additional checks that
string is not bigger then 1GB).
Refs: #4852 (8ef7f3589a
)
v2: avoid ABI breakage (suggested by @vitlibar)
v3: minor code fixes (suggested by @vitlibar) and as a consequence clang-8 build fix
v4: drop DBMS_MIN_REVISION_WITH_EXTRAS_CHECKSUM_IN_DIST_BATCH and also
revert some renames to make the patch cleaner
2019-12-04 22:54:38 +03:00
Nikolai Kochetov
715d7a6455
Disable processors by default.
2019-12-04 20:24:53 +03:00
alesapin
7b8443710d
Better code
2019-12-04 19:20:24 +03:00
alesapin
40c6966223
Don't check dictionary modification if it's already have an exception.
2019-12-04 18:23:18 +03:00
alesapin
3128b62f0e
Create dictionary if not exists
2019-12-04 18:11:36 +03:00
alesapin
a41764cccc
Reload dictionary with invalidate query if it has exception
2019-12-04 17:45:56 +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
4337fc20b5
Enable processors by default.
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
alesapin
eb17d51dd4
Remove unused function
2019-12-04 12:49:54 +03:00
alesapin
d1d3bac744
Better
2019-12-04 12:48:08 +03:00
alesapin
9e5f13e7af
Merge branch 'fix_metric_suffix_in_settings_value' of https://github.com/millb/ClickHouse into millb-fix_metric_suffix_in_settings_value
2019-12-04 12:22:29 +03:00
alesapin
8877129d60
Merge pull request #8012 from ClickHouse/millb-url_engine_problem
...
Merging [#7154 ]
2019-12-04 12:13:15 +03:00
alesapin
fa4728d44f
Fix style
2019-12-03 20:57:00 +03:00
Nikolai Kochetov
7b3c56990d
Merge pull request #8005 from ClickHouse/add-more-checks-to-chunk
...
Add forgotten rows number check to chunk constructor.
2019-12-03 20:26:19 +03:00
alesapin
2a43daec5c
Buildable code
2019-12-03 20:15:16 +03:00
alesapin
20e4e92c49
Fix some conflicts
2019-12-03 19:32:41 +03:00
chertus
3829df0e7b
fix comment
2019-12-03 17:38:13 +03:00
chertus
e160d35e54
more Join.addJoinedBlock() refactoring
2019-12-03 17:30:51 +03:00
Nikolai Kochetov
31d5c66867
Fix num rows in IRowInputFormat
2019-12-03 16:43:40 +03:00
Alexander Burmak
108c792fd9
Fixed typos in ExternalLoader.h and CrossToInnerJoinVisitor.cpp
2019-12-03 16:39:42 +03:00
chertus
46b27e4dd1
perf: move heavy addJoinedBlock() operations out of lock
2019-12-03 16:31:52 +03:00
chertus
3dc6ef421e
perf: do not make row filter if not needed
2019-12-03 15:55:20 +03:00
alexey-milovidov
1b2297bcee
Merge pull request #7999 from litao91/typo_fix
...
Fix a minor typo on formatting UNION ALL AST
2019-12-03 15:29:49 +03:00
alexey-milovidov
aadf7c689c
Merge pull request #7993 from ClickHouse/merge-great-circle-distance
...
Merging #7307
2019-12-03 15:23:38 +03:00
alexey-milovidov
f09c29a2b6
Merge pull request #7992 from ClickHouse/excitoon-favorites-s3auth
...
Merging #7623
2019-12-03 15:21:12 +03:00
Nikolai Kochetov
448d755a3b
Add forgotten rows number check to chunk constructor.
2019-12-03 14:56:51 +03:00
litao91
d9607c50fe
Fix a minor typo on formatting UNION ALL AST
2019-12-03 16:58:00 +08:00
Alexey Milovidov
40b0f12755
Removed tons of garbage from "greatCircleDistance" function. But algorithm is still unclear.
2019-12-03 05:25:23 +03:00
alexey-milovidov
0c904f1484
Merge pull request #7721 from 4ertus2/decimal
...
Basic GatherUtils support for Decimals
2019-12-03 05:15:38 +03:00
alexey-milovidov
0734d4695b
Merge pull request #7724 from 4ertus2/some
...
Missing array functions for Decimals
2019-12-03 05:14:33 +03:00
alexey-milovidov
812df3aef3
Merge pull request #7755 from nikitamikhaylov/storage_set
...
Using the Set engine happen Exception: Method read is not supported by storage Set
2019-12-03 05:09:47 +03:00
alexey-milovidov
ef66c453c4
Update ExpressionAnalyzer.h
2019-12-03 05:09:05 +03:00
alexey-milovidov
cdaa913d1f
Update ExpressionAnalyzer.h
2019-12-03 05:08:41 +03:00