Alexey Zatelepin
8957e73681
a tool to convert an old month-partition part to the custom-partitioned format [#CLICKHOUSE-4231]
2019-01-30 16:51:39 +03:00
alesapin
893b34f31c
Rename clear method
2019-01-30 14:48:23 +03:00
alesapin
586c6b3206
Better logging about exception
2019-01-30 14:07:10 +03:00
proller
1cfec66165
Merge remote-tracking branch 'upstream/master' into fix14
2019-01-30 13:01:45 +03:00
proller
dc34e8998c
Better fix
2019-01-30 13:01:01 +03:00
alesapin
6496bd423f
Add curl to docker image
2019-01-30 12:43:00 +03:00
Nikolai Kochetov
a40f8f9708
Fix unstable test.
2019-01-30 12:20:50 +03:00
alesapin
6edc34bbe9
Merge pull request #4189 from proller/fix10
...
Allow run dictionaries tests from ctest
2019-01-30 11:36:07 +03:00
alesapin
3d53b5f8c6
Add bridge binary to runner script
2019-01-30 11:24:16 +03:00
alesapin
95db9b4d76
Merge master
2019-01-29 23:17:52 +03:00
alexey-milovidov
fd5ab9ed2e
Merge pull request #4055 from yandex/fix-group-by-array-low-cardibality-arguments
...
Fix group by array low cardinality arguments
2019-01-29 21:32:45 +03:00
proller
3e999ebc1a
Allow run dictionaries tests from ctest
2019-01-29 21:09:31 +03:00
alesapin
4f97c291e6
Always run clickhouse-odbc-bridge; Integration tests now able to run odbc-bridge from separate binary; add symlink to clickhouse-odbc-bridge in dbms/programs folder;
2019-01-29 20:17:31 +03:00
proller
4942e024b1
4177 4156 : Fix crash on dictionary reload if dictionary not available
2019-01-29 19:36:50 +03:00
Nikolai Kochetov
21242ad658
Added tests. Restored recursiveRemoveLowCardinality interface.
2019-01-29 18:44:02 +03:00
alesapin
cb0e77dce6
Fix non initialized codec and wrong size in CacheCompressedReadBuffer
2019-01-29 17:55:57 +03:00
chertus
294f68c4ee
fix wrong test result
2019-01-29 15:54:46 +03:00
chertus
9c6f71bb7e
fix inner and left join with duplicates [issue-4108]
2019-01-29 15:38:53 +03:00
Alexey Milovidov
27b08a7f22
Merge branch 'master' into fixed-clickhouse-localhost-dictionaries
2019-01-29 13:45:06 +03:00
alexey-milovidov
aa06005a32
Merge pull request #4179 from yandex/avoid-overflow-in-function-sleep
...
Fixed possible overflow in function "sleep" (found by fuzz test with UBSan)
2019-01-29 13:44:39 +03:00
alesapin
ec88c521f2
Fix headres + sort input files
2019-01-29 13:43:35 +03:00
Alexey Milovidov
c792191831
Fixed possible overflow in function "sleep" (found by fuzz test with UBSan) #4166
2019-01-29 13:42:45 +03:00
alesapin
646137b63a
Add missed header
2019-01-29 13:05:15 +03:00
proller
343b31af66
More link with Threads::Threads
2019-01-28 21:21:20 +03:00
proller
5d4c1d9a88
Install fixes
2019-01-28 19:36:39 +03:00
alesapin
3532910023
Fix conflict
2019-01-28 19:25:28 +03:00
alesapin
07b19bd9ea
Merge remote-tracking branch 'origin' into refactor_performance_test
2019-01-28 19:23:08 +03:00
alesapin
86aeb4a251
Add normal logging, correct Ctrl+C handling and refactoring
2019-01-28 19:20:29 +03:00
Alexey Milovidov
5330ca16bc
Strip clickhouse-odbc-bridge to avoid symbol clash with ODBC drivers #3360
2019-01-28 19:06:07 +03:00
Alexey Milovidov
9b2a5c3dec
Merge branch 'master' into split-odbc-bridge
2019-01-28 18:15:18 +03:00
proller
2ab3138eb6
Merge remote-tracking branch 'upstream/master' into fix10
2019-01-28 17:01:06 +03:00
proller
2eee2d97df
Update contrib/libmetrohash
2019-01-28 17:00:50 +03:00
Alexey Milovidov
bc4944eed2
Fixed optimization of loading of ClickHouse dictionaries via localhost #1529
2019-01-28 16:26:10 +03:00
proller
403d36a7f4
Fix
2019-01-28 16:24:55 +03:00
proller
a874945e0e
Use cpuinfo if cpuid not available
2019-01-28 16:16:08 +03:00
proller
22549cc43b
Merge remote-tracking branch 'upstream/master' into fix10
2019-01-28 15:44:25 +03:00
alesapin
1cdb5cfba2
Something runnable
2019-01-28 14:20:44 +03:00
Alexey Milovidov
4e3d9a0f15
Merge branch 'master' of github.com:yandex/ClickHouse into global-thread-pool
2019-01-28 14:20:24 +03:00
Alexey Milovidov
cd326884a5
Addition to prev. revision #4150
2019-01-28 14:18:00 +03:00
alexey-milovidov
032ed27c27
Merge pull request #4154 from 4ertus2/joins
...
Add IdentifierSemantic and PredicateExpressionsOptimizer refactoring
2019-01-28 01:47:57 +03:00
alexey-milovidov
4b8cf83de7
Merge pull request #4151 from ercolanelli-leo/fix/sumMap-overflow
...
Fix/sum map overflow
2019-01-27 21:11:51 +03:00
alexey-milovidov
ba8fcfd32b
Merge pull request #4158 from vitlibar/add-support-for-absolute-format-schema-paths
...
Add support for absolute format schema paths.
2019-01-27 21:07:00 +03:00
Vitaly Baranov
e9721c9548
Add support for absolute format schema paths.
2019-01-27 12:15:32 +03:00
alexey-milovidov
9557b33e83
Update 00832_storage_file_lock.sql
2019-01-27 03:43:16 +03:00
Alexey Milovidov
de56cc7a8e
Added a test #2150
2019-01-27 03:40:54 +03:00
Alexey Milovidov
ef51f126b4
Removed extraordinarily bad code in StorageFile #2150
2019-01-27 03:38:30 +03:00
Alexey Milovidov
7100a74e41
Removed bug
2019-01-27 00:40:24 +03:00
Alexander GQ Gerasiov
aac21c5f57
Fix install of binaries when SPLIT_BINARIES is set.
2019-01-25 23:19:45 +03:00
proller
9230fe9917
Merge remote-tracking branch 'upstream/master' into fix10
2019-01-25 23:10:38 +03:00
proller
5328251ff1
Fix build without protobuf, gtest, cppkafka ( #4152 )
2019-01-25 23:02:03 +03:00
Léo Ercolanelli
f680176ade
sumMapWithOverflow: add test
2019-01-25 20:54:46 +01:00
Léo Ercolanelli
e1d6017120
use sumMapWithOverflow in SummingSortedBlockInputStream
2019-01-25 20:36:18 +01:00
Léo Ercolanelli
038a48bb38
sumMap: implement sumMapWithOverflow
2019-01-25 20:35:53 +01:00
proller
6964fb47ff
BUILD_DETERMINISTIC
2019-01-25 22:29:01 +03:00
Alexey Milovidov
253ac93459
Addition to prev. revision #4150
2019-01-25 21:44:30 +03:00
alesapin
0d4b7ff82e
Refactoring in performance test (may be build, but doesn't work)
2019-01-25 21:35:16 +03:00
alexey-milovidov
8124ee50e8
Merge pull request #4153 from amosbird/joingetfix
...
Better joinGet.
2019-01-25 20:47:53 +03:00
alexey-milovidov
c07dbee50d
Merge pull request #4148 from vitlibar/master
...
Use more IO/WriteHelpers.h functions in the class ProtobufSimpleWriter, rename variant=>varint.
2019-01-25 19:22:31 +03:00
chertus
9539467b59
hotfix
2019-01-25 18:48:53 +03:00
chertus
091efcda95
add IdentifierSemantic and PredicateExpressionsOptimizer refactoring
2019-01-25 18:42:24 +03:00
Amos Bird
d8eba7e71b
Better joinGet.
2019-01-25 23:38:13 +08:00
Léo Ercolanelli
a78282b834
IDataType.h: remove trailing whitespace
2019-01-25 15:42:44 +01:00
Léo Ercolanelli
57104f81da
rename widen
to promote
for IDataType
2019-01-25 15:16:23 +01:00
Vitaly Baranov
ed1136e49e
Use more IO/WriteHelpers.h functions in the class ProtobufSimpleWriter,
...
rename variant=>varint.
2019-01-25 17:15:44 +03:00
Alexey Milovidov
468f8b4cfb
Addition to prev. revision #4150
2019-01-25 17:08:01 +03:00
Alexey Milovidov
65f8e4d4a8
Merge branch 'master' into global-thread-pool
2019-01-25 16:33:50 +03:00
Léo Ercolanelli
0d6094a3ea
sumMap: return types less prone to oveflows
...
It used to be that sumMap would return the same type as the values
columns. If columns of Array(UInt8) were to be given, that would really
easily cause oveflow. It now uses `getWidenDataType` (and ultimately
`NearestFieldType`) in order to define the result type.
2019-01-25 14:29:45 +01:00
Léo Ercolanelli
d9195cda99
implement getWidenType()
on IDataType
...
This is essentially to help implementing the `getReturnType` of
aggregation function susceptible to provoque overflow (such as
`sumMap`).
2019-01-25 14:25:25 +01:00
chertus
02f236e457
one more test
2019-01-25 16:15:29 +03:00
chertus
a0fafefc96
minor change - add Aliases.h
2019-01-25 14:43:19 +03:00
alesapin
4e413f4c2d
Move classes to separate files
2019-01-25 14:03:02 +03:00
alexey-milovidov
20970154d8
Merge pull request #4141 from 4ertus2/ast
...
JOIN with USING: do not duplicate columns
2019-01-25 03:22:43 +03:00
alexey-milovidov
2626a2614c
Merge pull request #4145 from yandex/fix-fuzz-test-in-ubsan-quantile-weighted
...
Fix fuzz test in ubsan: added parameter type check for quantile*Weighted.
2019-01-25 02:45:07 +03:00
Alexey Milovidov
ef50601b5c
Removed non-breaking spaces: find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xc2\xa0' | xargs sed -i -r -e 's/\xc2\xa0/ /g'
2019-01-25 02:01:56 +03:00
Alexey Milovidov
5ccc42fd96
Revert "Removed non-breaking spaces: find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xc2\xa0' | xargs sed -i -r -e 's/\xc2\xa0/ /'"
...
This reverts commit a28f0acf09
.
2019-01-25 01:59:45 +03:00
Alexey Milovidov
304c7b0386
Style #4005
2019-01-24 22:50:16 +03:00
Alexey Milovidov
a28f0acf09
Removed non-breaking spaces: find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xc2\xa0' | xargs sed -i -r -e 's/\xc2\xa0/ /'
2019-01-24 22:49:36 +03:00
Alexey Milovidov
854817c232
Fixed -Wshadow-field #4005
2019-01-24 22:37:32 +03:00
Alexey Milovidov
04fa827e4b
Style
2019-01-24 22:21:47 +03:00
alexey-milovidov
f96b8e4ed6
Merge pull request #4005 from vitlibar/add-protobuf-output-format
...
Add protobuf output format
2019-01-24 22:05:23 +03:00
chertus
1e04ef16a0
one more test fix
2019-01-24 21:55:18 +03:00
Alexey Milovidov
2d490acc3e
Added test
2019-01-24 21:36:45 +03:00
chertus
8a11f753be
fix test results
2019-01-24 21:34:31 +03:00
Alexey Milovidov
ffd18163de
Fixed fuzz test in UBSan: added parameter check for quantile*Weighted function
2019-01-24 21:33:57 +03:00
alexey-milovidov
fbefc99fb1
Merge pull request #4129 from ercolanelli-leo/sumMapFiltered
...
implement sumMapFiltered
2019-01-24 21:27:03 +03:00
alexey-milovidov
18f1266dab
Merge pull request #4099 from yandex/mutations-fix-in
...
Get rid of IAST::range
2019-01-24 20:29:13 +03:00
Alexey Milovidov
0e59fe0b46
Renamed setting and variables #3973
2019-01-24 20:12:05 +03:00
alexey-milovidov
d79ed9fde6
Update 00502_sum_map.reference
2019-01-24 19:34:27 +03:00
chertus
ccd9bd0877
fix build
2019-01-24 18:06:15 +03:00
Vitaly Baranov
2e383bfdeb
Added tests for writing protobufs.
2019-01-24 17:54:57 +03:00
Vitaly Baranov
2886f42c0e
Implemented a new block output stream using protobuf output format.
2019-01-24 17:54:57 +03:00
Vitaly Baranov
c241a4ea6d
Added function serializeProtobuf() to each data type.
2019-01-24 17:54:57 +03:00
Vitaly Baranov
1e7a231c56
Implemented main class for writing protobufs.
2019-01-24 17:54:52 +03:00
Vitaly Baranov
42d9d4e81d
Implemented storage for parsed protobuf schemas.
2019-01-24 17:32:10 +03:00
Vitaly Baranov
28e9837819
Implemented utility class for writing protobufs.
2019-01-24 17:32:01 +03:00
Vitaly Baranov
b1aba679d0
Class WriteBufferFromOwnString now can return StringRef too.
2019-01-24 17:32:01 +03:00
Vitaly Baranov
b7ee466cd7
Added possibility to set 'format_schema_path' parameter in the client config too.
2019-01-24 17:32:01 +03:00
Vitaly Baranov
ec37ef5a89
No escaping for the format schema file's name anymore,
...
added an utility class for parsing and checking the format schema.
2019-01-24 17:31:41 +03:00
chertus
cbbf04204b
JOIN with USING: do not duplicate columns
2019-01-24 17:22:58 +03:00
Léo Ercolanelli
e64dc4798e
sumMapFiltered: fix test output
2019-01-24 14:54:29 +01:00