Alexey Milovidov
1c7ccbf108
Miscellaneous [#CLICKHOUSE-2]
2019-01-07 22:56:53 +03:00
Nikita Vasilev
76c25c2024
fixed
2019-01-07 22:21:51 +03:00
Nikita Vasilev
69c6e77d53
fixed nullptr error
2019-01-07 21:53:51 +03:00
Nikita Vasilev
6871665231
test index
2019-01-07 19:49:34 +03:00
Nikita Vasilev
11d37efa74
reading
2019-01-07 15:51:14 +03:00
Alexey Milovidov
ac48a83ebd
Added more warnings from clang's -Weverything, that are available in clang 8
2019-01-07 13:43:45 +03:00
Alexey Milovidov
0dfa553fca
Added more warnings from clang's -Weverything, that are available in clang 8
2019-01-07 13:40:58 +03:00
Alexey Milovidov
a5e354fba9
Fixed warning [#CLICKHOUSE-2]
2019-01-07 11:00:29 +03: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
alexey-milovidov
457bb58f3e
Update sanitizers.md
2019-01-06 19:43:46 +03:00
Nikita Vasilev
17f6618fa3
fix
2019-01-06 18:22:04 +03:00
alexey-milovidov
14f471dd0d
Merge pull request #3980 from zhang2014/fix/ISSUES-3710
...
ISSUES-3710 fix alias is missing when distributed & join on
2019-01-06 17:26:45 +03:00
Nikita Vasilev
e95376e550
Merge branch 'master' into nikvas0/index
2019-01-06 16:21:00 +03:00
Nikita Vasilev
7e0e301067
fix
2019-01-06 15:12:42 +03:00
Nikita Vasilev
83368a4866
upd error
2019-01-06 15:10:22 +03:00
Alexey Milovidov
a058cc1983
Added some warnings from clang's -Weverything
2019-01-06 14:13:26 +03:00
Alexey Milovidov
588ee498ba
Added some warnings from clang's -Weverything
2019-01-06 11:31:22 +03:00
Nikita Vasilev
c3f1784dbc
fixes
2019-01-05 22:27:31 +03:00
Nikita Vasilev
61b9c7735b
add rw for MergeTreeIndexes
2019-01-05 21:33:30 +03:00
Nikita Vasilev
82cc39d441
added setSkipIndexes
2019-01-05 15:35:13 +03:00
Nikita Vasilev
1c806288bf
fix
2019-01-05 12:26:02 +03:00
Alexey Milovidov
06a8c3f02d
Added some warnings from clang's -Weverything
2019-01-05 06:33:22 +03:00
Alexey Milovidov
61f01fde18
Added some warnings from clang's -Weverything
2019-01-05 04:11:17 +03:00
Alexey Milovidov
d47f87136a
Added some warnings from clang's -Weverything
2019-01-05 04:00:44 +03:00
Alexey Milovidov
b91ef0b2fb
Added some warnings from clang's -Weverything
2019-01-05 03:57:31 +03:00
Alexey Milovidov
d3f5be212d
Added some warnings from clang's -Weverything
2019-01-05 03:55:47 +03:00
Alexey Milovidov
382b8b654b
Miscellaneous [#CLICKHOUSE-2]
2019-01-05 03:47:51 +03:00
Alexey Milovidov
61cb601225
Added some warnings from clang's -Weverything
2019-01-05 03:45:32 +03:00
Nikita Vasilev
f92750223f
removed indexpart class
2019-01-04 18:54:34 +03:00
Nikita Vasilev
92a850ceb0
added writing indexes
2019-01-04 17:33:38 +03:00
Alexey Milovidov
3221d2bdb8
Added some warnings from clang's -Weverything
2019-01-04 17:22:34 +03:00
Alexey Milovidov
afda68d25c
Added some warnings from clang's -Weverything
2019-01-04 17:18:49 +03:00
Alexey Milovidov
67c236b067
Added some warnings from clang's -Weverything
2019-01-04 17:14:48 +03:00
Alexey Milovidov
445fc2bb43
Added some warnings from clang's -Weverything
2019-01-04 17:10:36 +03:00
Alexey Milovidov
bb89be0429
Added some warnings from clang's -Weverything
2019-01-04 17:03:42 +03:00
Alexey Milovidov
cf1cacc366
Added some warnings from clang's -Weverything
2019-01-04 16:54:39 +03:00
Alexey Milovidov
4622f5dc7c
Added some warnings from clang's -Weverything
2019-01-04 16:32:08 +03:00
Alexey Milovidov
1d4701b0bc
Added some warnings from clang's -Weverything
2019-01-04 15:10:00 +03:00
Nikita Vasilev
35dbb94312
fix
2019-01-03 19:47:42 +03:00
Alexey Milovidov
acb9696ddd
Miscellaneous [#CLICKHOUSE-2]
2019-01-03 11:40:48 +03:00
Nikita Vasilev
69052b3fc0
fix
2019-01-03 11:10:25 +03:00
zhang2014
a445514b61
ISSUES-3710 fix alias is missing when distributed & join on
2019-01-03 15:33:03 +08:00
Nikita Vasilev
b2da3a34df
comments
2019-01-02 21:47:07 +03:00
Nikita Vasilev
f704a32515
added granularity
2019-01-02 19:04:44 +03:00
Alexey Milovidov
051decfb75
Merge branch 'master' of github.com:yandex/ClickHouse
2019-01-02 18:03:56 +03:00
Nikita Vasilev
1b7c0aeef1
fix
2019-01-02 17:24:26 +03:00
Alexey Milovidov
e33e5150b7
Miscellaneous [#CLICKHOUSE-2]
2019-01-02 09:44:36 +03:00
alexey-milovidov
2d53e51c8f
Merge pull request #3968 from amosbird/writeint
...
Better writeInt
2019-01-02 08:46:12 +03:00
Amos Bird
df5b735894
Better writeInt
2019-01-01 19:36:50 +08:00
robot-clickhouse
9ed4fce934
Auto version update to [19.1.0] [54413]
2019-01-01 07:16:20 +03:00
alexey-milovidov
014e344a36
Merge pull request #3970 from yandex/storage-dictionary-race-condition
...
Fixed race condition in StorageDictionary
2018-12-30 06:22:34 +03:00
Alexey Milovidov
531560a6a5
Added bug [#CLICKHOUSE-3695]
2018-12-30 06:22:05 +03: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 Milovidov
d5881957fc
Added suppressions list for TSan
2018-12-30 04:28:07 +03:00
Alexey Milovidov
00978e757d
Fixed race condition in StorageDictionary [#CLICKHOUSE-3628]
2018-12-30 04:09:06 +03:00
Alexey Milovidov
d734215bc2
Adapted tests for open test data [#CLICKHOUSE-3]
2018-12-30 01:13:23 +03:00
Alexey Zatelepin
ca91223a94
make path argument explicit for safety [#CLICKHOUSE-4024]
2018-12-29 17:23:44 +03:00
Alexey Zatelepin
df079f28d2
remove duplicate logging
2018-12-29 17:11:17 +03:00
Alexey Zatelepin
c0d6b84a91
add test for minimalistic part header [#CLICKHOUSE-4024]
2018-12-29 17:11:17 +03:00
Alexey Zatelepin
5d4a56420d
tool to transform part znode to minimalistic part header [#CLICKHOUSE-4024]
2018-12-29 17:11:16 +03:00
Alexey Zatelepin
9bd09b44ed
introduce ReplicatedMergeTreePartHeader [#CLICKHOUSE-4024]
...
Conflicts:
dbms/src/Common/ErrorCodes.cpp
2018-12-29 17:11:16 +03:00
Nikita Vasilev
ad2a453919
changed comment
2018-12-29 16:11:30 +03:00
Nikita Vasilev
33cf4c96e6
fix
2018-12-29 16:04:22 +03:00
Nikita Vasilev
f90cdca498
added indexes in selectexecutor
2018-12-29 16:02:57 +03:00
Nikita Vasilev
5079330bdc
IndexCondition
2018-12-29 15:04:00 +03:00
Nikita Vasilev
68c3879d95
index condition
2018-12-29 14:12:41 +03:00
Alexey Milovidov
cd6a1c9bc9
Fixed uninitialized memory in "runningDifference" function [#CLICKHOUSE-2]
2018-12-29 03:53:11 +03:00
Alexey Milovidov
e5729c58b1
Added bug [#CLICKHOUSE-4235]
2018-12-29 03:31:49 +03:00
alexey-milovidov
b8e847edfd
Merge pull request #3955 from yandex/low-cardinality-fix-clone-empty
...
Do not copy dictionary in ColumnLowCardinality::cloneEmpty
2018-12-29 01:23:07 +03:00
alexey-milovidov
4ac9f7a204
Merge pull request #3959 from yandex/catboost-multiclass-models
...
Catboost multiclass models
2018-12-29 01:22:14 +03:00
Alexey Milovidov
3725116793
Added a test from Boris Granveaud #3421
2018-12-28 23:58:52 +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
f712f5be0d
Merge pull request #3956 from yandex/threadpool-constructor-exception-safety
...
Fixed exception safety of ThreadPool constructor
2018-12-28 23:31:48 +03:00
alesapin
b2727399b1
Merge pull request #3957 from yandex/nicelulu-click_update
...
Fix user and password forwarding
2018-12-28 22:50:16 +03:00
Alexey Milovidov
de10df4b12
Added a test just in case [#CLICKHOUSE-3995]
2018-12-28 21:37:23 +03:00
proller
7dd6c4947e
Fix cyclic lib depend: part 3: clean
2018-12-28 21:31:28 +03:00
Nikolai Kochetov
2632c080d7
Added multiclass model test.
2018-12-28 21:22:39 +03:00
proller
300bbdfb43
Fix cyclic lib depend ppart 2: clean
2018-12-28 21:15:26 +03:00
Nikolai Kochetov
bdaf1ac109
Support multiclass models for CatBoost.
2018-12-28 21:08:32 +03:00
Nikita Vasilev
06d8416107
indextypes
2018-12-28 20:53:41 +03:00
proller
0c78ef8573
Fix cyclic lib depend (make clickhouse_compression lib)
2018-12-28 20:27:53 +03:00
alesapin
43da59d0fc
Improve test
2018-12-28 20:11:52 +03:00
Alexey Milovidov
06095340c7
Slightly better code #3940
2018-12-28 19:45:45 +03:00
alesapin
ab32a06c85
Fix code remove redundat files
2018-12-28 19:28:24 +03:00
alesapin
8bc00f4632
CLICKHOUSE-4229: Fix user forwarding for replicated queries which actually send queries to master node
2018-12-28 19:21:32 +03:00
alesapin
f42f511e89
Merge pr
2018-12-28 19:21:07 +03:00
Ivan
e21f414a34
Describe how to get build log in chrome-trace format
2018-12-28 19:05:39 +03:00
chertus
bae0370954
fix crash in JoinToSubqueryTransformVisitor (wrong casts)
2018-12-28 18:38:58 +03:00
Nikita Vasilev
9bf5b6b4aa
added indexParts
2018-12-28 18:27:06 +03:00
Nikolai Kochetov
eb457f2bd2
Do not copy dictionary in ColumnLowCardinality::cloneEmpty
2018-12-28 18:22:38 +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
5e6aec04e8
Merge pull request #3935 from yandex/fix-error-in-quantile-t-digest-implementation
...
Fixed error in internal implementation of quantileTDigest
2018-12-28 04:39:43 +03:00
Alexey Milovidov
654e530bf1
Merge branch 'master' into fix-error-in-quantile-t-digest-implementation
2018-12-28 03:08:04 +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
f17095b146
Updated instruction #3948
2018-12-28 02:53:09 +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
3455da0a97
Merge pull request #3947 from yandex/fix-config-reloader
...
Retry loading ZK substitutions after ZK errors
2018-12-28 00:22:48 +03:00
alexey-milovidov
cbc9e03038
Merge pull request #3945 from yandex/fix_ipv4_masks
...
Fix ipv4 mask restrictions for users and add integration tests
2018-12-28 00:22:02 +03:00
Alexey Milovidov
928649004c
Fixed UB #3920
2018-12-28 00:15:47 +03:00
Alexey Milovidov
237a9247cb
Fixed UB #3920
2018-12-28 00:14:32 +03:00
Alexey Milovidov
4e2c1132d9
Fixed UB #3920
2018-12-27 23:48:21 +03:00
Alexey Milovidov
dae73f4d32
Fixed tests that was depend on timezone #3948
2018-12-27 23:44:07 +03:00
Alexey Milovidov
b109ec8c77
Fixed UB #3920
2018-12-27 23:24:37 +03:00
Alexey Milovidov
220e568894
Fixed UB #3920
2018-12-27 23:10:37 +03:00
Alexey Milovidov
29ffa46838
Less indirection #3920
2018-12-27 23:02:51 +03:00
Alexey Milovidov
88bdbc4dc7
Some additions to Amos Bird's optimization #3920
2018-12-27 22:58:30 +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
alesapin
c3c053e7b6
Add cap SYS_PTRACE for LeakSanitizer
2018-12-27 22:42:25 +03:00
Alexey Milovidov
01db559a70
Fixed test in non-local timezone [#CLICKHOUSE-2]
2018-12-27 22:39:14 +03:00
Alexey Milovidov
0d4e166db9
Fixed error: read one byte after buffer (this byte was unused) [#CLICKHOUSE-2]
2018-12-27 22:33:27 +03:00
proller
a75d8794ef
Merge remote-tracking branch 'upstream/master' into fix10
2018-12-27 21:21:20 +03:00
Alexey Zatelepin
da00c6e918
retry loading ZK substitutions after ZK errors #2947
2018-12-27 21:12:38 +03:00
alexey-milovidov
1098fd834a
Merge pull request #3926 from yandex/ubsan-fixes-3
...
Ubsan fixes 3
2018-12-27 21:12:38 +03:00
chertus
be02d3fe33
Merge branch 'master' into joins
2018-12-27 19:20:20 +03:00
chertus
e8245f5935
basic support for multiple_joins_emulation CLICKHOUSE-3996
2018-12-27 19:12:42 +03:00
alesapin
3d0c26f573
Fix ipv4 mask restrictions for users and add integration tests
2018-12-27 18:55:51 +03:00
Alexey Milovidov
b94bfa5785
Fixed test #3926
2018-12-27 18:39:41 +03:00
alexey-milovidov
644e9fc31f
Merge pull request #3930 from 4ertus2/ast
...
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-27 18:36:22 +03:00
proller
1a0a879a51
Build fixes
2018-12-27 18:23:37 +03:00
proller
aab8e5f4b2
2443 Do not write preprocessed configs to /etc/ - Microfixes
2018-12-27 17:49:43 +03:00
chertus
d791da03c7
fix test hint parsing
2018-12-27 17:48:47 +03:00
proller
d9bc934b7d
3908 Fix build client only
2018-12-27 17:32:23 +03:00
chertus
22bb17250f
autodisable logs in negative tests CLICKHOUSE-4228
2018-12-27 16:09:11 +03:00
chertus
600755745b
Merge branch 'ast' into joins
2018-12-27 14:17:24 +03:00
alesapin
3ed1e542b8
Merge branch 'custom_compression_codecs' of github.com:yandex/ClickHouse into custom_compression_codecs
2018-12-27 11:23:50 +03:00
alesapin
3afa03d044
Merge branch 'master' into custom_compression_codecs
2018-12-27 11:23:00 +03:00
Alexey Milovidov
160ffe8c7f
Fixed UB #3926
2018-12-27 05:00:31 +03:00
Alexey Milovidov
353c226893
Fixed UB #3926
2018-12-27 04:56:16 +03:00
Alexey Milovidov
76dafd4d95
Fixed UB #3926
2018-12-27 04:51:22 +03:00
Alexey Milovidov
882531b9c0
Fixed UB #3926
2018-12-27 04:40:00 +03:00
Alexey Milovidov
da5b62ab67
Fixed UB #3926
2018-12-27 04:20:06 +03:00
Alexey Milovidov
589d07860f
Fixed UB #3926
2018-12-27 04:12:18 +03:00
Alexey Milovidov
d2b7a847c7
Allow tests to execute in random order #3926
2018-12-27 04:09:27 +03:00
Alexey Milovidov
4c35a73a74
Fixed UB #3926
2018-12-27 04:03:16 +03:00
Alexey Milovidov
e8328c576b
Fixed UB #3926
2018-12-27 03:59:52 +03:00
Alexey Milovidov
1c0659ac2f
Fixed test #3926
2018-12-27 03:55:05 +03:00
Alexey Milovidov
fec30acf81
Allowed some UB #3926
2018-12-27 03:51:14 +03:00
Alexey Milovidov
673fa80a9c
Allowed some UB #3926
2018-12-27 03:40:10 +03:00
Alexey Milovidov
c20f05875a
Moved code; added comment #3926
2018-12-27 03:34:49 +03:00
Alexey Milovidov
3c84e47419
Fixed UB #3926
2018-12-27 03:33:54 +03:00
Alexey Milovidov
713a44c38e
Fixed UB #3926
2018-12-27 03:33:32 +03:00
Alexey Milovidov
39492139f0
Allowed some UB #3926
2018-12-27 03:25:47 +03:00
Alexey Milovidov
d6c7825328
Addition to prev. revision #3926
2018-12-27 03:11:42 +03:00
Alexey Milovidov
e308d2e069
Addition to prev. revision #3926
2018-12-27 03:10:38 +03:00
Alexey Milovidov
2e20bd4b4a
Addition to prev. revision #3926
2018-12-27 03:09:39 +03:00
Alexey Milovidov
408f935754
Addition to prev. revision #3926
2018-12-27 03:03:18 +03:00
Alexey Milovidov
2e323192a2
Addition to prev. revision #3926
2018-12-27 03:02:11 +03:00
Alexey Milovidov
732f60c8be
Allowed some UB under UBSan #3926
2018-12-27 02:55:09 +03:00
Alexey Milovidov
37a2d51e0c
Added attribute #3926
2018-12-27 02:17:04 +03:00
Alexey Milovidov
10362ab7e1
Fixed build #3926
2018-12-27 01:56:54 +03:00
Alexey Milovidov
5570ddada5
Fixed error in internal implementation of quantileTDigest [#CLICKHOUSE-2]
2018-12-27 00:02:39 +03:00
alesapin
9e32de053d
Update Compressor.cpp
2018-12-26 23:53:39 +03:00
alexey-milovidov
5c4ebfa2e1
Update RequiredSourceColumnsVisitor.h
2018-12-26 23:35:06 +03:00
alexey-milovidov
67dbfd8e81
Update ExpressionAnalyzer.cpp
2018-12-26 23:33:29 +03:00
Alexey Milovidov
7509db544c
Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-3
2018-12-26 22:38:11 +03:00
alexey-milovidov
b7f25f6ffe
Merge pull request #3932 from yandex/fix_no_message_received
...
Move processing pool to ternary logic
2018-12-26 22:16:01 +03:00
alexey-milovidov
cd00fc8b56
Merge pull request #3934 from yandex/fix-zk-node-cache
...
Fix ZooKeeperNodeCache becoming unusable after SessionExpired event
2018-12-26 22:15:32 +03:00
chertus
4b63c11cea
Merge branch 'master' into ast
2018-12-26 21:56:41 +03:00
chertus
0812f79421
remove unused code
2018-12-26 21:56:21 +03:00
Nikita Vasilev
c89df916ab
ptrs
2018-12-26 20:34:44 +03:00
Alexey Zatelepin
601a6af0ec
fix ZooKeeperNodeCache becoming unusable after SessionExpired event #2947 #3891
...
Previously after a SessionExpired event the context->zookeeper field was
reinitialized with the old expired ZooKeeper instance. This led to inability
to get new paths. Better not cache the ZooKeeper instance and get it at the
start of each request.
2018-12-26 20:27:25 +03:00
alesapin
9342700ce1
Move processing pool to ternary logic
2018-12-26 20:03:29 +03:00
alesapin
31f82940e1
Update Compressor.cpp
2018-12-26 19:18:21 +03:00
chertus
371ec0d576
fix gcc build
2018-12-26 18:40:47 +03:00
Alexey Milovidov
c88fd6025a
Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-3
2018-12-26 18:09:54 +03:00
alesapin
89966db3ba
Add multiple codecs to compressor
2018-12-26 18:01:26 +03:00
chertus
6ea13516f0
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-26 17:43:25 +03:00
chertus
11982046d6
Merge branch 'master' into joins
2018-12-26 17:17:18 +03:00
chertus
62905013d7
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-26 17:08:57 +03:00
Nikita Vasilev
b62197b1ad
fixed compilation
2018-12-26 15:49:05 +03:00
Nikita Vasilev
04a8ea85af
added index interface and factory
2018-12-26 15:19:24 +03:00
alesapin
98b372415d
Decrease sleep time
2018-12-26 14:23:15 +03:00
alesapin
444eb21d28
Fix exponential backoff for replication queue
2018-12-26 12:56:52 +03:00
alesapin
8f82d5a687
Merge branch 'master' into custom_compression_codecs
2018-12-26 10:43:33 +03:00
Alexey Milovidov
15a218f951
Fixed UB #3926
2018-12-26 09:03:18 +03:00
Alexey Milovidov
5abb2d02b9
Fixed UB #3926
2018-12-26 08:34:25 +03:00
Alexey Milovidov
ee4c7fe815
Allowed UB in certain cases #3926
2018-12-26 07:59:20 +03:00
Alexey Milovidov
d54d2f7558
Allowed UB in certain cases #3926
2018-12-26 07:56:38 +03:00
Alexey Milovidov
ed50d90812
Allowed UB in certain cases #3926
2018-12-26 07:50:56 +03:00
Alexey Milovidov
4a45db2b9b
Fixed UB #3926
2018-12-26 07:40:16 +03:00
Alexey Milovidov
5ca01486dd
Fixed UB #3926
2018-12-26 07:32:58 +03:00
Alexey Milovidov
fc39ce8673
Fixed UB #3926
2018-12-26 07:12:14 +03:00
Alexey Milovidov
3d3385139b
Fixed error #3926
2018-12-26 07:09:24 +03:00
Alexey Milovidov
c86e861b6d
Fixed error #3926
2018-12-26 06:38:57 +03:00
Alexey Milovidov
0ba7c1dd3a
Fixed UB #3926
2018-12-26 06:32:18 +03:00
Alexey Milovidov
665fc23f57
Fixed UB #3569
2018-12-26 06:27:26 +03:00
Alexey Milovidov
b5013194ec
Fixed UB #3569
2018-12-26 06:21:39 +03:00
Alexey Milovidov
56bd082105
Fixed UB #3926
2018-12-26 06:15:34 +03:00
Alexey Milovidov
b7f085c525
Fixed UB #3926
2018-12-26 05:47:16 +03:00
Alexey Milovidov
a2fae24e07
Fixed UB #3926
2018-12-26 05:09:59 +03:00
Alexey Milovidov
f2d789d384
Fixed UB #3926
2018-12-26 05:06:54 +03:00
Alexey Milovidov
897199c220
Fixed UB #3926
2018-12-26 04:29:48 +03:00
Alexey Milovidov
985aa2c034
Fixed build #3926
2018-12-26 04:12:13 +03:00
Alexey Milovidov
37bbc0ecd5
Fixed UB #3926
2018-12-26 04:08:14 +03:00
Alexey Milovidov
ee953b4653
Fixed UB (requires performance testing) #3569
2018-12-26 03:31:51 +03:00
Alexey Milovidov
b1b1c676c9
Fixed error #3926
2018-12-26 03:30:11 +03:00
Alexey Milovidov
e8dc222b61
Fixed UB #3926
2018-12-26 03:28:13 +03:00
Alexey Milovidov
4104a0610e
Added a test #3569
2018-12-26 03:18:11 +03:00
Alexey Milovidov
5d1bc8540e
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:50:12 +03:00
Alexey Milovidov
1191f1575d
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:44:44 +03:00
Alexey Milovidov
c858c144ef
Fixed UB #3926
2018-12-26 02:39:40 +03:00
Alexey Milovidov
07bfa2f460
Added instruction for UBSan usage #3926
2018-12-26 02:32:41 +03:00
Alexey Milovidov
cfc1e207ab
Fixed UB #3926
2018-12-26 02:27:52 +03:00
Alexey Milovidov
bbbefe2c03
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:18:07 +03:00
Alexey Milovidov
a204ed264f
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:15:28 +03:00
Alexey Milovidov
436b9b6eac
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:14:39 +03:00
Alexey Milovidov
3be55436bf
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:13:30 +03:00
Alexey Milovidov
4c0b95ac02
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:11:36 +03:00
Alexey Milovidov
4cb431264a
Fixed UB #3926
2018-12-26 02:06:39 +03:00
Alexey Milovidov
06783113a7
Fixed UB [#CLICKHOUSE-2]
2018-12-26 00:18:40 +03:00
Nikita Vasilev
36083e1036
some fixes
2018-12-25 22:37:39 +03:00
Alexey Milovidov
8f306e8b45
Small improvements #3920
2018-12-25 22:31:18 +03:00
alexey-milovidov
de88010ac8
Merge pull request #3920 from amosbird/leftpad
...
POC zero left padding for PODArray
2018-12-25 21:54:17 +03:00
alexey-milovidov
8120d5495e
Update PODArray.h
2018-12-25 21:52:43 +03:00
alexey-milovidov
d99072ffb0
Update PODArray.h
2018-12-25 21:51:37 +03:00
alexey-milovidov
e1568fd9ad
Update PODArray.h
2018-12-25 21:49:09 +03:00
Nikita Vasilev
fcd49afc2a
added index parsing
2018-12-25 21:45:08 +03:00
alexey-milovidov
3490ddb51d
Merge pull request #3921 from yandex/int-monotonicity-cleanups
...
Rewrite code to calculate integer conversion function monotonicity
2018-12-25 21:45:00 +03:00
Nikita Vasilev
6f986495dd
made index parser
2018-12-25 21:42:43 +03:00
Alexey Milovidov
4ee7b80ab4
Fixed error #3870
2018-12-25 21:40:47 +03:00
Alexey Milovidov
fc4f7d2e77
Investigation #3921
2018-12-25 21:06:38 +03:00
alexey-milovidov
3687980ccf
Merge pull request #3918 from filimonov/xxhash
...
Performance tests for hash functions
2018-12-25 20:55:55 +03:00
Alexey Milovidov
a868180516
Fixed test, try 2 #3914
2018-12-25 20:54:26 +03:00
Alexey Milovidov
877750cd6a
Fixed test #3914
2018-12-25 20:54:26 +03:00
Alexey Milovidov
a66ce65b22
Fixed test, try 2 #3914
2018-12-25 20:52:28 +03:00
Alexey Milovidov
3a8f3a05de
Fixed test #3914
2018-12-25 20:45:02 +03:00
Alexey Milovidov
6758c76da3
Removed the only test case that use "mouse_clicks" table [#CLICKHOUSE-2]
2018-12-25 20:32:12 +03:00
Alexey Milovidov
3500d5a72e
Removed the only test case that use "mouse_clicks" table [#CLICKHOUSE-2]
2018-12-25 20:30:53 +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
Alexey Milovidov
7763104090
Merge branch 'master' into int-monotonicity-cleanups
2018-12-25 17:28:32 +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
c91687f9d7
Small refactoring
2018-12-25 13:35:46 +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
alesapin
a82dfef893
Fix in parser
2018-12-24 20:12:14 +03:00
Alexey Milovidov
5e8035f166
Fixed error #3921
2018-12-24 19:13:04 +03:00
alesapin
bbdfc77f21
Update CachedCompressedReadBuffer.h
2018-12-24 19:12:25 +03:00
alesapin
f7e06cf9ac
Remove random changes
2018-12-24 19:03:22 +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
Amos Bird
8736a3908f
left pad
2018-12-24 23:51:06 +08:00
alesapin
36fb2d16cd
Add test with non default config
2018-12-24 18:50:02 +03:00
alexey-milovidov
14e425ddb4
Merge pull request #3919 from yandex/kafka-segfault-investigation
...
StorageKafka: minor modifications.
2018-12-24 18:48:54 +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
f2fd1e4da6
Fix style and includes
2018-12-24 17:10:37 +03:00
mf5137
c07b0659fd
Performance tests for hash functions2
2018-12-24 15:09:54 +01:00
Alexey Milovidov
ce10674107
Fixed weird error in PR #3870
2018-12-24 16:25:48 +03:00
alesapin
29ad7f9fb1
Remove redundant changes and shift error codes
2018-12-24 16:19:24 +03:00
alexey-milovidov
659bb3f56c
Merge pull request #3910 from amosbird/ub
...
Fix UB.
2018-12-24 16:04:14 +03:00
alexey-milovidov
add2c0a6fc
Merge branch 'master' into int-round-overflow
2018-12-24 15:50:13 +03:00
alexey-milovidov
1923ee9423
Merge pull request #3913 from yandex/fix-buffer-overflow-in-add-days
...
Fix buffer overflow in functions addDays, subtractDays
2018-12-24 15:47:46 +03:00
Alexey Milovidov
1dffa56073
Fixed test #3913
2018-12-24 15:47:24 +03:00
KochetovNicolai
99c73209a9
Update build_catboost.sh
...
Fix build script for CatBoost models.
2018-12-24 15:37:46 +03:00
KochetovNicolai
1070702168
Update CatBoostModel.cpp
...
Do not evaluate CatBoost model on empty dataset.
2018-12-24 15:35:46 +03:00
mf5137
67ad598582
Performance tests for hash functions
2018-12-24 12:38:07 +01:00
alesapin
1e771a4aec
Fix error codes
2018-12-24 14:34:50 +03:00
Alexey Milovidov
7cfa7c3dbe
KILL QUERY: make WHERE clause mandatory #3916
2018-12-24 14:08:09 +03:00
Alexey Milovidov
184c36d78d
Fixed error in KILL QUERY #3916
2018-12-24 14:06:35 +03:00
Alexey Milovidov
2ee4c443d5
Merge branch 'master' of github.com:yandex/ClickHouse into kafka-segfault-investigation
2018-12-24 14:05:36 +03:00
qianlixiang
416d6aa788
Fixed core dump caused by kill query sync
2018-12-24 16:17:22 +08:00
Alexey Milovidov
0b760ee9e9
Fixed overflow in rounding functions with integer argument and large negative scale [#CLICKHOUSE-2]
2018-12-24 03:47:11 +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
f04f13a77a
Merge branch 'master' into fix-buffer-overflow-in-add-days
2018-12-24 01:23:32 +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
fbee51bb7d
Removed redundand code #3785
2018-12-24 00:38:53 +03:00
Alexey Milovidov
986f96ada9
Removed redundand code #3785
2018-12-24 00:37:42 +03:00
alexey-milovidov
b9c4ede4fd
Merge pull request #3785 from sergey-v-galtsev/match-process-euid-against-data-owner
...
Match the process' effective user id against the data owner at the server startup.
2018-12-23 22:28:54 +03:00
Alexey Milovidov
6368daff63
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-23 22:25:53 +03:00
Alexey Milovidov
7b420297ed
Fixed "unbundled" build #3905
2018-12-23 22:25:40 +03:00
proller
bebaf9d861
Fix includes, Faster compile ( #3898 )
...
* Fix includes
* Faster compile
* WTFix
* Limit compile and linking jobs according to available memory
* Add comment
* fix
* Remove ALL from copy-headers target
* Freebsd fix
* Better
* cmake: split use libcxx
2018-12-23 17:19:11 +03:00
Amos Bird
71fad54eb2
Fix UB.
2018-12-23 16:21:55 +08: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
34bed6c078
Fixed test [#CLICKHOUSE-2]
2018-12-23 05:12:18 +03:00
Alexey Milovidov
dd7325480f
Fixed test [#CLICKHOUSE-2]
2018-12-23 05:11:56 +03:00
Alexey Milovidov
4468462ca6
Fixed test #3909
2018-12-23 04:48:09 +03:00
Alexey Milovidov
19d57c78b5
Fixed test #3909
2018-12-23 04:46:30 +03:00
Alexey Milovidov
83cf88c9c1
Less garbage #3909
2018-12-23 04:41:03 +03:00
Alexey Milovidov
fac239147d
Added test #3909
2018-12-22 19:19:16 +03:00
Alexey Milovidov
94948cb587
Less garbage [#CLICKHOUSE-2]
2018-12-22 18:40:51 +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
Alexey Zatelepin
37065b6b8f
prevent race condition when locking a distributed ALTER task for execution [#CLICKHOUSE-4221]
2018-12-21 20:28:21 +03:00
Alexey Milovidov
2c6e49c3f3
More checks [#CLICKHOUSE-2]
2018-12-21 19:24:47 +03:00
Alexey Milovidov
661a117b91
Added assertion [#CLICKHOUSE-2]
2018-12-21 19:03:40 +03:00
Alexey Milovidov
a8f09809f5
Simplified logic with "IColumn::convertToFullColumnIfConst" (suggested by Amos Bird) [#CLICKHOUSE-2]
2018-12-21 19:00:07 +03:00
alexey-milovidov
e9619169b5
Merge pull request #3896 from zhang2014/fix/check_type_with_converts
...
Fix check data type with converts function
2018-12-21 18:43:46 +03: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
Alexey Milovidov
a7f768d623
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-21 17:33:10 +03:00
Alexey Milovidov
08d573d402
Fixed error with unused variable #3826
2018-12-21 17:23:39 +03:00
alesapin
a0240d8a0e
Remove accident change
2018-12-21 17:19:49 +03:00
alesapin
74ea831240
Remove commented codec
2018-12-21 17:06:49 +03:00
alesapin
42b9735760
Add LZ4HC
2018-12-21 17:03:53 +03:00
alesapin
6f7333840a
Move header with compression info to another place
2018-12-21 16:25:39 +03:00
alesapin
7c11455bd3
Remove compression settings
2018-12-21 15:17:30 +03:00
zhang2014
6ffdcb38a2
Fix check data type with converts function
2018-12-21 19:37:33 +08: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 Milovidov
a042e4e9e7
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 22:07:00 +03:00
Alexey Milovidov
f6ce803eff
Better implementation of regexpQuoteMeta #3826
2018-12-20 22:06:46 +03:00
Alexey Zatelepin
b7afe46dfd
remove ALTER MODIFY PRIMARY KEY command [#CLICKHOUSE-4214]
2018-12-20 21:57:20 +03:00
Alexey Milovidov
6a914f5b3c
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 21:17:21 +03:00
Alexey Milovidov
980d6d9e46
Fixed error in "regexpQuoteMeta" function #3826
2018-12-20 21:16:06 +03:00
alexey-milovidov
d9e8cd46da
Merge pull request #3879 from yandex/setting-low_cardinality_allow_in_native_format
...
Added low_cardinality_allow_in_native_format setting.
2018-12-20 21:02:02 +03:00
Alexey Milovidov
5346e1c575
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 20:58:58 +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
1841634ae2
Removed accidential change [#CLICKHOUSE-2]
2018-12-20 20:49:37 +03:00
Alexey Milovidov
9c65c539cd
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-20 20:48:20 +03:00
Alexey Milovidov
b7b418a6f5
Renamed setting #3851
2018-12-20 20:48:11 +03:00
alexey-milovidov
4993cb53d1
Merge pull request #3886 from yandex/low-cardinality-specialized-aggregation
...
Added LowCardinality support for specialized aggregation.
2018-12-20 20:46:49 +03:00
Alexey Milovidov
edc415857c
Removed accidential change [#CLICKHOUSE-2]
2018-12-20 20:46:31 +03:00
alesapin
aee6c0a606
Remove dump code
2018-12-20 20:37:02 +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
cbbf0bdb58
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-20 19:11:55 +03:00
Alexey Milovidov
7f544da83c
Added performance test #3139
2018-12-20 19:11:45 +03:00
Alexey Milovidov
c8cab3cf1e
Added performance test #3139
2018-12-20 19:11:22 +03:00
Alexey Milovidov
8f4b10bc51
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 18:19:15 +03:00
Nikolai Kochetov
18b530544e
Fix setting description.
2018-12-20 18:17:07 +03:00
Alexey Milovidov
731d76821d
Merging abandoned pull request with "boundingRatio" function #3139
2018-12-20 18:14:32 +03:00
Nikolai Kochetov
fbcf6640c9
Fix style.
2018-12-20 17:54:26 +03:00
Nikolai Kochetov
7b994d983f
Fix Native streams headers.
2018-12-20 17:26:54 +03:00
Alexey Milovidov
113ff56384
Merge branch 'master' into twosixlabs-add_rate_function
2018-12-20 17:19:06 +03:00
Alexey Milovidov
2ae6b6414c
Fixed error in 'compressor' tool: the 'level' parameter wasn't working #1345
2018-12-20 17:16:07 +03:00
zhang2014
263de501f5
add test & use isRepresentedByNumber
2018-12-20 22:08:17 +08:00
Nikolai Kochetov
4e58b62b0c
Added LowCardinality support for specialized aggregation.
2018-12-20 16:28:20 +03: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
alesapin
04902c569a
Non effective, but working code
2018-12-20 13:27:38 +03:00
proller
bd17982224
Fix clang build
2018-12-20 12:54:28 +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
Sergey V. Galtsev
fb5dbb7959
Do not require the server to fail to start in the test.
2018-12-20 01:50:05 +03:00
Sergey V. Galtsev
a2042d60bf
Resolve conflict with upstream.
2018-12-20 00:16:44 +03:00
Sergey V. Galtsev
81eeaec7fe
Cleanup test.
2018-12-20 00:12:06 +03:00
Sergey V. Galtsev
acb8cf1849
Fix test.
2018-12-19 23:29:52 +03:00
proller
6869771ae4
Fix includes
2018-12-19 20:57:51 +03:00
proller
fdd22ad187
Fix includes
2018-12-19 20:56:58 +03:00
Nikolai Kochetov
4eb7a820d6
Fix style
2018-12-19 20:54:46 +03:00
alesapin
512fe3c854
Refactoring (sanitizer failure)
2018-12-19 20:20:18 +03:00
Nikolai Kochetov
0f8f5836fb
Fix build.
2018-12-19 19:55:01 +03:00
Nikolai Kochetov
78321a04a1
Added low_cardinality_allow_in_native_format setting.
2018-12-19 19:47:30 +03:00
Alexey Milovidov
2f9ead4548
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-19 19:18:56 +03:00
alexey-milovidov
f05bf6c046
Merge pull request #3873 from s-mx/send_logs_level2
...
Fix strange behavior of send_logs_level setting.
2018-12-19 19:18:02 +03:00
alexey-milovidov
ca75d18414
Merge pull request #3875 from abyss7/issue-3591
...
Treat Enums as Ints inside If() function
2018-12-19 18:30:09 +03:00
Alexey Milovidov
92499c725d
Fixed test #3811
2018-12-19 18:27:57 +03:00
Ivan Blinkov
24a0b3a53e
Additional function case insensitivity from #3704
2018-12-19 17:46:18 +03:00
Ivan Lezhankin
4c3af43ed3
Add test.
2018-12-19 17:36:55 +03:00
Ivan Lezhankin
937c0fb4a4
Treat Enum* types as Int* inside If() function.
2018-12-19 17:02:26 +03:00
Ivan
37345468b3
Explicitly include <optional> for clang-6.0
2018-12-19 16:57:55 +03:00
Sabyanin Maxim
ea27ec463e
add SettingLogsLevel
2018-12-19 16:20:41 +03:00
chertus
7e6a39f623
Merge branch 'master' into joins
2018-12-19 16:14:17 +03:00
chertus
cbf3c34cf3
minor improvement in ExpressionAnalyzer + array join
2018-12-19 16:13:51 +03:00
Alexey Milovidov
b7ce79c423
Miscellaneous [#CLICKHOUSE-2]
2018-12-19 16:11:06 +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
Ivan Blinkov
0b79053afd
remove accidental file duplicate
2018-12-19 12:05:04 +03:00
Ivan Blinkov
714bd5b88a
Add lost zero byte in regexpQuoteMeta
2018-12-19 12:02:59 +03:00
Alexey Milovidov
2874061410
Fix use after free in arrayEnumerate [#CLICKHOUSE-2]
2018-12-19 07:21:23 +03:00
Alexey Milovidov
68e0af176e
Fix use after free in arrayEnumerate [#CLICKHOUSE-2]
2018-12-19 06:53:09 +03:00
Alexey Milovidov
8889f0859a
Fixed typo [#CLICKHOUSE-2]
2018-12-19 06:43:37 +03:00
Alexey Milovidov
36836faf62
Full support for Decimal #3721
2018-12-19 05:43:09 +03:00
Alexey Milovidov
689de0289f
Added performance test #3721
2018-12-19 05:37:20 +03:00
Alexey Milovidov
9c23556cb0
Basic implementation for Decimal #3721
2018-12-19 05:11:31 +03:00
Alexey Milovidov
8e83a3c4ef
Merge branch 'persiyanov-feature/roundDown-function'
2018-12-19 04:30:53 +03:00
Alexey Milovidov
4a6c25e65d
Merging #3721 ; Added a test
2018-12-19 04:30:32 +03:00
Alexey Milovidov
b9a68fbe93
Merging #3721 ; Added a test
2018-12-19 04:29:40 +03:00
Alexey Milovidov
cf68f08099
Merge branch 'feature/roundDown-function' of https://github.com/persiyanov/ClickHouse into persiyanov-feature/roundDown-function
2018-12-19 03:29:21 +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
c47dfb064e
Update ExecuteScalarSubqueriesVisitor.cpp
2018-12-19 03:19:31 +03:00
Alexey Milovidov
d5d1c34017
Merging #3811
2018-12-18 23:24:16 +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
chertus
f992f0a9a0
better check when rewrites needed
2018-12-18 21:28:02 +03:00
proller
b213ee5e5d
Fix macos build ( #3863 )
2018-12-18 20:41:03 +03:00
Ivan Blinkov
c5cb1573b5
One more kind of aliases for DATE_DIFF
2018-12-18 18:47:27 +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
e73bef119c
restore accidentally removed function registration
2018-12-18 17:31:03 +03:00
proller
c63ca042ba
Fix macos build ( #3861 )
2018-12-18 16:37:00 +03:00
alesapin
bb4eb06bb6
Fix strange logic
2018-12-18 16:30:22 +03:00
chertus
ba91920b19
Merge branch 'master' into joins
2018-12-18 16:26:28 +03:00
chertus
8720d3b937
remove stale code
2018-12-18 16:26:04 +03:00
Ivan Blinkov
d59b7379c9
fix style issues
2018-12-18 16:19:23 +03:00
Ivan Blinkov
d7667ffe95
fix gcc build issue
2018-12-18 16:18:30 +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
fd49cc3c34
Simpliest codec multiple works
2018-12-18 16:08:22 +03:00
alesapin
6fe01af829
Merge branch 'master' into custom_compression_codecs
2018-12-18 14:06:11 +03:00
Ivan Blinkov
5caab32340
simplify whitespace_mask creation
2018-12-18 11:30:25 +03:00
Alexey Milovidov
d1237afdb7
Miscellaneous [#CLICKHOUSE-2]
2018-12-18 04:26:12 +03:00
alexey-milovidov
467751b692
Merge pull request #3856 from proller/fix10
...
Macos fix
2018-12-18 03:33:04 +03:00
alexey-milovidov
3efb01b3f8
Merge pull request #3857 from yandex/fix_odbc_bridge
...
Do not log from odbc-bridge when there is no console
2018-12-18 03:26:46 +03:00
Ivan Blinkov
93d4303922
minor trim test improvements
2018-12-17 23:20:25 +03:00
alesapin
bb1760c468
Remove idiotic if
2018-12-17 23:11:19 +03:00
Ivan Blinkov
b7566a8d4d
Add manual implementation of trim base case (without character override)
2018-12-17 23:07:31 +03:00
chertus
9ef314aaaf
SemanticSelectQuery CLICKHOUSE-3996
2018-12-17 22:30:08 +03:00
Ivan Lezhankin
8c8dc333e5
Fix unavailable shard's host:port for testing.
2018-12-17 21:06:50 +03:00
proller
8726f1eae3
Merge remote-tracking branch 'upstream/master' into fix10
2018-12-17 20:59:23 +03:00
proller
b1234b86c3
Macos fix
2018-12-17 20:59:10 +03:00
Daniel Dao
9a676329c2
Fix simple typo in ClusterCopier
...
Signed-off-by: Daniel Dao <dqminh89@gmail.com>
2018-12-17 16:45:44 +00:00
Ivan Lezhankin
1a539b3a6d
Merge remote-tracking branch 'upstream/master' into issue-3592
2018-12-17 19:30:20 +03:00
chertus
b38f805097
JoinToSubqueryTransformVisitor CLICKHOUSE-3996
2018-12-17 19:22:28 +03:00
alexey-milovidov
14df9c76aa
Merge pull request #3837 from reflection/rollup_with_having
...
Ensure ROLLUP and CUBE respect HAVING (no change to TOTALS)
2018-12-17 18:06:26 +03:00
Ivan Lezhankin
6df757c6f7
Refactor constant folding and make it reusable for primary_key_expr
2018-12-17 17:59:01 +03:00
proller
3a9bd8a773
Fix macos build
2018-12-17 17:10:23 +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
dd8c947122
Merge pull request #3836 from nightweb/3835-add-with-totals-support
...
#3835 Add totals row for WITH TOTALS query
2018-12-14 22:34:01 +03:00
alexey-milovidov
b6feafea41
Update ODBCDriver2BlockOutputStream.cpp
2018-12-14 22:31:38 +03:00
alexey-milovidov
7380abf502
Merge pull request #3021 from yandex/ubsan-fixes-3
...
UBSan fixes, part 2
2018-12-14 22:29:47 +03:00
Alexey Milovidov
d7e25e1439
Always build ODBC bridge as a separate binary #3360
2018-12-14 22:28:37 +03:00
alexey-milovidov
3a2c85a06c
Merge pull request #3717 from amosbird/arrayjoin
...
Support unaligned array join.
2018-12-14 21:12:24 +03:00
alexey-milovidov
120e6b54eb
Update Settings.h
2018-12-14 21:12:01 +03:00
Alexey Milovidov
cd233cef17
Fixed typo [#CLICKHOUSE-2]
2018-12-14 21:06:10 +03:00
alexey-milovidov
c1a2cb7abb
Update ColumnVector.h
2018-12-14 20:54:45 +03:00
alexey-milovidov
6d27777b19
Merge branch 'master' into ubsan-fixes-3
2018-12-14 20:52:54 +03:00
Alexey Milovidov
c39a19c126
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-14 20:50:23 +03:00
Alexey Milovidov
21c3a3d9e2
UBSan fixes #3021
2018-12-14 20:50:10 +03:00
Max
4c145a9535
#3835 Add totals row for WITH TOTALS query
2018-12-14 20:43:04 +03:00
KochetovNicolai
e4fe6a8e63
Updated test. ( #3832 )
...
* Updated test.
* Updated test.
* Updated test.
* Updated test.
* Updated test.
2018-12-14 20:32:25 +03:00
alexey-milovidov
eea8e2bbc2
Merge pull request #3833 from yandex/remove-shard-by-hash
...
Removed table function "shardByHash" because it has no use
2018-12-14 20:29:03 +03:00
alexey-milovidov
d4c476e0bb
Merge pull request #2609 from yandex/background-processing-pool-backoff
...
Improved efficiency with a huge number of MergeTree tables.
2018-12-14 20:28:22 +03:00
robot-clickhouse
6b536b2bc7
Auto version update to [18.16.0] [54412]
2018-12-14 20:26:46 +03:00
Alexey Milovidov
54071d6266
Removed table function "shardByHash" because it has no use [#CLICKHOUSE-2]
2018-12-14 19:33:52 +03:00
Alexey Milovidov
9e6d835137
Preparations #2609
2018-12-14 19:17:09 +03:00
Alexey Milovidov
41ed104894
Preparations #2609
2018-12-14 19:12:12 +03:00
Alexey Milovidov
e9a3c93ef0
Merged with master #2609
2018-12-14 18:39:48 +03:00
alexey-milovidov
7cc867de0a
Merge branch 'master' into background-processing-pool-backoff
2018-12-14 17:41:55 +03:00
robot-clickhouse
9c36280711
Auto version update to [18.15.0] [54411]
2018-12-14 16:47:45 +03:00
proller
add14ee00b
Fix unsuccessful run of StorageSystemContributors on release
2018-12-14 16:44:10 +03:00
alesapin
0f29bff8da
Style
2018-12-14 16:28:34 +03:00
alesapin
8a95eb9dc1
More tests for parser
2018-12-14 16:27:35 +03:00
alexey-milovidov
cad86db065
Merge pull request #3823 from yandex/fix-column-unique-index
...
Fix column unique index [WIP]
2018-12-14 16:18:17 +03:00
Ivan Blinkov
9dca1e3ca2
Test for left/right with cut size larger than input
2018-12-14 14:45:45 +03:00
Ivan Blinkov
2279058f0d
Simplify right(expr, length) function to be just an alias to substring(expr, -length)
2018-12-14 14:42:49 +03:00
Nikolai Kochetov
2cd3bb5ff7
Fix tests.
2018-12-14 14:36:08 +03:00
alesapin
cc229ac9cc
Remove strange test
2018-12-14 14:32:23 +03:00
alesapin
3370a0a4fe
Fix order of calls
2018-12-14 14:29:12 +03:00
Ivan Blinkov
ebc0a165f4
Add perf test for right function
2018-12-14 12:32:24 +03:00
Ivan Blinkov
649716bea1
fix incorrect escaping
2018-12-14 12:26:55 +03:00
Ivan Blinkov
7b4b768195
Some perf tests for trim functions
2018-12-14 12:20:22 +03:00
Ivan Blinkov
0753cfe81b
Merge FunctionRegexpQuoteMeta.h into regexpQuoteMeta.cpp + add comment about suboptimal library call
2018-12-14 11:43:20 +03:00
alesapin
29e2bbaa94
Merge remote-tracking branch 'origin' into custom_compression_codecs
2018-12-14 11:24:23 +03:00
shangshujie
c8111704fb
add java hash code source url
2018-12-14 14:12:23 +08:00
Nikolai Kochetov
ec59f65a1e
Update ReverseIndex. Added tests.
2018-12-13 22:02:28 +03:00
alesapin
46c78c093b
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-13 20:41:27 +03:00
alesapin
b00669e012
Print stacktrace on client if corresponding option specified
2018-12-13 20:41:13 +03:00
alesapin
96da3195f5
Rewrite strange logic to another strange logic
2018-12-13 20:39:16 +03:00
Ivan Blinkov
69f2667d63
fix style errors
2018-12-13 19:41:56 +03:00
alesapin
5c823d519f
Remove debug
2018-12-13 19:23:06 +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
shangshujie
e9cabc818d
fix indention
2018-12-13 18:36:31 +08:00
alesapin
5c30bd2384
Compilable code
2018-12-13 13:25:11 +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
shangshujie
5de1b01d20
fix indention
2018-12-13 12:47:00 +08:00
zhang2014
6d0c4eaf89
ISSUES-838 add lz4、none、zstd codec
2018-12-13 12:10:34 +08:00
alexey-milovidov
9eca78e764
Merge pull request #3819 from yandex/fix-tehran-time
...
Fix daylight saving time conversion if it was at midnight and clock was adjusted backwards.
2018-12-13 00:06:50 +03: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
Emmanuel Donin de Rosière
7d7acb92da
Merge remote-tracking branch 'upstream/master'
2018-12-12 15:02:52 +01: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
alesapin
282b303a1c
Link libglibc-compatibility to dbms at last position ( #3816 )
...
* Link libglibc-compatibility to dbms at last position
* Don't replace getrandom if it doesn't exists in libc
2018-12-12 15:51:40 +03:00
Alexey Milovidov
626c085a06
Removed garbage #3653
2018-12-11 22:00:13 +03:00
shangshujie
5de9577ecd
add test function
2018-12-11 18:29:59 +08:00
shangshujie
ccdaf6a31b
add java string hash, hive string hash, for compatible with java world
2018-12-11 16:41:23 +08:00
Sergey V. Galtsev
f9869b7d7e
Fix default buffer_size for getUserName(). Use real sysconf(_SC_GETPW_R_SIZE_MAX) value.
2018-12-11 02:36:20 +03:00
Sergey V. Galtsev
c9b984285d
Fail on user mismatch under root only. Just warn under non root user.
2018-12-11 02:32:21 +03:00
Sergey V. Galtsev
30acd5000e
Fix bad merge.
2018-12-11 02:21:03 +03:00
Sergey V. Galtsev
df9833fd3f
Remove no longer used error code.
2018-12-11 02:18:16 +03:00
alexey-milovidov
7af621f6f7
Merge pull request #3728 from amosbird/join
...
Versatile StorageJoin
2018-12-10 23:16:53 +03:00
alexey-milovidov
3877aad6ef
Merge pull request #3773 from 4ertus2/joins
...
InDepthNodeVisitor for AST traversal
2018-12-10 22:44:22 +03:00
alexey-milovidov
fb15713979
Merge pull request #3794 from amosbird/aba
...
Guard `force_restore_data_flag_file` removal
2018-12-10 21:56:45 +03:00
alexey-milovidov
58c9746a91
Update loadMetadata.cpp
2018-12-10 21:56:37 +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
76167f382a
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-10 21:19:46 +03:00
Alexey Milovidov
22aa593d6b
Fixed global variable buffer read overflow [#CLICKHOUSE-4191]
2018-12-10 21:19:37 +03:00
alexey-milovidov
cea269883c
Merge pull request #3803 from yandex/low-cardinality-native-format-conversion-2
...
LowCardinality support for old clients, part 2
2018-12-10 21:03:43 +03:00
alexey-milovidov
3be02d5214
Merge pull request #3807 from amosbird/nitfix
...
Fix copy-paste error.
2018-12-10 20:52:08 +03:00
KochetovNicolai
635b16ac4b
Update MergeTreeDataPart.cpp
...
Skip size check for LowCardinality column file.
2018-12-10 20:47:18 +03:00
Sergey V. Galtsev
93df4306af
Fix style.
2018-12-10 20:42:33 +03:00
Amos Bird
197d73d5bc
Fix copy-paste error.
2018-12-11 01:31:10 +08:00
chertus
3dd36cee14
Merge branch 'master' into joins
2018-12-10 19:20:45 +03:00
alesapin
77c884b7ff
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-10 19:07:47 +03:00
alesapin
0612910277
Remove redundant container
2018-12-10 19:07:31 +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
alexey-milovidov
fdae3eefa3
Merge pull request #3805 from proller/fix4
...
clang-format of dbms/src/Dictionaries/*
2018-12-10 18:55:28 +03:00
proller
5e89894b98
Fix style
2018-12-10 18:50:58 +03:00
alexey-milovidov
ce2f3fca50
Merge pull request #3804 from yandex/missing-sql-compatibility-functions
...
Support SUBSTRING(expr FROM start FOR length)
2018-12-10 18:41:03 +03:00
proller
c9e98c8deb
clang-format of dbms/src/Dictionaries/*
2018-12-10 18:25:45 +03:00
chertus
9f9bf0cb1b
ArrayJoinedColumnsVisitor via InDepthNodeVisitor
2018-12-10 16:49:36 +03:00
chertus
49d80bf8f5
ExecuteScalarSubqueriesVisitor (move code from h to cpp)
2018-12-10 16:19:09 +03:00
chertus
9236e94e1b
ExecuteScalarSubqueriesVisitor via InDepthNodeVisitor
2018-12-10 16:02:45 +03:00
Ivan Blinkov
6a90abc543
Support SUBSTRING(expr FROM start FOR length)
2018-12-10 15:54:02 +03:00
Nikolai Kochetov
1a6127dce4
Remove LowCardinality from NativeBlockOutputStream types for old clients.
2018-12-10 15:09:37 +03:00
Nikolai Kochetov
723932930d
Added test with low cardinality join.
2018-12-10 14:21:29 +03:00
chertus
66d73025d7
fix RequiredSourceColumnsMatcher lambda
2018-12-10 13:55:27 +03:00
Emmanuel Donin de Rosière
a8c2e59cf6
Merge remote-tracking branch 'upstream/master'
2018-12-10 11:31:13 +01:00
Nikolai Kochetov
e4fd13f237
Remove LowCardinaity for joined keys.
2018-12-10 13:23:45 +03:00
Nikolai Kochetov
61cd6fe2d3
Remove LowCardinaity for joined keys.
2018-12-10 13:21:32 +03:00
Emmanuel Donin de Rosière
982cd749be
Better management of DateTime partitionning #3786
...
Adding min_time and max_date in system.parts table
2018-12-10 11:20:19 +01:00
alesapin
0466f6beaf
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-10 12:41:10 +03:00
alesapin
0901694b15
Update integration tests image
2018-12-10 12:40:57 +03:00
Sergey V. Galtsev
42de08f3b9
Move euid check back to Server.cpp.
...
Use getpwnam_r instead of getpwnam.
Fix style.
2018-12-10 01:15:59 +03:00
Sergey V. Galtsev
52d18ee7c6
Merge branch 'master' of https://github.com/yandex/clickhouse into match-process-euid-against-data-owner
2018-12-09 22:46:24 +03:00
Amos Bird
6bc30f225e
Guard force_restore_data_flag_file
removal
...
resemble `force_drop_table` file
2018-12-09 23:11:46 +08:00
chertus
0c49c19592
fix style
2018-12-08 01:02:33 +03:00
alexey-milovidov
0fdb3b9628
Merge branch 'master' into issue-3578
2018-12-07 23:53:34 +03:00
alexey-milovidov
0b4f0ca7d5
Merge pull request #3744 from yandex/low-cardinality-nullable-group-by
...
LowCardinality optimization for single nullable column.
2018-12-07 23:32:27 +03:00
alexey-milovidov
92ab759ef6
Update Aggregator.h
2018-12-07 23:31:59 +03:00
Alexey Milovidov
ab8ac40682
Fixed test (added normal case that was missed) [#CLICKHOUSE-2]
2018-12-07 23:13:44 +03:00
proller
799edcef78
CLICKHOUSE-4189 Fix segfault ( #3788 )
...
* CLICKHOUSE-4189 Fix segfault
* Update ExpressionActions.cpp
* Update ExpressionActions.cpp
2018-12-07 23:05:02 +03:00
KochetovNicolai
431cff1613
Update NativeBlockInputStream.cpp
...
Fix type for LowCardinality inserts.
2018-12-07 20:17:50 +03:00
chertus
2afe664d67
RequiredSourceColumnsVisitor via InDepthNodeVisitor
2018-12-07 19:28:20 +03:00
chertus
31c629bf55
GlobalSubqueriesMatcher via InDepthNodeVisitor
2018-12-07 18:36:54 +03:00
chertus
abffefc830
ExternalTablesVisitor via InDepthNodeVisitor
2018-12-07 18:14:50 +03:00
Sergey V. Galtsev
51b6dd67b0
Match the process' effective user id against the data owner at the server startup.
2018-12-07 17:56:59 +03:00
chertus
e26c3327cf
fix lost AST chenges in InDepthNodeVisitor
2018-12-07 17:24:47 +03:00
alesapin
21f8a86635
Merge branch 'chenxing-xc-master'
2018-12-07 17:13:11 +03:00
alesapin
dbefb66691
Add kill docker by Ctrl+C, abs path and improve readme
2018-12-07 17:08:25 +03:00
chertus
75af882cf3
fix AST debug print with underline symbol
2018-12-07 15:34:40 +03:00
alesapin
80b49e4c0a
Add integration test, put dependent libs to contrib, slightly refine
...
code.
2018-12-07 14:41:24 +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
4305509236
Update DistributedBlockOutputStream.cpp
2018-12-07 07:15:26 +03:00
alexey-milovidov
e7f4d5a12b
Update DistributedBlockOutputStream.cpp
2018-12-07 07:14:52 +03:00
alexey-milovidov
acb4feef26
Merge pull request #3760 from yandex/fix-database-ordinary-load-table-deadlock
...
Fix database ordinary load table deadlock
2018-12-07 07:13:58 +03:00
alexey-milovidov
c5e88307c4
Update DatabaseOrdinary.cpp
2018-12-07 07:11:11 +03:00
alexey-milovidov
58c9e98167
Update DatabaseOrdinary.cpp
2018-12-07 07:10:22 +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
16bb923df5
Merge pull request #3769 from yandex/low-cardinality-native-format-conversion
...
Support insertion into LowCardinality from old native clients.
2018-12-07 07:08:43 +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 Milovidov
f3c72daf50
Fixed name [#CLICKHOUSE-2]
2018-12-07 06:21:17 +03:00
alexey-milovidov
8ad92ad94f
Merge pull request #3774 from yandex/missing-sql-compatibility-functions
...
Some function name aliases and case insensitivity for SQL compatibility
2018-12-07 02:36:27 +03:00
chertus
6fad51d642
QueryAliasesMatcher via InDepthNodeVisitor (bottom to top) CLICKHOUSE-3996
2018-12-06 22:02:42 +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
d70533d538
AddDefaultDatabaseVisitor now supports IN and descends into all parts of SELECT query #3597
2018-12-06 21:54:59 +03:00
Alexey Zatelepin
4cc4027821
add default database to table identifiers in alter commands #3597
2018-12-06 21:54:52 +03:00
Alexey Zatelepin
8d2cf2dbd1
add failing test #3597
2018-12-06 21:54:33 +03:00
chertus
60dc8fcac2
fixes for review CLICKHOUSE-3578
2018-12-06 20:20:17 +03:00
chertus
ff8fb077a4
InDepthNodeVisitor: extract AST traverse from visitor logic CLICKHOUSE-3996
2018-12-06 18:29:55 +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
Nikolai Kochetov
2bb57ce472
Support insertion into LowCardinality from old native clients.
2018-12-06 17:08:42 +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
50314e3e91
Avoid repeating constants
2018-12-06 16:22:57 +03:00
alexey-milovidov
3f45fbbb33
Merge pull request #3763 from yandex/missing-sql-compatibility-functions
...
Add lcase/ucase functions + make lower/upper case-insensitive #3715
2018-12-06 03:44: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
Nikolai Kochetov
2fc0643bc9
Do not use table column aliases in prewhere alias action source columns
2018-12-05 19:36:26 +03:00
Ivan Lezhankin
57c5dbcd2b
Code clean-up
2018-12-05 18:48:06 +03:00
Ivan Lezhankin
887e1089f1
Merge branch 'master' into kanterov_skip_unused_shards
2018-12-05 18:17:04 +03:00
Alexey Milovidov
f66b15efb3
Removed useless file #3754
2018-12-05 17:59:48 +03:00
Alexey Zatelepin
c9b97ae86c
fix unexpected modification of original ORDER BY ast [#CLICKHOUSE-3859]
2018-12-05 17:02:34 +03:00
proller
61328a2c9b
ARM build fixes ( #3754 )
2018-12-05 16:41:29 +03:00
Nikolai Kochetov
b6d7871a54
Log exception if metadata was'n loaded.
2018-12-05 16:13:41 +03:00
Nikolai Kochetov
5149f35167
Log exception if metadata was'n loaded.
2018-12-05 16:07:03 +03:00
chertus
8500335ef5
cleanup unused code
2018-12-05 15:49:15 +03:00
Nikolai Kochetov
715d120ed9
Fix deadlock in DatabaseOrdinary in case of exception while loading tables.
2018-12-05 15:46:32 +03:00
chertus
1a7313eaa0
resolve class name conflict
2018-12-05 15:27:21 +03:00
chertus
3db00b7b98
Merge branch 'master' into issue-3578
2018-12-05 14:43:14 +03:00
Nikolai Kochetov
a451a9282b
Fix deadlock in DatabaseOrdinary in case of exception while loading tables.
2018-12-05 14:20:55 +03:00
chertus
dcb003bebf
fix for review: rename variable CLICKHOUSE-3578
2018-12-04 23:10:43 +03:00
chertus
a71d03737c
send defaults via serialized ColumnsDescription CLICKHOUSE-3578
2018-12-04 23:03:04 +03:00
alexey-milovidov
1d7948c7bf
Merge pull request #3749 from proller/fix14
...
Fix dmesg error netlink: '...': attribute type 1 has an invalid length.
2018-12-04 20:36:26 +03:00
alexey-milovidov
b6ea2d5396
Merge pull request #3751 from abyss7/issues/3583
...
Fix `RangeHashedDictionary` getter against `ColumnConst`
2018-12-04 20:28:39 +03:00
chertus
933c055104
CLICKHOUSE-3578 review proress
2018-12-04 17:09:47 +03:00
chenxing.xc
8256c19b29
address comments
2018-12-04 21:19:00 +08:00
Ivan Lezhankin
6089b26ef0
Fix |RangeHashedDictionary| getter against |ColumnConst|
2018-12-04 16:15:20 +03:00
proller
65e1e2af13
Fix dmesg error netlink: '...': attribute type 1 has an invalid length.
2018-12-04 15:18:37 +03:00
Nikolai Kochetov
2723b0efbf
Fix build.
2018-12-04 15:12:52 +03:00
Nikolai Kochetov
b87d81512f
Fix merging aggregate data for NULL key.
2018-12-04 13:31:15 +03:00
Nikolai Kochetov
730796dc38
Fix merging aggregate data for NULL key.
2018-12-04 13:29:27 +03:00
Nikolai Kochetov
de524a0158
Fix merging aggregate data for NULL key.
2018-12-04 13:27:44 +03:00
root
6da945b2a7
fix integration test_insert_into_distributed allow_experimental_low_cardinality_type
2018-12-04 15:11:39 +08:00
chenxing.xc
b4ee9cf17b
address comments
2018-12-04 11:48:38 +08:00
root
192092c2bd
fix test 00800_low_cardinality_distributed_insert.sql cluster
2018-12-04 11:21:42 +08:00
Nikolai Kochetov
98499b1140
LowCardinality optimization for single nullable column.
2018-12-03 21:00:20 +03:00
alesapin
170f90ffe7
Update README.md
2018-12-03 19:08:26 +03:00
root
02125f29c0
fix test_inserts_low_cardinality
2018-12-03 21:22:29 +08:00
root
8c9e9649fb
Add test and code comment.
2018-12-03 21:11:26 +08:00
Persiyanov Dmitriy Andreevich
4ec2a2792c
style guide
2018-12-03 14:28:22 +03:00
root
fb06c5ab6b
Merge remote-tracking branch 'master/master' into update_23
2018-12-03 19:20:35 +08:00
alesapin
03ce4c5bc5
Merge branch 'master' into master
2018-12-03 13:02:34 +03:00
alesapin
0090aaf8ee
Add missed header
2018-12-03 12:12:03 +03:00
zhang2014
994d1c0fe0
fix excessive copy
2018-12-03 13:26:27 +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
f6c264b70b
Every function in its own file, part 9 ( #3733 )
...
* Every function in its own file, part 9 [#CLICKHOUSE-2]
* Every function in its own file, part 9 [#CLICKHOUSE-2]
2018-12-03 06:17:06 +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
alexey-milovidov
af110b8202
Merge pull request #3693 from yandex/simplier_merge_read_logic
...
Simplify merge stream read logic
2018-12-02 20:59:43 +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
2930da2880
Every function in its own file, part 8 [#CLICKHOUSE-2]
2018-12-02 05:52:49 +03:00
Alexey Milovidov
70a1275d50
Every function in its own file, part 8 [#CLICKHOUSE-2]
2018-12-02 05:47:47 +03:00
Alexey Milovidov
dbbf148a98
Every function in its own file, part 8 [#CLICKHOUSE-2]
2018-12-02 04:57:01 +03:00
alexey-milovidov
01d39892f5
Merge pull request #3725 from vitlibar/CLICKHOUSE-4127-fix-assertion-in-debug-build
...
CLICKHOUSE-4127: Fix assertion in debug build.
2018-12-02 03:51:46 +03: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
zhang2014
4798ab1924
Use cluster connections pool in DirectoryMonitor
2018-12-02 01:45:29 +08:00
Vitaly Baranov
7c03b35bc4
CLICKHOUSE-4127: Fix assertion in debug build.
...
Do reading faster if the structure isn't altered.
2018-12-01 15:42:56 +03:00
Kirill Shvakov
566644b171
timeSlots: add optional parameter 'Size'
2018-12-01 10:01:20 +02:00
Alexey Milovidov
2cf627457a
Fixed error #3720
2018-12-01 05:38:54 +03: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
024a4ba73c
Fixed build after merge #3689
2018-12-01 02:52:20 +03:00
alexey-milovidov
bf7b68cf95
Merge pull request #3689 from abyss7/CLICKHOUSE-3936
...
CLICKHOUSE-3936
2018-12-01 01:50:04 +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
2a6b7b3d00
Merge pull request #3719 from yandex/fix-buffer-read-locking
...
Fix destination table locking for Buffer engine reads
2018-12-01 01:27:39 +03:00
Alexey Milovidov
be80b7b188
Added suggestion from Nikolay Kochetov #3720
2018-11-30 22:47:47 +03:00
Alexey Milovidov
ca1d38914a
Don't log to stderr within RE2 library [#CLICKHOUSE-2]
2018-11-30 22:37:31 +03:00
Persiyanov Dmitriy Andreevich
d982d39b1d
remove NameRoundToExp2 & co
2018-11-30 19:13:40 +03:00
Persiyanov Dmitriy Andreevich
be91c76dd2
Merge branch 'master' into feature/roundDown-function
2018-11-30 19:07:49 +03:00
Persiyanov Dmitriy Andreevich
4a48414a5c
working with numeric types
2018-11-30 18:57:06 +03:00
Alexey Milovidov
621e622f79
Added test [#CLICKHOUSE-4169]
2018-11-30 18:41:24 +03:00
Alexey Milovidov
35f6fb5ae6
Avoid memory over-allocation when large value of "max_query_size" is specified [#CLICKHOUSE-4169]
2018-11-30 18:36:41 +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
alexey-milovidov
cee0d48ce6
Merge pull request #3703 from dqminh/fix-empty-fixed-string
...
Fix buffer overflow for EmptyImpl with FixedString
2018-11-30 17:30:35 +03:00
proller
cd2af4b6d2
Update Contributors
2018-11-30 16:49:53 +03:00
Persiyanov Dmitriy Andreevich
5d3034c560
almost works w/ different types
2018-11-30 14:15:58 +03: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
proller
44ddd28e14
Auto version update to [18.14.17] [54409]
2018-11-29 19:17:29 +03:00
alesapin
51f73651dd
Inject columns after creating header
2018-11-29 18:16:08 +03:00
proller
1cc69100f1
Fix macos build
2018-11-29 17:37:56 +03:00
alesapin
fc379c1d5c
Inject column names before types
2018-11-29 15:03:58 +03:00
alesapin
b2fd3e804a
Add special logic for alter
2018-11-29 14:55:34 +03:00
alesapin
8f3b7e063f
Merge remote-tracking branch 'origin/master' into simplier_merge_read_logic
2018-11-29 12:20:22 +03:00
alesapin
e2e88324d0
Rename MergeTree streams for select
2018-11-29 12:19:42 +03:00
Nikolai Kochetov
f7f5ad3952
Fix build.
2018-11-29 11:23:27 +03:00
Nikolai Kochetov
95e4297601
Fix tests.
2018-11-29 11:19:14 +03:00
Nikolai Kochetov
a75430cbf7
Fix build.
2018-11-29 10:58:59 +03:00
alesapin
a0862efc17
Merge remote-tracking branch 'origin/master' into simplier_merge_read_logic
2018-11-29 10:58:45 +03:00
Persiyanov Dmitriy Andreevich
614af51fb7
test
2018-11-29 03:32:52 +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
proller
c5eb678187
PerformanceTest fix --secure ( #3690 )
...
* fix
* PerformanceTest fix --secure
* clean
2018-11-29 00:21:22 +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
Gleb Kanterov
75919bd91e
Update server/config.xml for tests
...
- add test_unavailable_shard cluster
2018-11-28 19:46:19 +01:00
Alexey Milovidov
b4d218a890
Fixed race condition, part 1 (ad-hoc) [#CLICKHOUSE-2]
2018-11-28 21:40:02 +03:00
Alexey Milovidov
97280bb361
Whitespace [#CLICKHOUSE-2]
2018-11-28 21:28:30 +03:00
alesapin
d4059ba507
Inject default column
2018-11-28 20:21:27 +03:00
Nikolai Kochetov
14ff6ae6d4
Added test.
2018-11-28 20:13:38 +03:00
Nikolai Kochetov
540a99c93a
Fix engine parsing in create query.
2018-11-28 19:52:46 +03:00
Alexey Milovidov
25c98efa6d
Added instruction [#CLICKHOUSE-2]
2018-11-28 19:51:43 +03:00
Alexey Milovidov
f615b062d8
Fixed build [#CLICKHOUSE-2]
2018-11-28 19:29:56 +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
Ivan
448846fc0d
Merge branch 'master' into CLICKHOUSE-3936
2018-11-28 18:59:57 +03:00
Ivan Lezhankin
8b5a05947c
Remove redundant information from RWLock.
...
And fix broken exception in some race conditions
2018-11-28 18:50:52 +03:00
Alexey Milovidov
42631ba857
Fixed bad code #3688
2018-11-28 18:31:09 +03:00
Alexey Milovidov
32baabd9b0
Fixed bad code #3688
2018-11-28 18:27:23 +03:00
Alexey Zatelepin
57f25e978a
update comments and docs [#CLICKHOUSE-3859]
2018-11-28 18:12:44 +03:00
alesapin
23aa6595cd
Missed file
2018-11-28 18:05:53 +03:00
alesapin
b7cdd8fe7f
Trying to simplify merge reading logic
2018-11-28 18:05:28 +03:00
Alexey Milovidov
8c1c024472
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-28 17:50:17 +03:00
Alexey Milovidov
4c527b84d2
Fixed build #3688
2018-11-28 17:50:02 +03:00
alexey-milovidov
6f007f45a1
Merge pull request #3673 from yandex/fix-insert-distributed-sync
...
Fix insert_distributed_sync
2018-11-28 17:48:06 +03:00
alexey-milovidov
a4fd7f4eb3
Update configReadClient.h
2018-11-28 17:45:58 +03:00
alexey-milovidov
a991781937
Update configReadClient.cpp
2018-11-28 17:45:01 +03:00
proller
eea1ca8920
Merge remote-tracking branch 'upstream/master' into fix4
2018-11-28 17:42:33 +03:00
proller
7e9d053d5d
Benchmark: use client config for ssl options
2018-11-28 17:41:51 +03:00
alexey-milovidov
b8cb6c8f5e
Merge pull request #3687 from yandex/date-type-and-number-comparsion
...
Date type and number comparsion
2018-11-28 17:34:46 +03:00
Alexey Milovidov
52fea90a86
Removed useless code [#CLICKHOUSE-2]
2018-11-28 17:33:40 +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 Milovidov
3c551b43b8
Updated comment [#CLICKHOUSE-2]
2018-11-28 16:40:24 +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
Alexey Zatelepin
9ae79c60e8
get rid of (ASTPtr *) in AlterCommands::apply [#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
proller
107cf2c9b2
Add secure option to clickhouse-benchmark and clickhouse-performance-test
2018-11-28 15:19:01 +03:00
Nikolai Kochetov
05ac77dbde
Added test with Date and numbers comparsion.
2018-11-28 15:10:01 +03:00
Alexey Zatelepin
ceea7bde2e
better names in ZooKeeperNodeCache [#CLICKHOUSE-3859]
2018-11-28 14:40:59 +03:00
proller
dd2371e071
CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory ( #3653 )
...
* Split ComplexKeyCacheDictionary to faster compile (part2)
* Dictionaries as lib WIP
* wip
* clean
* Fix build with old capnp
* fix
* wip
* fixes
* fix
* clean
* clean
* clean
* wip
* wip
* wip
* flat
* wip
* cache
* clean
* wip
* faster
* fix style
* fixes
* clean
* clean
* Split CacheDictionary.cpp for faster compile
* fix
* fix
* Less memory usage while compiling
* missing file
* format
* Update registerDictionaries.h
* clean
2018-11-28 14:37:12 +03:00
Nikolai Kochetov
6bd61d17c9
Disable Date and numeric types comparsion.
2018-11-28 14:11:10 +03:00
Alexey Milovidov
0dfa73221c
Removed temporary compatibility fix for Yandex.Metrika. [#CLICKHOUSE-2]
2018-11-28 13:37:08 +03:00
root
6f699e9f94
b
2018-11-28 14:22:21 +08:00
root
5a120db014
Compatible with LowCardinality type data write
2018-11-28 14:19:45 +08:00
root
94164ef250
Compatible with LowCardinality type data write
2018-11-28 12:51:04 +08:00
root
c19199e23e
Merge remote-tracking branch 'master/master'
2018-11-28 12:46:25 +08: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
cdb272848c
Fixed typo in comment [#CLICKHOUSE-2]
2018-11-27 21:44:19 +03:00
Alexey Milovidov
b1bc7481d9
Whitespace #3603
2018-11-27 21:43:55 +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
Nikolai Kochetov
65e5494326
Fixed size for LowCardinality dictionary permutation.
2018-11-27 21:08:54 +03:00
alexey-milovidov
b77043c462
Merge pull request #3680 from yandex/background-processing-pool-fix-race-condition
...
Fixed race condition in BackgroundProcessingPool
2018-11-27 20:41:07 +03:00
Alexey Zatelepin
e085bc9816
adapt code of #3609 [#CLICKHOUSE-3859]
2018-11-27 20:07:10 +03:00
Ivan Lezhankin
470f96ce19
Minor refactoring
2018-11-27 19:45:45 +03:00
proller
f1791e94e2
Do not write preprocessed configs to /etc/ ( #2443 )
2018-11-27 19:11:46 +03:00
proller
1ea31e0491
Fix icu link #3631 ( #3671 )
2018-11-27 18:34:21 +03:00
Alexey Milovidov
dba43be6c8
Fixed race condition in BackgroundProcessingPool [#CLICKHOUSE-2]
2018-11-27 17:59:10 +03:00
Alexey Zatelepin
499ad5eb62
fix test (MATERIALIZED columns in both Distributed and local tables don't work) [#CLICKHOUSE-4161]
2018-11-27 15:42:11 +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
2115c31dda
Fixed wrong exception message [#CLICKHOUSE-2]
2018-11-26 20:11:04 +03:00
alexey-milovidov
7e9e5c383a
Merge pull request #3670 from abyss7/CLICKHOUSE-3766
...
Rename method partition() → alterPartition()
2018-11-26 20:09:37 +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
alexey-milovidov
e00ce0bb57
Every function in its own file, part 7 ( #3666 )
...
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Fixed build #3666
2018-11-26 19:20:40 +03:00
alesapin
6c0d9f6ea0
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-26 18:18:58 +03:00
alesapin
5a6f9a5ff9
Replace function mysql with function file
2018-11-26 18:18:45 +03:00
Alexey Zatelepin
f38a320909
fix insert batching test (the INSERT queries are rewritten differently now) [#CLICKHOUSE-4161]
2018-11-26 17:57:33 +03:00
Alexey Zatelepin
f09cb566b1
add tests [#CLICKHOUSE-4161]
2018-11-26 17:57:33 +03:00
Alexey Zatelepin
01501fa8db
correct column list for rewritten INSERT query into Distributed [#CLICKHOUSE-4161]
2018-11-26 17:57:25 +03:00
Ivan Lezhankin
73aa7f2027
Rename method partition() → alterPartition()
...
Also fix build with internal shared libraries.
2018-11-26 17:43:40 +03:00
Alexey Milovidov
e793a27cc3
Restored old test util #3665
2018-11-26 16:57:54 +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
alesapin
565100c716
Add option to disable host net
2018-11-26 13:23:03 +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
c77930fe30
Whitespaces [#CLICKHOUSE-2]
2018-11-26 03:56:50 +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
5b1eaba276
Every function in its own file, part 6 ( #3661 )
...
* Every function in its own file, part 6 [#CLICKHOUSE-2]
* Every function in its own file, part 6 [#CLICKHOUSE-2]
* Every function in its own file, part 6 [#CLICKHOUSE-2]
2018-11-26 02:24:26 +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
chenxing.xc
ff6e849c0f
address review comments |
2018-11-25 12:22:01 +08:00
Alexey Milovidov
68e0a687c8
Removed unused method [#CLICKHOUSE-2]
2018-11-25 04:24:03 +03:00
Alexey Milovidov
eac2d032bb
Better performance test [#CLICKHOUSE-2]
2018-11-25 04:16:48 +03:00
Alexey Milovidov
5a045ff11c
Fixed error in URL functions [#CLICKHOUSE-2]
2018-11-25 03:31:24 +03:00
Alexey Milovidov
b53c1ea913
Removed useless include [#CLICKHOUSE-2]
2018-11-25 03:16:14 +03:00
Alexey Milovidov
af9ad0f8ae
Fixed bad code [#CLICKHOUSE-2]
2018-11-25 03:15:43 +03:00
Alexey Milovidov
141e9799e4
Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2]
2018-11-25 03:08:50 +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
7d6fffff48
More style checks [#CLICKHOUSE-3]
2018-11-24 04:48:06 +03:00
Alexey Milovidov
e82241553a
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-24 04:20:37 +03:00
Alexey Milovidov
bbed8a8ca8
Fixed bad code [#CLICKHOUSE-3]
2018-11-24 04:20:27 +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
proller
ad6ae4fdbe
Fix build on mac (caused by #3631 ) ( #3654 )
...
* Fix build on mac (caused by #3631 )
* fix
2018-11-24 04:15:00 +03:00
Alexey Milovidov
cc06488ddc
Whitespace #2601
2018-11-24 03:10:51 +03:00
Alexey Milovidov
1e449b2e16
Added another compatibility alias #3638
2018-11-24 02:14:18 +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
6e2a6d9894
Added performance test #3350
2018-11-24 00:04:14 +03:00
alexey-milovidov
507990d5f2
Merge branch 'master' into master
2018-11-23 23:41:38 +03:00
Alexey Milovidov
910d57c1b5
Better test #3406
2018-11-23 22:52:24 +03:00
Alexey Milovidov
af6f91e762
Added comment #3350
2018-11-23 22:47:15 +03:00
Alexey Milovidov
62e30de715
Whitespaces #3350
2018-11-23 21:54:23 +03:00
Alexey Milovidov
dbbacf4f87
Added more style checks [#CLICKHOUSE-3]
2018-11-23 21:52:00 +03:00
alexey-milovidov
af013285e9
Merge branch 'master' into base64_functions
2018-11-23 21:33:56 +03:00
Alexey Milovidov
2bd5e2b1eb
https://stackoverflow.com/questions/44067609/getting-error-importmismatcherror-while-running-py-test
2018-11-23 20:56:50 +03:00
alexey-milovidov
221388c01d
Merge pull request #3650 from yandex/script_for_integration_tests_in_docker
...
Add script and image for running integration tests in docker
2018-11-23 20:40:06 +03:00
Nikolai Kochetov
ced3937e87
Added test.
2018-11-23 20:00:45 +03:00
Nikolai Kochetov
560e0a04d0
Fix functions with low cardinality argumant and array result.
2018-11-23 19:09:07 +03:00
Nikolai Kochetov
de16f36256
Fix functions with low cardinality argumant and array result.
2018-11-23 18:59:45 +03:00
Alexey Milovidov
15ad4b9b1b
Whitespaces [#CLICKHOUSE-2]
2018-11-23 18:56:20 +03:00
alesapin
3cfe5283e3
Fix readme and add net=host
2018-11-23 18:51:36 +03:00
alesapin
fc7007b78e
Add script and image for running integration tests in docker
2018-11-23 18:10:07 +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
0822f500f8
Merge pull request #3642 from yandex/odbc_bridge_die_with_server
...
ODBC bridge die with server
2018-11-23 16:44:53 +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
Nikolai Kochetov
449ab47350
Disable low cardinality default implementation for emptyArrayToSingle function.
2018-11-23 16:29:14 +03:00
Nikolai Kochetov
f3aa1292a9
Remove null map cache from ColumnUnique.
2018-11-23 14:55:06 +03:00
Nikolai Kochetov
d64fe4204a
Remove null map cache from ColumnUnique.
2018-11-23 13:47:01 +03:00
Nikolai Kochetov
e74b1edb35
Remove null map cache from ColumnUnique.
2018-11-23 13:18:50 +03:00
alesapin
7f40494330
Enable keep alive only with patched poco
2018-11-23 12:24:59 +03:00
Nikolai Kochetov
ce2d69745d
Merge branch 'fix-low-cardinality-distributed-group-by' of github.com:yandex/ClickHouse into fix-low-cardinality-distributed-group-by
2018-11-23 11:13:25 +03:00
Nikolai Kochetov
7fea1397d6
Remove null map cache from ColumnUnique.
2018-11-23 11:11:54 +03:00
alesapin
d31d30c8e1
Fix comments, naming, log about kill inability and better test
2018-11-23 11:08:35 +03:00
小路
8d7e327c16
Merge pull request #4 from nicelulu/update_22
...
Update 22
2018-11-23 15:38:40 +08:00
root
0ed4cdc24e
Add test
2018-11-23 15:33:19 +08:00
root
e53984216a
better
2018-11-23 15:25:59 +08:00
root
ad90d8fadb
better
2018-11-23 15:19:19 +08:00
root
2ccbdad9c8
better
2018-11-23 14:53:29 +08:00
root
f18e278e57
Add test
2018-11-23 14:23:06 +08:00
root
35419cb6c1
Add test
2018-11-23 14:14:07 +08:00
alexey-milovidov
3729c4e532
Update ReadBufferFromHDFS.h
2018-11-23 03:20:33 +03:00
Alexey Milovidov
2a225174d4
Added performance test #3406
2018-11-23 02:45:16 +03:00
alexey-milovidov
1002ed7487
Merge branch 'master' into 3958/many_templates
2018-11-23 01:48:42 +03:00
alexey-milovidov
429d65e4f7
Update StorageReplicatedMergeTree.h
2018-11-23 01:08:00 +03:00
alexey-milovidov
6d7aa73e44
Update StorageReplicatedMergeTree.cpp
2018-11-23 01:07:35 +03:00
alexey-milovidov
9580a87409
Update StorageReplicatedMergeTree.cpp
2018-11-23 01:06:02 +03:00
alexey-milovidov
6f1846f1cc
Update StorageReplicatedMergeTree.cpp
2018-11-23 01:05:36 +03:00
alexey-milovidov
65e6d447b8
Update StorageReplicatedMergeTree.cpp
2018-11-23 01:04:25 +03:00
alexey-milovidov
4cfb51b14e
Update StorageReplicatedMergeTree.cpp
2018-11-23 01:03:51 +03:00
Alexey Milovidov
c0e97a97cd
Resolved inconsistencies in documentation #3539
2018-11-23 01:00:03 +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
alexey-milovidov
733ab51089
Merge pull request #3643 from yandex/fix-parallel-inputs-processor-deadlock
...
Fix deadlock in ParallelInputsProcessor in case thread creation fails.
2018-11-23 00:30:01 +03:00
Alexey Milovidov
64c6951b1a
More correct documentation #3644
2018-11-23 00:28:38 +03:00
Alexey Milovidov
d3bb69be74
More correct documentation + miscellaneous name change #3644
2018-11-23 00:27:52 +03:00
alexey-milovidov
49d2d8a1b8
Merge pull request #3644 from proller/fix4
...
Add VERSION_INT (ClickHouse version in integer format like 18014009) …
2018-11-23 00:22:19 +03:00
alexey-milovidov
2c2d75cceb
Don't allow exceptions without code ( #3645 )
...
* Don't allow exceptions without code #3633
* Don't allow exceptions without code #3633
2018-11-23 00:19:58 +03:00
alexey-milovidov
b680029030
Update ColumnsDescription.cpp
2018-11-22 22:36:56 +03:00
proller
f410c93fb1
Add VERSION_INT (ClickHouse version in integer format like 18014009) to system.metrics and system.build_options
2018-11-22 21:24:38 +03:00
Alexey Milovidov
2afabbe05c
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-22 21:13:29 +03:00
Alexey Milovidov
a5d1fc0ca7
Removed unused constructor #3633
2018-11-22 21:09:17 +03:00
Alexey Zatelepin
8b25084637
fix deadlock in ParallelInputsProcessor in case thread creation fails [#CLICKHOUSE-4155]
2018-11-22 20:29:49 +03:00
alesapin
2b2195d4de
Fix stupid if
2018-11-22 19:01:17 +03:00
alesapin
1e879850bb
Kill odbc-bridge with clickhouse-server
2018-11-22 18:59:00 +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
Nikolai Kochetov
4721b16b51
Fix array mapped functions with low cardinality lambda argument.
2018-11-22 18:52:53 +03:00
alexey-milovidov
53904efc6f
Merge pull request #3639 from s-mx/patch-2
...
add DROP TABLE IF EXISTS in test
2018-11-22 18:29:10 +03:00
KochetovNicolai
b8882ddd90
Update config.xml
...
Fix cluster ports in config.xml
2018-11-22 18:09:55 +03:00
Alexey Milovidov
7b919c9b2b
Removed unused constructor #3633
2018-11-22 18:09:19 +03:00
Alexey Milovidov
093557dbde
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-22 18:08:28 +03:00
Alexey Milovidov
e53eb702a1
Usability of client error message when it cannot load data for suggestions [#CLICKHOUSE-2]
2018-11-22 18:07:32 +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
41951a926e
Fix test cluster config.
2018-11-22 12:18:13 +03:00
Alexey Milovidov
ab5d76fc42
Fixed error introduced in #3553 and prevent it happening
2018-11-21 23:56:37 +03:00
Alexey Milovidov
6f48ebbb06
Better exception message in case of "unknown identifier" [#CLICKHOUSE-4142]
2018-11-21 23:35:55 +03:00
proller
1d40c2c871
Better link and deps ( #3631 )
...
* try fix 1
* Better deps
* fix
* fix
* fix
* Update CMakeLists.txt
* Update CMakeLists.txt
* fix
* fix
* fix
* disable old
* Update find_odbc.cmake
2018-11-21 22:20:27 +03:00
Nikolai Kochetov
eac03c1c83
Added test. #3615
2018-11-21 21:59:58 +03:00
Nikolai Kochetov
4d96e88058
Fix distributed group by LowCardinality(Nullable). #3615
2018-11-21 21:59:33 +03:00
小路
0bf4aa46db
Merge branch 'master' into click_update
2018-11-21 22:40:05 +08:00
Persiyanov Dmitriy Andreevich
b3e694e3eb
ugly version
2018-11-21 13:10:22 +03:00
alesapin
ff5629263b
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-21 12:06:40 +03:00
alesapin
7d20d499a1
Switch integration tests to 18.10
2018-11-21 12:05:13 +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
be409f29b6
Update clickhouse-test
2018-11-21 07:16:47 +03:00
alexey-milovidov
0bc9776e2a
Update Cluster.cpp
2018-11-21 07:06:40 +03:00
alexey-milovidov
af8db3e9ec
Update Cluster.h
2018-11-21 07:04:53 +03:00
alexey-milovidov
96fdc2a390
Update Cluster.h
2018-11-21 07:04:24 +03:00
alexey-milovidov
5ee36769db
Update Cluster.cpp
2018-11-21 07:04:05 +03:00
alexey-milovidov
5cf9beabe3
Update StorageDistributed.cpp
2018-11-21 07:02:56 +03:00
alexey-milovidov
866917ad32
Update Cluster.cpp
2018-11-21 07:02:19 +03:00
chenxing.xc
86f1a18185
withdraw INSERT INFILE feature
2018-11-21 11:59:24 +08:00
alexey-milovidov
f67e54dbf3
Merge pull request #3594 from yandex/CLICKHOUSE-4112
...
Add http connection pool between replicas
2018-11-21 06:57:22 +03:00
alexey-milovidov
235dc66881
Merge pull request #3564 from amosbird/master
...
Implement dictGet[OrDefault]
2018-11-21 06:48:10 +03:00
alexey-milovidov
0d627c7230
Update FunctionsExternalDictionaries.h
2018-11-21 06:48:01 +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
7febe64c82
Failproof #3589
2018-11-21 06:19:29 +03:00
Alexey Milovidov
7e6d9ed82b
Correct calculation of avg_value_size_hint #3589
2018-11-21 06:18:42 +03:00
Alexey Milovidov
31561ef25a
Fixed error; added test #3589
2018-11-21 06:09:56 +03:00
Alexey Milovidov
2cef50669a
Better error message #3589
2018-11-21 05:40:23 +03:00
alexey-milovidov
2e15e52b74
Merge pull request #3628 from yandex/first-significant-subdomain-performance
...
Attempt to fight back performance of firstSignificantSubdomain function
2018-11-21 05:39:56 +03:00
Alexey Milovidov
843fc0097b
Addition to prev. revision #3601
2018-11-21 04:00:50 +03:00
Alexey Milovidov
7a6fd980fe
Added performance test #3601
2018-11-21 03:59:17 +03:00
Alexey Milovidov
2662594865
Attempt to fight back performance of firstSignificantSubdomain function #3601
2018-11-21 03:46:06 +03:00
Alexey Milovidov
c09a93e78b
Added a test #3601
2018-11-21 03:22:23 +03:00
alexey-milovidov
8590348dc6
Merge pull request #3601 from hatarist/patch-1
...
Update firstSignificantSubdomain function
2018-11-21 03:00:59 +03:00
alexey-milovidov
87e5d40858
Merge pull request #3626 from yandex/types-clarification
...
More clean NearestFieldType.
2018-11-21 02:55:46 +03:00
Alexey Milovidov
78e72a1962
Little better #3624
2018-11-20 23:09:20 +03:00
alexey-milovidov
3d7c78c3f6
Merge pull request #3619 from amosbird/nit
...
Remove redundant query context attachment
2018-11-20 22:37:40 +03:00
alexey-milovidov
a41485f69d
Merge pull request #3624 from yandex/types-clarification
...
Fixed code that was not quite correct
2018-11-20 22:37:10 +03:00
alexey-milovidov
596e136b73
Update InterpreterInsertQuery.cpp
2018-11-20 21:36:13 +03:00
alexey-milovidov
8ff62c9da6
Update InterpreterInsertQuery.cpp
2018-11-20 21:31:39 +03:00
alexey-milovidov
7a98d55415
Update ReadBufferFromHDFS.h
2018-11-20 21:31:21 +03:00
alexey-milovidov
5e0b679f04
Merge pull request #3620 from proller/fix13
...
Fix build with old capnp
2018-11-20 21:19:40 +03:00
alexey-milovidov
98ed411da3
Update Field.h
2018-11-20 20:37:50 +03:00
Alexey Milovidov
38d2e9efa2
Fixed code that was not quite correct
2018-11-20 20:36:21 +03:00
alesapin
57ea89c5f3
Merge branch 'master' into CLICKHOUSE-4112
2018-11-20 20:23:08 +03:00
alesapin
f08e090bda
Better uri scheme check and fix in poco submodule
2018-11-20 20:21:32 +03:00
Ivan Lezhankin
1e070a7c51
Move FREEZE_ALL command source code inside |PartitionCommand|
2018-11-20 20:13:59 +03:00
Marek Vavruša
8fad726d95
Added null guards for all CurrentThread::attachToIfDetached()
...
refs #3622
2018-11-20 09:10:34 -08:00
proller
2deb523265
Fix build with old capnp
2018-11-20 18:10:28 +03:00
Ivan Lezhankin
74fe350451
Refactor partition commands handling into separate interface method.
2018-11-20 17:59:34 +03:00
Amos Bird
ab8821255c
Remove redundant query context attachment
2018-11-20 22:21:48 +08:00
alesapin
00f1329c59
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-20 17:04:07 +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
alesapin
01e2137364
CLICKHOUSE-4112: Add keepalive for http connections
2018-11-20 16:15:44 +03:00
Sabyanin Maxim
7d175e4666
Merge branch 'CLICKHOUSE-4090' of github.com:s-mx/ClickHouse into CLICKHOUSE-4090
2018-11-20 15:22:54 +03:00
Sabyanin Maxim
e3fc18fcb8
add getters of expressions names in StorageReplicatedMergeTree
2018-11-20 15:19:12 +03:00
chenxing.xc
939368cf08
Merge remote-tracking branch 'hdfs/master'
2018-11-20 19:28:40 +08:00
root
3df876d541
better
2018-11-20 19:02:45 +08:00
root
e7e94826a7
Merge branch 'update_22' of https://github.com/nicelulu/ClickHouse into update_22
2018-11-20 18:59:19 +08:00
root
811c7e9aef
better
2018-11-20 18:55:40 +08:00
root
f69524cf49
better
2018-11-20 18:50:42 +08:00
小路
74579138b8
Merge branch 'click_update' into update_22
2018-11-20 16:51:55 +08:00
root
cc7ec374d5
better
2018-11-20 16:10:33 +08: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
alexey-milovidov
de5d4b6256
Update AggregateFunctionQuantile.h
2018-11-19 21:25:57 +03:00
Sabyanin Maxim
4ac727e7ad
fix style
2018-11-19 20:21:34 +03:00
alexey-milovidov
72fb78a0f8
Update StorageBuffer.cpp
2018-11-19 18:20:34 +03:00
alexey-milovidov
9a3701cc50
Update StorageBuffer.cpp
2018-11-19 18:20:05 +03:00
alexey-milovidov
33eb64269f
Update StorageBuffer.cpp
2018-11-19 18:14:44 +03:00
Alexey Milovidov
c843bc1d58
utils/check-style/check-style -n
2018-11-19 18:09:19 +03:00
alexey-milovidov
5a40a67500
Update StorageSystemColumns.cpp
2018-11-19 18:07:43 +03:00
alexey-milovidov
6ad4519c81
Update IStorage.h
2018-11-19 18:05:48 +03:00
Sabyanin Maxim
08fc057a15
make is_in_primary_key and etcetera work. add test.
2018-11-19 17:31:16 +03:00
Ivan Lezhankin
b63f0a5a9f
Minor refactoring
2018-11-19 17:25:42 +03:00
Alexey Milovidov
2f3b4ba851
Better exception message [#CLICKHOUSE-4143]
2018-11-19 15:31:26 +03:00
chenxing.xc
76843c2dc0
hdfs read support
2018-11-19 16:17:09 +08:00
Vitaly Baranov
a029034d8c
CLICKHOUSE-4127: Fix ALTER of destination table for the BUFFER engine.
2018-11-19 09:14:36 +03:00
alexey-milovidov
e7fb653d0c
Update HTTPCommon.cpp
2018-11-19 01:20:36 +03:00
alexey-milovidov
f35d300d33
Update HTTPCommon.cpp
2018-11-19 01:15:42 +03:00
alexey-milovidov
786bf36aee
Update DDLWorker.cpp
2018-11-19 01:04:11 +03:00
Igor Hatarist
faa4cac4da
Update firstSignificantSubdomain function
...
Added gov, mil, edu 2nd level domains
2018-11-18 06:37:43 +03:00
proller
ddf231e57f
BI-154 Fix isLocal detection
2018-11-17 21:52:47 +03:00
nicelulu
f96111b423
Fixed the way to get username and password.
2018-11-17 22:03:32 +08:00
chertus
b4b58b292f
remove hack for StorageDistributed & insert_sample_with_metadata
2018-11-16 22:19:47 +03:00
alesapin
2a4a8d180b
Try to change stupid naming
2018-11-16 16:33:43 +03:00
alesapin
0266f058c9
Merge branch 'master' into CLICKHOUSE-4112
2018-11-16 16:21:27 +03:00
alesapin
d4ce674b93
Add http connection pool between replicas
2018-11-16 16:15:17 +03:00
proller
160ffb2283
Build fixes (clang 7.0.0+) ( #3582 )
2018-11-16 15:22:51 +03:00
Sabyanin Maxim
49dc9939d4
fix serializing of ColumnsDescription
2018-11-16 15:01:52 +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
chertus
811b824b01
AddingDefaultsBlockInputStream fixed types optimisation
2018-11-15 23:26:51 +03:00
Alexey Zatelepin
ffb54509db
add tests [#CLICKHOUSE-3859]
2018-11-15 22:34:50 +03:00
chertus
c642e16ee1
clearer evaluateMissingDefaults [CLICKHOUSE-3578]
2018-11-15 19:57:20 +03:00
chertus
13646eb4c4
move BlockMissingValues from Block to IBlockInputStream::getMissingValues()
2018-11-15 18:57:20 +03:00
zhang2014
c23447ba3a
ISSUES-1777 qualified subqueries when optimize predicate
2018-11-15 23:23:44 +08:00
chertus
65d34ca231
do not override current_database in context [CLICKHOUSE-3578]
2018-11-15 18:03:13 +03:00
Amos Bird
eec50adbeb
Implement dictGet[OrDefault]
2018-11-15 21:48:00 +08:00
Sabyanin Maxim
d9e6789f78
make MergeTree work with comments
2018-11-15 16:12:27 +03:00
chertus
5c67e02205
fix build
2018-11-15 13:39:13 +03:00
chertus
8284de8268
fix build
2018-11-15 13:32:20 +03:00
chertus
0e1044b165
Merge branch 'master' into issue-3578
2018-11-15 13:28:53 +03:00
Amos Bird
9021bfb2f1
Fix variant assignments
2018-11-15 17:29:53 +08:00
Sabyanin Maxim
035049d1a8
make modify column comment work
2018-11-15 01:46:39 +03:00
chertus
ebf3d60186
column defaults without CapNProto [CLICKHOUSE-3578]
2018-11-14 21:20:16 +03:00
Alexey Zatelepin
b071547b2d
add checks for ALTER MODIFY ORDER BY [#CLICKHOUSE-3859]
2018-11-14 20:12:32 +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
Alexandr Krasheninnikov
050abdf2b6
Auto detect of codec
2018-11-14 12:07:20 +03:00
Alexey Milovidov
e3b0cecdec
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-14 04:59:40 +03:00
Alexey Milovidov
2daab83a23
Fixed bad and wrong code #3553
2018-11-14 04:59:32 +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
Alexey Milovidov
1aa89ed63a
Fixed code after review #3553
2018-11-14 04:20:46 +03:00
proller
37a9af5a68
CLICKHOUSE-4109 mlock clickhouse ( #3553 )
...
* CLICKHOUSE-4109 mlock clickhouse
* wip
* Fix
* wip
* fix
* fix
* better place
* wip
* clean
* tidy
* fix
2018-11-14 04:11:13 +03:00
Alexey Milovidov
d3349ebde8
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-14 04:04:29 +03:00
Alexey Milovidov
d1b86225ef
Fixed bad code #3565
2018-11-14 04:04:09 +03:00
alexey-milovidov
2f16ec5c79
Merge pull request #3568 from yandex/fix-low-cardinality-nullable-perf
...
Fix perf in IColumnUnique::size func.
2018-11-14 03:27:05 +03:00
Alexey Milovidov
ead153e9e4
Better code #3565
2018-11-13 22:48:47 +03:00
Alexey Milovidov
69e57187d2
Fixed error; removed unique_ptr #3565
2018-11-13 22:43:17 +03:00
Sabyanin Maxim
3e4c981db2
small changes
2018-11-13 22:17:40 +03:00
Alexey Milovidov
7eb9fdef97
Removed Analyzers [#CLICKHOUSE-2]
2018-11-13 21:55:00 +03:00
Alexey Milovidov
5441b6c3d2
Whitespace [#CLICKHOUSE-3]
2018-11-13 21:54:38 +03:00
Alexey Milovidov
4b0645cb25
Fixed error in #3565
2018-11-13 21:41:07 +03:00
Alexey Milovidov
c997f0b56a
Added a test for ATTACHing parts before ALTER (just in case) [#CLICKHOUSE-3]
2018-11-13 20:18:38 +03:00
chertus
9d3325f56e
one more fix for bad merge of branches
2018-11-13 16:36:53 +03:00
Alexey Zatelepin
29b34365e6
Merge branch 'master' into alter-order-by
...
Conflicts:
dbms/src/Interpreters/ExpressionAnalyzer.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp
2018-11-13 16:27:19 +03:00
Alexey Zatelepin
2cc0aae82c
rearrange AST members in MergeTreeData [#CLICKHOUSE-3859]
2018-11-13 16:15:17 +03:00
Alexey Zatelepin
7167bfd7b3
fix prewhere with FINAL for VersionedCollapsingMergeTree [#CLICKHOUSE-3859]
2018-11-13 16:15:12 +03:00
Alexey Zatelepin
8b85822192
store original key ASTs, and not extracted ASTExpressionLists [#CLICKHOUSE-3859]
2018-11-13 16:14:44 +03:00
Alexey Zatelepin
31a6a6b4fd
calculate ReplicatedMergeTreeTableMetadata diff [#CLICKHOUSE-3859]
2018-11-13 16:13:55 +03:00
Alexey Zatelepin
74c48ed226
apply metadata changes on startup [#CLICKHOUSE-3859]
2018-11-13 16:13:50 +03:00
Alexey Zatelepin
96d7eee785
fix use-after-free in ZooKeeperNodeCache [#CLICKHOUSE-3859]
2018-11-13 16:13:46 +03:00
Alexey Zatelepin
106800b857
apply changes in ReplicatedMergeTreeAlterThread [#CLICKHOUSE-3859]
2018-11-13 16:13:40 +03:00
Alexey Zatelepin
4036ec83af
write metadata znode in StorageReplicatedMergeTree::alter() [#CLICKHOUSE-3859]
2018-11-13 16:13:34 +03:00
Alexey Zatelepin
ce1ead5b88
allow arbitrary callbacks in ZooKeeperNodeChange [#CLICKHOUSE-3859]
2018-11-13 16:13:29 +03:00
Alexey Zatelepin
a0a9aad777
Stat data in ZooKeeperNodeCache [#CLICKHOUSE-3859]
2018-11-13 16:13:23 +03:00
Alexey Zatelepin
0c0c4fd28d
add sorting_and_primary_keys_independent [#CLICKHOUSE-3859]
2018-11-13 16:13:19 +03:00
Alexey Zatelepin
07a22100cb
ALTER ORDER BY for ordinary MergeTree [#CLICKHOUSE-3859]
2018-11-13 16:13:14 +03:00
Alexey Zatelepin
02337242b5
ALTER MODIFY ORDER BY syntax [#CLICKHOUSE-3859]
2018-11-13 16:13:10 +03:00
Alexey Zatelepin
c4bf38ef07
comments [#CLICKHOUSE-3859]
2018-11-13 16:13:06 +03:00
Alexey Zatelepin
f4c26e78d2
renames [#CLICKHOUSE-3859]
2018-11-13 16:13:01 +03:00
Alexey Zatelepin
0fa86162d9
separate sorting key and primary key, allow setting primary key separately [#CLICKHOUSE-3859]
2018-11-13 16:12:55 +03:00
Alexey Zatelepin
9a92c0a55c
sort key is distinct from primary key [#CLICKHOUSE-3859]
2018-11-13 16:12:49 +03:00
Alexey Zatelepin
580146eedb
add primary key syntax [#CLICKHOUSE-3859]
2018-11-13 16:12:14 +03:00
Sabyanin Maxim
6296f58186
fix typo
2018-11-13 15:22:32 +03:00
Sabyanin Maxim
befaea63d2
add is_mutable method to AlterCommand. change comment column test
2018-11-13 15:08:07 +03:00
chertus
9aae1d0d8f
fix branches merge mistake
2018-11-12 21:34:43 +03:00
Nikolai Kochetov
986d490435
Comments.
2018-11-12 21:33:39 +03:00
Nikolai Kochetov
b1886e1272
Added test. #2465
2018-11-12 21:28:38 +03:00
Nikolai Kochetov
97d9ce5193
Fix WITH with single alias. #2465
2018-11-12 21:28:32 +03:00
chertus
c1518da50f
fix build with CAPNP
2018-11-12 20:29:02 +03:00
Sabyanin Maxim
b869cfed9a
fixed couple of mistakes.
2018-11-12 18:45:35 +03:00
Alexey Milovidov
03c35f2aa4
Remove Analyzers because it was failed refactoring attempt [#CLICKHOUSE-2]
2018-11-12 18:40:33 +03:00
chertus
af4cceb877
make branch up to date
2018-11-12 18:25:21 +03:00
chertus
9966f975a3
Merge branch 'master' into issue-3578
2018-11-12 17:58:00 +03:00
chertus
2fe3cdb3f5
restore lost commits [CLICKHOUSE-3578]
2018-11-12 17:52:30 +03:00
Ivan Lezhankin
4eb0f33ec2
Add some locks on freeze and support |freezeAll()| for replicated merge-tree.
2018-11-12 15:26:15 +03:00
Ivan Lezhankin
71545ec226
Sort output of partition query-test - for stable reference.
2018-11-12 15:26:15 +03:00
Ivan Lezhankin
baf9566413
Fix style
2018-11-12 15:26:15 +03:00
Ivan Lezhankin
5d3da110a8
Refactor |freezePartition()| and |freezeAll()|
2018-11-12 15:26:15 +03:00
abyss7
0cdb808ded
Fix comments
2018-11-12 15:26:15 +03:00
Ivan Lezhankin
b01acc8917
Fix style
2018-11-12 15:26:15 +03:00
Ivan Lezhankin
56f0f6194f
Refactor parsing of 'WITH NAME'
2018-11-12 15:26:14 +03:00
Ivan Lezhankin
126ff55fa7
Forgot about 'WITH NAME …' statement part.
2018-11-12 15:26:14 +03:00
Ivan Lezhankin
935615a647
Reimplement FREEZE command.
2018-11-12 15:26:14 +03:00
Ivan Lezhankin
a837060454
Lock table structure before freezing.
2018-11-12 15:26:14 +03:00
Ivan Lezhankin
03e6a29eb2
Implement 'ALTER … FREEZE' command.
...
Need some tests!
2018-11-12 15:26:14 +03:00
Nikolai Kochetov
3429274de1
Fix perf in IColumnUnique::size func. #3256
2018-11-12 12:03:40 +03:00
KochetovNicolai
5f3dcf794a
Merge pull request #3551 from yandex/syntax-analyzer-2
...
Split ExpressionAnalyzer and SyntaxAnalyzer.
2018-11-12 11:43:52 +03:00
Amos Bird
6815b25d18
replace std::tuple with std::variant
2018-11-12 03:29:52 +08:00
Amos Bird
f76bfb00a3
Avoid materialization for dictGetTOrDefault
2018-11-12 00:35:13 +08:00
Sabyanin Maxim
94594d8c06
add order_key section in system.tables
2018-11-11 18:44:21 +03:00
proller
5678d1ed98
Build fixes ( #3545 )
...
* StorageSystemContributors clean
* Fix
* ARM fixes
* Fix arm compile
* fix
* Fix macos?
* Fix includes
* fix
* fix
* Try fix apple build part 1
* Fix identation
* Fix static libc++ in clang
* fix arm build
* better
* fix
* fix
* better check-include
2018-11-10 23:09:07 +03:00
alexey-milovidov
93a3f1663e
Merge pull request #3552 from amosbird/patch-14
...
Prioritize rvalue creator for ColumnTuple
2018-11-10 22:57:55 +03:00
Alexey Milovidov
60d42eb4f7
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-10 20:52:32 +03:00
Alexey Milovidov
8f50c62033
Avoid busy loop in DDLWorker when ZooKeeper is not available [#CLICKHOUSE-4126]
2018-11-10 20:52:25 +03:00
Nikolai Kochetov
28be6d6443
Review fixes.
2018-11-09 20:23:48 +03:00
Nikolai Kochetov
21c3b36d23
Updated test with mutations.
2018-11-09 19:35:05 +03:00
Sabyanin Maxim
9befbd94e4
is_in_order_key, is_in_partition_key, is_in_sample_key in system.columns works, is_in_primary_key not yet
2018-11-09 18:39:21 +03:00
Nikolai Kochetov
1e9aeba603
Split ExpressionAnalyzer and SyntaxAnalyzer.
2018-11-09 18:01:18 +03:00
Sabyanin Maxim
ac6aaa37b5
add is_primary_key, is_order_key, is_partition_key, is_sampling_key sections in system.columns
2018-11-09 15:02:08 +03:00
chertus
cc005c3ac9
Merge branch 'master' into issue-3578
2018-11-09 13:12:34 +03:00
Sabyanin Maxim
51c7284583
add getSecondaryExpression
2018-11-09 12:41:52 +03:00
Sabyanin Maxim
c9d8dc6171
add primary_key, partition_key, sampling_key sections in system.tables. add getPartitionExpression method in IStorage.
2018-11-08 20:45:41 +03:00
Amos Bird
076ec44089
Prioritize rvalue creator for ColumnTuple
...
This validates `ColumnTuple::create(Columns({std::move(s_c0), std::move(s_c1)})); `
2018-11-09 01:24:30 +08:00
Nikolai Kochetov
726ae0cb9a
Split ExpressionAnalyzer and SyntaxAnalyzer.
2018-11-08 19:47:12 +03:00
KochetovNicolai
4609569538
Merge pull request #3549 from yandex/syntax-analyzer
...
Syntax analyzer
2018-11-08 17:15:37 +03:00
Nikolai Kochetov
baef5abc12
Review fixes.
2018-11-08 15:06:35 +03:00
Sabyanin Maxim
f8f2779f7b
make ColumnComment just a hashmap
2018-11-08 15:03:42 +03:00
Nikolai Kochetov
29fe5ea5b6
Review fixes.
2018-11-08 14:17:31 +03:00
Nikolai Kochetov
90120493bf
Syntax analyzer (in progress).
2018-11-08 12:06:11 +03:00
Nikolai Kochetov
a5a36d0078
Syntax analyzer (in progress).
2018-11-08 12:01:41 +03:00
Nikolai Kochetov
6ebfd2c42f
Syntax analyzer (in progress).
2018-11-08 12:01:12 +03:00
proller
9a98b80cf8
Try fix apple build part 2
2018-11-07 16:24:36 +03:00
proller
a996326efe
Fix identation
2018-11-07 15:55:56 +03:00
Nikolai Kochetov
7f8deccd7e
Merged with master.
2018-11-07 15:52:16 +03:00
proller
bb1dafd2b3
Try fix apple build part 1
2018-11-07 15:50:36 +03:00
Nikolai Kochetov
748b0f7077
SyntaxAnalyzer (in progress).
2018-11-07 15:44:05 +03:00
chertus
9819c10628
fix build with libcxx
2018-11-07 14:46:39 +03:00
proller
6ec9ca3b07
Better tests ( #3535 )
2018-11-07 14:00:46 +03:00
Nikolai Kochetov
e44213b026
Added tests. [#CLICKHOUSE-4111]
2018-11-07 13:53:36 +03:00
Nikolai Kochetov
7a5cfc7a6d
Skip columns from prewhere_info->remove_columns_actions in prewhere result for alias source columns. [#CLICKHOUSE-4111]
2018-11-07 13:53:36 +03:00
alexey-milovidov
86a4c95048
Merge pull request #3544 from yandex/fix_aio_unknown_compression_method
...
Fix AIO unknown compression method when merge tree has mark to the last byte of file
2018-11-07 00:34:45 +03:00
Artem Zuikov
e9dc302cdc
Merge pull request #3465 from 4ertus2/bugs
...
hotfix for distributed DDLs over secure port [CLICKHOUSE-4089]
2018-11-06 21:39:10 +03:00
Nikolai Kochetov
bcd6e03257
SyntaxAnalyzer (in progress).
2018-11-06 21:13:35 +03:00
alesapin
bdb473b425
Fix AIO unknown compression method when merge tree has mark to last byte of file
2018-11-06 20:29:31 +03:00
chertus
172acbabd0
fix tests (second attempt) [CLICKHOUSE-4089]
2018-11-06 19:38:01 +03:00
Artem Zuikov
469ce719dc
Merge pull request #3521 from 4ertus2/joins
...
Set default database name for tables in view's (sub)selects [CLICKHOUSE-3145]
2018-11-06 19:15:07 +03:00
chertus
458e20c31f
fix tests/integration over ssl by alesapin@
2018-11-06 17:42:30 +03:00
Sabyanin Maxim
dacd999d4f
Merge branch 'master' into CLICKHOUSE-4032
2018-11-06 16:50:07 +03:00
alesapin
70df5a1cb7
Merge pull request #3534 from yandex/block_structure_mistmatch
...
[WIP] Trying to fix block structure mismatch
2018-11-06 16:40:05 +03:00
chertus
756342551a
add general comment for visitors
2018-11-06 16:28:22 +03:00
Sabyanin Maxim
bdcdc15b1e
fixed comment test.
...
remove ColumnComment struct.
style fixes
2018-11-06 16:26:43 +03:00
Nikolai Kochetov
8df77930ec
Added InterpreterSelectQuery::unifyStreams
2018-11-06 14:44:45 +03:00
Ivan Lezhankin
d846c0a9a6
Report progress from server-side to keep client connections alive.
...
This way we make sure that 'receive_timeout' on client-side is triggered only
when there is a real socket read timeout.
2018-11-06 14:40:06 +03:00
Ivan Lezhankin
f0edecd755
Respect 'receive_timeout' option on client-side.
2018-11-06 14:31:30 +03:00
Nikolai Kochetov
d7992b11d8
Fix block structure mismatch in MergingSorted stream.
2018-11-06 13:11:37 +03:00
Alexey Milovidov
c5173782dc
Potentially better #3490
2018-11-05 17:29:38 +03:00
Alexey Milovidov
a191c32254
Potential improvement #3490
2018-11-05 13:34:48 +03:00
Alexey Milovidov
6f00f165e5
Clarifications; potential improvement #3490
2018-11-05 12:32:59 +03:00
alexey-milovidov
c25e093b82
Merge pull request #3512 from lapkofear/amd_perf_problem
...
fixed group by int16 and Date types on AMD EPYC 7401P machine
2018-11-04 11:53:38 +03:00
Alexandr Krasheninnikov
6ab45d081c
Arch-based compilation
2018-11-02 22:06:05 +03:00
alesapin
5367b1b8d0
Better answer
2018-11-02 19:10:08 +03:00