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
root
8c9e9649fb
Add test and code comment.
2018-12-03 21:11:26 +08:00
alexey-milovidov
cec49357da
Merge pull request #3581 from yandex/alter-order-by
...
ALTER MODIFY ORDER BY
2018-12-03 07:15:07 +03:00
alexey-milovidov
02636b3388
Merge pull request #3729 from amosbird/dryrun
...
Function execution with dry runs
2018-12-02 22:45:07 +03:00
alexey-milovidov
48b30edcf5
Merge branch 'master' into alter-order-by
2018-12-02 21:06:38 +03:00
Amos Bird
3cc0829cc1
Function execution with dry runs
...
This commit prevents stateful functions like rowNumberInAllBlocks from being modified in getHeader() calls.
2018-12-02 19:02:04 +08:00
Amos Bird
65b654a1b6
Versatile StorageJoin
...
This commit does the following:
1. StorageJoin with simple keys now supports reading
2. StorageJoin can be created with Join settings applied. Syntax is
similar to MergeTree and Kafka
3. Left Any StorageJoin with one simple key can be used as a
dictionary-like structure by function joinGet.
Examples are listed in the related test file.
2018-12-02 16:49:39 +08:00
Alexey Milovidov
c9b8cd0626
Fixed errors and improved PR #3724
2018-12-02 03:47:34 +03:00
alexey-milovidov
c5dac3d496
Merge pull request #3724 from ClickHouse-Ninja/master
...
timeSlots: add optional parameter 'Size'
2018-12-02 03:34:52 +03:00
Kirill Shvakov
566644b171
timeSlots: add optional parameter 'Size'
2018-12-01 10:01:20 +02:00
Alexey Milovidov
b7d9910bd3
Merge branch 'master' into dont-allocate-too-much-memory-to-parse-query
2018-12-01 04:54:01 +03:00
alexey-milovidov
32b0b61d25
Merge pull request #3699 from amosbird/master
...
NonJoinedStream[ALL] bypasses max_block_size
2018-12-01 01:48:48 +03:00
Alexey Milovidov
621e622f79
Added test [#CLICKHOUSE-4169]
2018-11-30 18:41:24 +03:00
Alexey Zatelepin
2d71338b78
examine structure of the destination table of Buffer storage under lock
2018-11-30 18:34:24 +03:00
Amos Bird
d092d35fa9
NonJoinedStream[ALL] bypasses max_block_size
2018-11-30 22:59:17 +08:00
Daniel Dao
eb91b19a99
Fix buffer overflow for EmptyImpl with FixedString
...
Signed-off-by: Daniel Dao <dqminh89@gmail.com>
2018-11-30 02:17:01 +00:00
Nikolai Kochetov
95e4297601
Fix tests.
2018-11-29 11:19:14 +03:00
alexey-milovidov
9cc36d3d3c
Merge pull request #3692 from yandex/fix-create-table-engine-parsing
...
Fix CREATE TABLE engine parsing
2018-11-29 00:22:20 +03:00
Alexey Milovidov
b92bcb3385
Added test #3694
2018-11-28 22:12:19 +03:00
Alexey Milovidov
46d8f2f985
Added test #3694
2018-11-28 22:09:17 +03:00
Nikolai Kochetov
14ff6ae6d4
Added test.
2018-11-28 20:13:38 +03:00
Alexey Zatelepin
f425803418
don't overwrite table metadata file in case of offline ALTER after ATTACH [#CLIKCHOUSE-3859]
2018-11-28 19:05:29 +03:00
Alexey Zatelepin
1b27fb046d
Merge branch 'master' into alter-order-by
...
Conflicts:
dbms/programs/server/Server.cpp
2018-11-28 16:47:07 +03:00
Alexey Zatelepin
f3519bb297
add test for mixing MODIFY PRIMARY KEY and MODIFY ORDER BY statements [#CLICKHOUSE-3859]
2018-11-28 16:34:57 +03:00
Nikolai Kochetov
3fabaa28eb
Updated test with Date and numbers comparsion.
2018-11-28 16:20:55 +03:00
Nikolai Kochetov
05ac77dbde
Added test with Date and numbers comparsion.
2018-11-28 15:10:01 +03:00
alexey-milovidov
e95bf5d888
Merge pull request #3681 from yandex/fix-low-cardinality-permutation
...
Fix low cardinality permutation
2018-11-27 22:40:38 +03:00
alexey-milovidov
a12927a439
Merge pull request #3603 from vitlibar/CLICKHOUSE-4127
...
CLICKHOUSE-4127: Fix ALTER of destination table for the BUFFER engine.
2018-11-27 21:38:40 +03:00
Nikolai Kochetov
8085ce442c
Added test for LowCardinality order by.
2018-11-27 21:09:37 +03:00
Alexey Zatelepin
e085bc9816
adapt code of #3609 [#CLICKHOUSE-3859]
2018-11-27 20:07:10 +03:00
Vitaly Baranov
44ca56c731
CLICKHOUSE-4127: Convert destination table's data when reading from
...
StorageBuffer.
2018-11-27 03:43:58 +03:00
alexey-milovidov
a7d75c527b
Merge pull request #3652 from yandex/unquote-partition
...
Don't quote single-field partition keys
2018-11-26 19:57:01 +03:00
alesapin
5a6f9a5ff9
Replace function mysql with function file
2018-11-26 18:18:45 +03:00
Alexey Zatelepin
d3d9242462
Merge branch 'master' into alter-order-by
...
Conflicts:
dbms/src/Parsers/ASTAlterQuery.h
dbms/src/Parsers/ParserAlterQuery.cpp
dbms/src/Storages/AlterCommands.cpp
dbms/src/Storages/AlterCommands.h
2018-11-26 16:01:48 +03:00
Alexey Zatelepin
3a3dda5ec5
use standard Tuple serialization [#CLICKHOUSE-4054]
2018-11-26 15:41:17 +03:00
Alexey Milovidov
5a0feee45e
Removed "conditional computations" feature, because it is not ready #2272
2018-11-26 04:39:04 +03:00
alexey-milovidov
0b2848b0f2
Merge pull request #3662 from yandex/fixed-error-in-lower-upper-utf8
...
Fixed error in lowerUTF8 and upperUTF8 functions
2018-11-26 02:24:41 +03:00
Alexey Milovidov
ed48b38454
Added two more bugs [#CLICKHOUSE-2]
2018-11-26 02:23:01 +03:00
Alexey Milovidov
4cb7f2896c
Fixed error in lowerUTF8 and upperUTF8 functions [#CLICKHOUSE-2]
2018-11-26 01:26:36 +03:00
Alexey Milovidov
5a045ff11c
Fixed error in URL functions [#CLICKHOUSE-2]
2018-11-25 03:31:24 +03:00
Alexey Milovidov
244e64a757
Removed bug [#CLICKHOUSE-3]
2018-11-24 06:22:38 +03:00
Alexey Milovidov
fc9c7680b0
Added a test from Kodieg #2680
2018-11-24 06:20:05 +03:00
Alexey Milovidov
73e3a7b662
Fixed bad code; added generic implementation for "arrayReverse" function; added test [#CLICKHOUSE-3]
2018-11-24 06:14:54 +03:00
alexey-milovidov
bedca47bca
Merge pull request #3649 from yandex/low-cardinaliry-left-array-join
...
Low cardinaliry left array join
2018-11-24 04:16:38 +03:00
alexey-milovidov
905a4ffc04
Merge pull request #3651 from yandex/fix-functions-with-low-cardinality-argument-and-array-result
...
Fix functions with low cardinality argument and array result
2018-11-24 04:15:20 +03:00
Alexey Milovidov
fac15418aa
Added a test just in case #3584
2018-11-24 02:10:38 +03:00
Alexey Milovidov
954c974507
Added "POWER" alias to "pow" function; made some math functions case insensitive for compatibility #3638
2018-11-24 00:14:28 +03:00
alexey-milovidov
af013285e9
Merge branch 'master' into base64_functions
2018-11-23 21:33:56 +03:00
Nikolai Kochetov
ced3937e87
Added test.
2018-11-23 20:00:45 +03:00
Nikolai Kochetov
bbc6a11940
Added test for left array join with low cardinality.
2018-11-23 17:19:16 +03:00
alexey-milovidov
ac29388224
Merge pull request #3632 from yandex/fix-low-cardinality-distributed-group-by
...
Fix low cardinality distributed group by
2018-11-23 16:45:56 +03:00
alexey-milovidov
c6bc4279ee
Merge pull request #3377 from s-mx/CLICKHOUSE-4032
...
Added support for column COMMENTs in table definition.
2018-11-23 16:43:58 +03:00
alexey-milovidov
1002ed7487
Merge branch 'master' into 3958/many_templates
2018-11-23 01:48:42 +03:00
alexey-milovidov
12045a0e0e
Merge pull request #3641 from yandex/fix-array-mapped-functions-with-low-cardinality-lambda
...
Fix array mapped functions with low cardinality lambda
2018-11-23 00:40:16 +03:00
Nikolai Kochetov
510703fc7c
Added test
2018-11-22 18:57:38 +03:00
Nikolai Kochetov
a29fd043a4
Added test
2018-11-22 18:53:03 +03:00
Sabyanin Maxim
35fce9c3ac
add DROP TABLE IF EXISTS in test
2018-11-22 17:32:28 +03:00
Sabyanin Maxim
3a67b505c5
Merge branch 'master' of https://github.com/yandex/ClickHouse into CLICKHOUSE-4032
2018-11-22 16:54:10 +03:00
Sabyanin Maxim
060fce3899
make ReplicatedMergeTree work with comments. ignore empty comments when make column_comments hashmap
2018-11-22 16:51:43 +03:00
Nikolai Kochetov
eac03c1c83
Added test. #3615
2018-11-21 21:59:58 +03:00
alexey-milovidov
5038f13b08
Merge pull request #3514 from abyss7/CLICKHOUSE-3766
...
Implement 'ALTER … FREEZE' command
2018-11-21 07:17:21 +03:00
alexey-milovidov
9b0226a73d
Merge pull request #3588 from zhang2014/fix/predicate
...
ISSUES-1777 qualified subqueries when optimize predicate
2018-11-21 06:20:37 +03:00
Alexey Milovidov
31561ef25a
Fixed error; added test #3589
2018-11-21 06:09:56 +03:00
Alexey Milovidov
c09a93e78b
Added a test #3601
2018-11-21 03:22:23 +03:00
alexey-milovidov
a008a41374
Merge pull request #3609 from s-mx/CLICKHOUSE-4090
...
Add primary_key, order_key, partition_key and sample_key to system.tables.
2018-11-20 16:39:54 +03:00
alexey-milovidov
6aa2313dec
Merge pull request #3580 from abyss7/fix-quantile-datetime
...
Some fixes to quantile*() functions related to DateTime argument type
2018-11-19 21:28:06 +03:00
Sabyanin Maxim
08fc057a15
make is_in_primary_key and etcetera work. add test.
2018-11-19 17:31:16 +03:00
Vitaly Baranov
a029034d8c
CLICKHOUSE-4127: Fix ALTER of destination table for the BUFFER engine.
2018-11-19 09:14:36 +03:00
Gleb Kanterov
1b8e5f9b47
Optimization to skip unused shards for Distributed engine
...
Hide behind `distributed_optimize_skip_select_on_unused_shards` setting.
2018-11-16 10:21:06 +00:00
Alexey Zatelepin
ffb54509db
add tests [#CLICKHOUSE-3859]
2018-11-15 22:34:50 +03:00
zhang2014
c23447ba3a
ISSUES-1777 qualified subqueries when optimize predicate
2018-11-15 23:23:44 +08:00
Sabyanin Maxim
d9e6789f78
make MergeTree work with comments
2018-11-15 16:12:27 +03:00
chertus
0e1044b165
Merge branch 'master' into issue-3578
2018-11-15 13:28:53 +03:00
chertus
ebf3d60186
column defaults without CapNProto [CLICKHOUSE-3578]
2018-11-14 21:20:16 +03:00
Ivan Lezhankin
fc272ecded
Some fixes to quantile*() functions related to DateTime argument type
2018-11-14 18:04:23 +03:00
Alexandr Krasheninnikov
177a00f09a
Merge https://github.com/yandex/ClickHouse into base64_functions
2018-11-14 12:32:42 +03:00
alexey-milovidov
3b2cd38beb
Merge pull request #3570 from yandex/fix-with-with-alias-only
...
Fix WITH with alias only
2018-11-14 04:22:38 +03:00