Alexey Milovidov
ad9d5217ec
Updated test
2019-02-03 11:43:00 +03:00
alexey-milovidov
ad2f6b4db3
Merge pull request #4237 from valexey/date_and_datetime_comparison
...
correct Date and DateTime comparison
2019-02-02 20:58:07 +03:00
alexey-milovidov
a3afe6650f
Merge pull request #4232 from syominsergey/my-branch
...
"-C" option for client and show problematic file path
2019-02-02 20:47:28 +03:00
alexey-milovidov
14f208b9a3
Merge pull request #4239 from danlark1/master
...
produce hints for typo functions and types
2019-02-02 20:42:35 +03:00
Alexey
ce83b82776
test sql syntax fix
2019-02-02 09:00:29 -08:00
Danila Kutenin
3d00aaa7d8
test for typos
2019-02-02 19:09:24 +03:00
Sergei Semin
cc8bac78da
add tests
2019-02-02 18:32:21 +03:00
Alexey
baa1ae9cf7
upper case for SQL in tests
2019-02-02 07:30:47 -08:00
Alexey
8c73b49e34
empty line on the end of file for tests
2019-02-02 07:20:10 -08:00
Alexey
ff02845677
tests
2019-02-02 07:19:06 -08:00
alexey-milovidov
e3b32ec679
Merge pull request #4231 from fandyushin/queryid
...
Added Query-Id to http response header
2019-02-02 17:38:13 +03:00
alexander kozhikhov
9d2a0c69fc
Merge branch 'master' of https://github.com/yandex/ClickHouse into yandex_open_code_competition
2019-02-02 17:28:34 +03:00
alexander kozhikhov
8c2726b77c
Aggregate function for entropy
2019-02-02 17:27:43 +03:00
Mihail Fandyushin
18952a2b96
Fixed 00501 test, added Query-Id support
2019-02-02 16:38:04 +03:00
Mihail Fandyushin
7294b8adf2
Added Query-Id to http response header
2019-02-02 15:24:26 +03:00
NeZeD [Mac Pro]
f53826779a
Test SELECT ... WHERE a NOT BETWEEN b AND c
2019-02-02 15:20:18 +03:00
alexey-milovidov
25502718ae
Merge pull request #4221 from 4ertus2/cross
...
CROSS JOIN to INNER JOIN converter
2019-02-02 14:27:05 +03:00
NeZeD [Mac Pro]
9265fb34a5
Implement teset for 'NOT BETWEEN'
2019-02-02 14:15:22 +03:00
proller
c7cb8d2db5
Freebsd fixes ( #4225 )
...
* CLICKHOUSE-4109 mlock clickhouse
* wip
* Fix
* wip
* fix
* fix
* better place
* wip
* clean
* tidy
* fix
* Freebsd fix
* Fix compile on ARM
* Freebsd fixes
* Simpler test
* Fuzzy test: dont skip already fixed functions
2019-02-02 14:09:22 +03:00
chertus
f731702de0
rewrite COMMA JOIN too
2019-02-01 20:22:28 +03:00
chertus
e5a05bae47
missing file
2019-02-01 19:48:25 +03:00
chertus
170c108a59
CROSS JOIN to INNER JOIN converter
2019-02-01 19:36:40 +03:00
chertus
52de2cd927
hotfix for allow_experimental_multiple_joins_emulation
2019-02-01 17:26:36 +03:00
chertus
350920d50e
test for issue #3567
2019-02-01 15:50:51 +03:00
chertus
f6d7eae0cc
better test for joins with dups (add nulls)
2019-02-01 13:39:30 +03:00
alexey-milovidov
bd62e2d85d
Merge pull request #4184 from 4ertus2/joins
...
Fix JOIN with duplicates [issue-4108]
2019-02-01 01:35:37 +03:00
chertus
26b2526a3b
fix right & full join with dups (complex join on still affected)
2019-01-31 21:10:16 +03:00
Andy Yang
7e7a864fd4
Added bitmap function feature with roaring bitmap
2019-01-31 21:26:11 +08:00
DarkWanderer
c8cff57a62
Fix compile errors, added output format test
2019-01-30 23:38:47 +03:00
Nikolai Kochetov
a40f8f9708
Fix unstable test.
2019-01-30 12:20:50 +03:00
zhang2014
5906d0b545
ISSUES-3885 fix test failure
2019-01-30 14:59:31 +08:00
zhang2014
e0d69071cc
ISSUES-3885 fix test failure
2019-01-30 14:17:18 +08:00
zhang2014
3af26ca070
ISSUES-3885 better test & fix isStateful bug
2019-01-30 12:49:00 +08:00
zhang2014
ddbd384f32
ISSUES-3885 mark stateful function & do not optimize their predicate
2019-01-30 12:04:28 +08:00
zhang2014
7dd897f2e6
ISSUES-3885 temporarily disable predicate optimization for order by
2019-01-30 08:03:10 +08: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
Nikolai Kochetov
21242ad658
Added tests. Restored recursiveRemoveLowCardinality interface.
2019-01-29 18:44:02 +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
c792191831
Fixed possible overflow in function "sleep" (found by fuzz test with UBSan) #4166
2019-01-29 13:42:45 +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
Léo Ercolanelli
f680176ade
sumMapWithOverflow: add test
2019-01-25 20:54:46 +01: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
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
Vitaly Baranov
ed1136e49e
Use more IO/WriteHelpers.h functions in the class ProtobufSimpleWriter,
...
rename variant=>varint.
2019-01-25 17:15:44 +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
chertus
02f236e457
one more test
2019-01-25 16:15:29 +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
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
fbefc99fb1
Merge pull request #4129 from ercolanelli-leo/sumMapFiltered
...
implement sumMapFiltered
2019-01-24 21:27:03 +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
Vitaly Baranov
2e383bfdeb
Added tests for writing protobufs.
2019-01-24 17:54:57 +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
alexey-milovidov
f13d094a4e
Merge pull request #3973 from amosbird/join_overwrite
...
Add join_overwrite settings for StorageJoin.
2019-01-24 02:05:13 +03:00
Léo Ercolanelli
8ad1a55f3b
implement sumMapFiltered
2019-01-23 15:23:04 +01:00
maiha
6c83beafdd
dbms: Fixed misspells in comments
2019-01-23 04:56:53 +09:00
chertus
97199b9712
fix ArrayJoin columns calculation
2019-01-22 20:36:08 +03:00
chertus
1d0bee7dee
fix collecting required columns in lambda
2019-01-21 22:56:11 +03:00
alesapin
34fb1c89f1
Add ability to choose codecs for storage log and tiny log
2019-01-21 17:00:06 +03:00
Alexey Milovidov
05e713e724
Fixed test #3960
2019-01-20 03:10:49 +03:00
Alexey Milovidov
2752cf7eaf
Added a test #4097
2019-01-19 01:15:58 +03:00
alexey-milovidov
908015aa4b
Merge pull request #4088 from proller/fix14
...
CLICKHOUSE-4257 remoteSecure
2019-01-18 00:48:55 +03:00
proller
f2bbac6523
CLICKHOUSE-4257 remoteSecure
2019-01-17 20:55:44 +03:00
Alexey Milovidov
7a4c46b38f
Reading the test #4063
2019-01-17 18:30:44 +03:00
Alexey Milovidov
303c3cc043
Merge branch 'master' of https://github.com/Miniwoffer/ClickHouse into Miniwoffer-master
2019-01-17 18:04:06 +03:00
alexey-milovidov
af32828d9a
Update 00823_capnproto_input.sh
2019-01-17 18:02:49 +03:00
alexey-milovidov
0ec1fdef04
Merge pull request #3960 from yandex/zk-columns-compact-storage
...
Compact storage of the part header in ZooKeeper
2019-01-17 17:05:01 +03:00
Odin Hultgren Van Der Horst
da4f4c882f
Added test for capnproto
2019-01-17 10:40:18 +01:00
alexey-milovidov
2cbd1263a9
Merge pull request #4053 from danlark1/master
...
MultiVolnitsky added with tests and some benchmark, many multiFunctions are added to support multistring search
2019-01-16 22:24:57 +03:00
Alexey Milovidov
fc2a0cdfb1
Added a test #4004
2019-01-16 22:24:21 +03:00
Alexey Zatelepin
0f8e5f8522
Merge branch 'master' into zk-columns-compact-storage
...
Conflicts:
dbms/src/Storages/StorageReplicatedMergeTree.cpp
2019-01-16 17:45:16 +03:00
Danila Kutenin
1badabdcd0
Merge branch 'master' of https://github.com/yandex/ClickHouse
2019-01-16 17:06:38 +03:00
Alexey Milovidov
368b5f965e
Fixed bad test #3837
2019-01-16 03:20:44 +03:00
Alexey Milovidov
36f679f59a
Removed test case that reproduces a bug
2019-01-16 03:19:47 +03:00
alesapin
cb42608fab
Add data comparison
2019-01-15 19:34:43 +03:00
alesapin
8d2f0e0cda
Add compression ratio tests for Float64, UInt64 and String
2019-01-15 19:20:33 +03:00
alesapin
361d26c643
Use information about type in Delta codec to choose correct delta size if possible
2019-01-15 17:20:34 +03:00
alesapin
37c78aa3d2
Merge branch 'master' of github.com:yandex/ClickHouse into compression_codec_delta
2019-01-15 16:24:49 +03:00
Danila Kutenin
43965c1703
Merge branch 'master' of https://github.com/yandex/ClickHouse
2019-01-15 16:19:15 +03:00
alesapin
48847441f1
Add spaces in codecs description
2019-01-15 14:06:00 +03:00
alesapin
84e3dbc2eb
Add test codec don't changes
2019-01-14 19:00:56 +03:00
Danila Kutenin
a5669b6b7a
MultiVolnitsky added with tests and some benchmark, many multiFunctions are added to support multistring search
2019-01-14 18:54:47 +03:00
alesapin
24b7214611
Even more tests
2019-01-14 18:53:10 +03:00
alesapin
43436aaf9d
More strict tests
2019-01-14 18:34:06 +03:00
zhang2014
cdb138f13c
merge
2019-01-14 18:14:34 +03:00
alesapin
c8257f6d0b
Add compression codec delta and fix naming for parametric codecs
2019-01-14 14:54:40 +03:00
alexey-milovidov
ca7c3c0bfd
Merge pull request #4012 from yandex/fix-low-cardinality-numeric-distinct
...
Distinct by single LowCardinality numeric column.
2019-01-09 19:28:42 +03:00
alexey-milovidov
715abd0e0a
Merge pull request #4011 from yandex/fix-empty-low-cardinality-array
...
LowCardinality empty array serialization.
2019-01-09 18:22:05 +03:00
Nikolai Kochetov
5ab362a303
Fix distinct by single LowCardinality numeric column.
2019-01-09 17:47:51 +03:00
Nikolai Kochetov
cea23a1486
Fix LowCardinality empty array serialization. #3907
2019-01-09 15:16:03 +03:00
alexey-milovidov
0648088ff0
Merge pull request #4000 from housepower/feature/gccHash
...
Add gccHash function
2019-01-09 10:29:37 +03:00
sundy-li
31a516300a
rename to gccMurmurHash
2019-01-09 10:03:50 +08:00
Alexey Milovidov
224e688e9c
Added test for #3920
2019-01-08 18:27:58 +03:00
sundy-li
e6c02a2356
Add gccHash function
2019-01-08 13:12:52 +08:00
Amos Bird
8ea4d7987b
Add join_overwrite settings for StorageJoin.
...
This makes using StorageJoin as dictionary more flexible.
2019-01-07 01:23:26 +08:00
zhang2014
a445514b61
ISSUES-3710 fix alias is missing when distributed & join on
2019-01-03 15:33:03 +08:00
Alexey Milovidov
67932a9562
Added a test [#CLICKHOUSE-3625]
2018-12-30 06:19:50 +03:00
Alexey Milovidov
f3dbfec808
Added a test #3286
2018-12-30 06:14:16 +03:00
Alexey Zatelepin
c0d6b84a91
add test for minimalistic part header [#CLICKHOUSE-4024]
2018-12-29 17:11:17 +03:00
Alexey Milovidov
d5b00298eb
Revert "Added a test by Denis Zhuravlev #2170 "
...
This reverts commit cb63179951
.
2018-12-28 23:35:05 +03:00
Alexey Milovidov
cb63179951
Added a test by Denis Zhuravlev #2170
2018-12-28 23:34:01 +03:00
Alexey Milovidov
de10df4b12
Added a test just in case [#CLICKHOUSE-3995]
2018-12-28 21:37:23 +03:00
chertus
bae0370954
fix crash in JoinToSubqueryTransformVisitor (wrong casts)
2018-12-28 18:38:58 +03:00
alexey-milovidov
d16447c3f4
Merge pull request #3899 from yandex/custom_compression_codecs
...
Custom compression codecs
2018-12-28 08:29:09 +03:00
alexey-milovidov
5ff30f4512
Merge pull request #3946 from 4ertus2/joins
...
Multiple join emulation (very experimental - developers only)
2018-12-28 03:06:01 +03:00
Alexey Milovidov
ab85175e7f
Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-4
2018-12-28 00:23:13 +03:00
Alexey Milovidov
dae73f4d32
Fixed tests that was depend on timezone #3948
2018-12-27 23:44:07 +03:00
alexey-milovidov
0c6e6649b5
Merge pull request #3940 from 4ertus2/minor
...
Automatically disable logs in negative tests CLICKHOUSE-4228
2018-12-27 22:53:28 +03:00
Alexey Milovidov
01db559a70
Fixed test in non-local timezone [#CLICKHOUSE-2]
2018-12-27 22:39:14 +03:00
chertus
e8245f5935
basic support for multiple_joins_emulation CLICKHOUSE-3996
2018-12-27 19:12:42 +03:00
Alexey Milovidov
b94bfa5785
Fixed test #3926
2018-12-27 18:39:41 +03:00
chertus
22bb17250f
autodisable logs in negative tests CLICKHOUSE-4228
2018-12-27 16:09:11 +03:00
Alexey Milovidov
d2b7a847c7
Allow tests to execute in random order #3926
2018-12-27 04:09:27 +03:00
Alexey Milovidov
1c0659ac2f
Fixed test #3926
2018-12-27 03:55:05 +03:00
alesapin
8f82d5a687
Merge branch 'master' into custom_compression_codecs
2018-12-26 10:43:33 +03:00
Alexey Milovidov
4104a0610e
Added a test #3569
2018-12-26 03:18:11 +03:00
Alexey Milovidov
3502859803
Merge branch 'master' of github.com:yandex/ClickHouse into int-monotonicity-cleanups
2018-12-25 17:28:41 +03:00
alesapin
8abcdc70f1
More tabs in desc table tests
2018-12-25 15:56:11 +03:00
alesapin
6e8ed0c942
Merge branch 'master' into custom_compression_codecs
2018-12-25 14:34:19 +03:00
alesapin
1228645a79
Fix segfault and add tabs to ton of tests (desc table)
2018-12-25 14:33:54 +03:00
alesapin
4309775fc8
Add coments and fix compression for nested types
2018-12-25 13:04:38 +03:00
Alexey Milovidov
41e3bf5518
Added more formats to "parseDateTimeBestEffort" function [#CLICKHOUSE-2]
2018-12-24 21:31:43 +03:00
Alexey Milovidov
66a0c1691d
Added more formats to "parseDateTimeBestEffort" function [#CLICKHOUSE-2]
2018-12-24 21:28:41 +03:00
Alexey Milovidov
f36c9a1747
Fixed test #3921
2018-12-24 18:56:38 +03:00
alesapin
22b9969f05
Merge branch 'master' into custom_compression_codecs
2018-12-24 18:53:31 +03:00
alesapin
f991232fe3
Add custom network compression settings to test
2018-12-24 18:52:12 +03:00
alesapin
36fb2d16cd
Add test with non default config
2018-12-24 18:50:02 +03:00
Alexey Milovidov
b624add2e7
Rewrite code to calculate integer conversion function monotonicity; fixed test #3870
2018-12-24 18:46:55 +03:00
alesapin
29ad7f9fb1
Remove redundant changes and shift error codes
2018-12-24 16:19:24 +03:00
alexey-milovidov
add2c0a6fc
Merge branch 'master' into int-round-overflow
2018-12-24 15:50:13 +03:00
Alexey Milovidov
1dffa56073
Fixed test #3913
2018-12-24 15:47:24 +03:00
alesapin
1e771a4aec
Fix error codes
2018-12-24 14:34:50 +03:00
Alexey Milovidov
8c00157bc8
Merge branch 'master' into fix-buffer-overflow-in-add-days
2018-12-24 02:18:16 +03:00
Alexey Milovidov
80f155cfda
Fixed overflow in rounding functions with integer argument and large negative scale [#CLICKHOUSE-2]
2018-12-24 02:12:30 +03:00
Alexey Milovidov
aca29588c7
Added test for already fixed bug [#CLICKHOUSE-2]
2018-12-24 01:39:49 +03:00
Alexey Milovidov
7678db6e9d
Added a test for already fixed bug [#CLICKHOUSE-2]
2018-12-24 01:22:55 +03:00
Alexey Milovidov
c828afd3db
Added a test for already fixed bug [#CLICKHOUSE-2]
2018-12-24 01:20:44 +03:00
Alexey Milovidov
5ccf9e1d54
Updated test #3913
2018-12-24 01:16:04 +03:00
Alexey Milovidov
f09da489f7
Added test #3913
2018-12-24 01:10:48 +03:00
alexey-milovidov
a03c28d0e6
Merge pull request #3909 from yandex/fix-use-after-free-in-array-enumerate
...
Fix use after free in arrayEnumerateUniq and -Dense function.
2018-12-23 06:11:43 +03:00
alexey-milovidov
b658ea452e
Merge pull request #3900 from infovista/add_column_if_not_exists
...
Support for IF NOT EXISTS in ALTER TABLE ADD COLUMN
2018-12-23 05:37:39 +03:00
Alexey Milovidov
4468462ca6
Fixed test #3909
2018-12-23 04:48:09 +03:00
Alexey Milovidov
fac239147d
Added test #3909
2018-12-22 19:19:16 +03:00
alexey-milovidov
536c41102c
Merge branch 'master' into xxhash
2018-12-21 21:59:51 +03:00
mf5137
3757007118
Adding xxHash64 and xxHash32 functions
2018-12-21 18:53:16 +01:00
Boris Granveaud
d776d1164a
support for IF EXISTS/IF NOT EXISTS in ALTER TABLE ADD/DROP/CLEAR/MODIFY/COMMENT COLUMN
2018-12-21 15:53:00 +01:00
alesapin
42b9735760
Add LZ4HC
2018-12-21 17:03:53 +03:00
alesapin
5b23210062
Merge branch 'master' into custom_compression_codecs
2018-12-21 11:57:21 +03:00
alexey-milovidov
52efaf6bb7
Merge pull request #3870 from zhang2014/fix/string_monotonicity
...
Fixed convert function monotonic failure when string data type
2018-12-20 23:55:58 +03:00
alexey-milovidov
b1602a5e62
Merge pull request #3887 from yandex/remove-alter-primary-key
...
Remove ALTER MODIFY PRIMARY KEY command
2018-12-20 22:21:08 +03:00
Alexey Milovidov
b6ebe2df19
Added missing test #3826
2018-12-20 22:13:12 +03:00
Alexey Zatelepin
b7afe46dfd
remove ALTER MODIFY PRIMARY KEY command [#CLICKHOUSE-4214]
2018-12-20 21:57:20 +03:00
alexey-milovidov
f85857d8ff
Merge pull request #3826 from yandex/missing-sql-compatibility-functions
...
Additional functions for SQL compatibility
2018-12-20 20:51:05 +03:00
Alexey Milovidov
b7b418a6f5
Renamed setting #3851
2018-12-20 20:48:11 +03:00
alexey-milovidov
3cefb27e56
Merge pull request #3851 from abyss7/issue-3592
...
Refactor constant folding
2018-12-20 19:26:02 +03:00
Alexey Milovidov
731d76821d
Merging abandoned pull request with "boundingRatio" function #3139
2018-12-20 18:14:32 +03:00
Alexey Milovidov
113ff56384
Merge branch 'master' into twosixlabs-add_rate_function
2018-12-20 17:19:06 +03:00
zhang2014
263de501f5
add test & use isRepresentedByNumber
2018-12-20 22:08:17 +08:00
Alexey Milovidov
7c5cff2dd4
Renamed test #3350
2018-12-20 16:23:49 +03:00
alesapin
0ae14be8d2
Fix codes
2018-12-20 13:44:20 +03:00
Ivan Blinkov
f63aa0eb3b
Support MySQL-style syntax for DATE_ADD and similar functions
2018-12-20 11:22:24 +03:00
zhang2014
dc61a73a6e
Fixed convert function monotonic failure when string data type
2018-12-20 10:04:30 +08:00
alesapin
512fe3c854
Refactoring (sanitizer failure)
2018-12-19 20:20:18 +03:00
Alexey Milovidov
2f9ead4548
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-19 19:18:56 +03:00
Alexey Milovidov
92499c725d
Fixed test #3811
2018-12-19 18:27:57 +03:00
Ivan Lezhankin
4c3af43ed3
Add test.
2018-12-19 17:36:55 +03:00
Ivan Lezhankin
b9440fe99d
Another minor refactoring.
2018-12-19 15:38:13 +03:00
Ivan Blinkov
0352c5a57c
Introduce DATE_ADD/DATE_SUB/TIMESTAMP_ADD/TIMESTAMP_SUB #3705
2018-12-19 14:37:14 +03:00
Ivan Blinkov
f88b497555
Introduce common parser for interval kind names and use it for DATE_DIFF, EXTRACT and INTERVAL (allows to use same set of aliases in them)
2018-12-19 13:27:07 +03:00
Alexey Milovidov
36836faf62
Full support for Decimal #3721
2018-12-19 05:43:09 +03:00
Alexey Milovidov
9c23556cb0
Basic implementation for Decimal #3721
2018-12-19 05:11:31 +03:00
Alexey Milovidov
4a6c25e65d
Merging #3721 ; Added a test
2018-12-19 04:30:32 +03:00
alexey-milovidov
92bb4471df
Merge pull request #3865 from abyss7/issue-3590
...
ISSUE-3590: Forbid using aggregate functions inside scalar subqueries
2018-12-19 03:19:45 +03:00
Alexey Milovidov
6a779661c8
Merge branch 'java-hash' of https://github.com/shangshujie365/ClickHouse into shangshujie365-java-hash
2018-12-18 23:04:32 +03:00
Ivan Lezhankin
617082f444
ISSUE-3590: Forbid using aggregate functions inside scalar subqueries
2018-12-18 21:43:06 +03:00
Ivan Blinkov
a378b919af
Add a bunch of aliases to DATE_DIFF interval names
2018-12-18 18:28:13 +03:00
alesapin
9b0d47c0c3
Add zstd params validation
2018-12-18 18:00:51 +03:00
alesapin
bc0e0c220e
Add level test
2018-12-18 17:43:15 +03:00
alesapin
314fbbd71f
Remove some debug output
2018-12-18 17:41:58 +03:00
Ivan Blinkov
5abfcfcd48
Support proper syntax for dateDiff
2018-12-18 17:40:30 +03:00
alesapin
3d0da644f1
one more test
2018-12-18 17:37:55 +03:00
alesapin
60456eb742
More tests on compression codecs
2018-12-18 17:34:18 +03:00
Ivan Blinkov
362948e891
Introduce quarter interval kind as 3 months (in preparation for #3705 )
2018-12-18 16:16:48 +03:00
alesapin
6fe01af829
Merge branch 'master' into custom_compression_codecs
2018-12-18 14:06:11 +03:00
Ivan Blinkov
93d4303922
minor trim test improvements
2018-12-17 23:20:25 +03:00
Ivan Lezhankin
1a539b3a6d
Merge remote-tracking branch 'upstream/master' into issue-3592
2018-12-17 19:30:20 +03:00
Ivan Lezhankin
6df757c6f7
Refactor constant folding and make it reusable for primary_key_expr
2018-12-17 17:59:01 +03:00
alesapin
36a6121f75
Merge branch 'master' into custom_compression_codecs
2018-12-17 12:56:21 +03:00
alesapin
436845ff7e
Debuging codec multiple
2018-12-17 11:31:59 +03:00
Samuel Chou
c465bd8d2b
Fix rollup_with_having test
2018-12-16 23:55:04 -08:00
Samuel Chou
fcde47b45e
Ensure ROLLUP and CUBE respect HAVING (no change to TOTALS)
2018-12-14 22:27:40 -08:00
Alexey Milovidov
af31ff24b9
Better code; added a test #3835
2018-12-14 23:21:47 +03:00
alexey-milovidov
3a2c85a06c
Merge pull request #3717 from amosbird/arrayjoin
...
Support unaligned array join.
2018-12-14 21:12:24 +03:00
alesapin
8a95eb9dc1
More tests for parser
2018-12-14 16:27:35 +03:00
Ivan Blinkov
9dca1e3ca2
Test for left/right with cut size larger than input
2018-12-14 14:45:45 +03:00
alesapin
cc229ac9cc
Remove strange test
2018-12-14 14:32:23 +03:00
alesapin
29e2bbaa94
Merge remote-tracking branch 'origin' into custom_compression_codecs
2018-12-14 11:24:23 +03:00
alesapin
d7bc4ae115
Seems like first simpliest working code
2018-12-13 19:21:08 +03:00
alesapin
a492d0f6bf
Seems like working parser
2018-12-13 18:26:28 +03:00
Ivan Blinkov
180311b42b
Introduce regexpQuoteMeta function to properly handle regexp special chars in TRIM #3714
2018-12-13 15:58:00 +03:00
Ivan Blinkov
034265f044
Introduce TRIM/LTRIM/RTRIM functions #3714
2018-12-13 14:50:37 +03:00
alexey-milovidov
7898caed19
Merge pull request #3800 from edonin/master
...
Better management of DateTime partitionning #3786
2018-12-13 14:05:19 +03:00
Ivan Blinkov
3209ac84d0
Rewrite LEFT and RIGHT functions to corresponding SUBSTRING calls #3712
2018-12-13 12:34:12 +03:00
Emmanuel Donin de Rosière
61adf58ac3
Better management of DateTime partitionning yandex#3786
...
issue with reference file for test
it is due to partition naming that seems to have changed recently.
2018-12-13 07:08:56 +01:00
zhang2014
6d0c4eaf89
ISSUES-838 add lz4、none、zstd codec
2018-12-13 12:10:34 +08:00
Emmanuel Donin de Rosière
87791a2484
Better management of DateTime partitionning yandex#3786
...
Stills issue on tests reference
2018-12-12 21:36:13 +01:00
alexey-milovidov
611437c4e3
Update 00802_daylight_saving_time_shift_backwards_at_midnight.sql
2018-12-12 22:04:24 +03:00
Emmanuel Donin de Rosière
ed57179f17
Better management of DateTime partitionning yandex#3786
...
issue with reference file for tests
2018-12-12 19:18:21 +01:00
Emmanuel Donin de Rosière
6cf4bdedf9
Better management of DateTime partitionning yandex#3786
...
Adding test queries
2018-12-12 17:36:54 +01:00
Amos Bird
86f462acff
Support unaligned array join
...
For left ARRAY JOIN, expand to the greatest size. If all sizes are zero,
resize to one which is the same as the old behavior, i.e. emptyArrayToSingle
For non-left ARRAY JOIN, expand to the greatest size but keep empty if all sizes are zero.
2018-12-12 22:08:28 +08:00
Alexey Milovidov
d02d79118c
Added comment #3819
2018-12-12 16:32:14 +03:00
Alexey Milovidov
b250a95c48
Added test #3220
2018-12-12 16:29:58 +03:00
shangshujie
5de9577ecd
add test function
2018-12-11 18:29:59 +08:00
alexey-milovidov
7af621f6f7
Merge pull request #3728 from amosbird/join
...
Versatile StorageJoin
2018-12-10 23:16:53 +03:00
alexey-milovidov
a083e6bc64
Merge pull request #3799 from yandex/low-cardinality-join
...
Low cardinality join
2018-12-10 21:46:42 +03:00
Alexey Milovidov
22aa593d6b
Fixed global variable buffer read overflow [#CLICKHOUSE-4191]
2018-12-10 21:19:37 +03:00
Alexey Milovidov
aec8c149dc
Fixed test [#CLICKHOUSE-4191]
2018-12-10 18:59:56 +03:00
alexey-milovidov
5152e2b8fa
Merge pull request #2658 from yandex/issue-3578
...
CLICKHOUSE-3578 apply column defaults for semistructured input formats
2018-12-10 18:56:22 +03:00
Ivan Blinkov
6a90abc543
Support SUBSTRING(expr FROM start FOR length)
2018-12-10 15:54:02 +03:00
Nikolai Kochetov
723932930d
Added test with low cardinality join.
2018-12-10 14:21:29 +03:00
alexey-milovidov
0fdb3b9628
Merge branch 'master' into issue-3578
2018-12-07 23:53:34 +03:00
Alexey Milovidov
ab8ac40682
Fixed test (added normal case that was missed) [#CLICKHOUSE-2]
2018-12-07 23:13:44 +03:00
alexey-milovidov
68b5f02b10
Merge pull request #3683 from nicelulu/update_23
...
Compatible with LowCardinality type data write
2018-12-07 07:17:07 +03:00
alexey-milovidov
d6915bf61d
Merge pull request #3762 from yandex/fix-something-with-columns-alias-and-prewhere
...
Fix source columns list for prewhere alias actions.
2018-12-07 07:09:14 +03:00
alexey-milovidov
990c7dea03
Merge pull request #3772 from yandex/mutations-default-database
...
Add the default database to tables in a mutation query
2018-12-07 07:06:20 +03:00
Alexey Zatelepin
df76b1c23a
add examples that require rewrite of SELECT expr list to test [#CLICKHOUSE-3145]
2018-12-06 21:55:28 +03:00
Alexey Zatelepin
8d2cf2dbd1
add failing test #3597
2018-12-06 21:54:33 +03:00
Ivan Blinkov
21c76a3d63
Make if function name case-insensive #3704
2018-12-06 17:40:32 +03:00
Ivan Blinkov
afcd6f9f09
Make substring function name case-insensitive + add two aliases #3704
2018-12-06 17:30:10 +03:00
Ivan Blinkov
ed04453122
Add locate -> position alias #3713
2018-12-06 16:36:23 +03:00
Ivan Blinkov
4ebbe3502d
Add replace -> replaceAll alias #3713
2018-12-06 16:23:45 +03:00
Ivan Blinkov
e110d0789f
Add lcase/ucase + make lower/upper case-insensitive #3715
2018-12-05 19:59:35 +03:00
Nikolai Kochetov
c72152d7fc
Added test.
2018-12-05 19:41:19 +03:00
Ivan Lezhankin
887e1089f1
Merge branch 'master' into kanterov_skip_unused_shards
2018-12-05 18:17:04 +03:00
chertus
3db00b7b98
Merge branch 'master' into issue-3578
2018-12-05 14:43:14 +03:00
root
6da945b2a7
fix integration test_insert_into_distributed allow_experimental_low_cardinality_type
2018-12-04 15:11:39 +08:00
root
192092c2bd
fix test 00800_low_cardinality_distributed_insert.sql cluster
2018-12-04 11:21:42 +08:00