Commit Graph

14023 Commits

Author SHA1 Message Date
Alexey Milovidov
e752271d99 Added check for invalid PREWHERE #3336 2018-10-11 23:52:25 +03:00
alexey-milovidov
42e18a4615
Merge pull request #3355 from 4ertus2/joins
Extract one more visitor from ExpressionAnalyzer [CLICKHOUSE-3996]
2018-10-11 23:33:35 +03:00
Alexey Milovidov
7d6365d139 LLVM compiler: better exception messages [#CLICKHOUSE-2] 2018-10-11 23:31:41 +03:00
chertus
c593d9a971 extract ExecuteScalarSubqueriesVisitor from ExpressionAnalyser [CLICKHOUSE-3996] 2018-10-11 22:28:59 +03:00
alexey-milovidov
9f494b0278
Merge pull request #3351 from CurtizJ/CLICKHOUSE-3974
Create client_info when it`s not initialized [CLICKHOUSE-3974]
2018-10-11 22:09:25 +03:00
alexey-milovidov
d385a1a6b8
Merge pull request #3352 from CurtizJ/CLICKHOUSE-4059
Fix incorrect number of iterations in clickhouse-benchmark [CLICKHOUSE-4059]
2018-10-11 22:07:46 +03:00
CurtizJ
3d15ae8eed fix sigint receive 2018-10-11 21:25:05 +03:00
CurtizJ
d46fa0f37f fix incorrect number of iterations 2018-10-11 21:12:28 +03:00
CurtizJ
1f71a97881 create client_info when it`s not initialized 2018-10-11 19:57:21 +03:00
alexey-milovidov
150be189ac
Merge pull request #3348 from 4ertus2/decimal
SummingMergeTree for Decimal128 [issue-3282]
2018-10-11 19:54:29 +03:00
alesapin
e68f9d2193 CLICKHOUSE-4055: LibraryDictionarySource -- set null_value from config for absent values 2018-10-11 18:21:12 +03:00
chertus
178b0d7fb9 rename test 2018-10-11 18:12:38 +03:00
chertus
5896e45dac SummingMergeTree for Decimal128 [issue-3282] 2018-10-11 17:33:01 +03:00
Alexey Milovidov
b8543bcd4d Fixed non-deterministic test #3145 2018-10-11 07:40:41 +03:00
Marek Vavruša
0652302d9a Common/MemoryTracker: fix metrics not being updated after MemoryTracker reset
The #3230 fixed a problem with memory accounting, but it introduces a regression
in which the memory tracker isn't reset until there are zero queries in process list.
This makes it difficult to see in tests as there's always just one query in-flight,
but in production it produces a sawtooth memory usage pattern that resets when
the allocated memory exceeds set memory limits and all queries are terminated.
2018-10-10 17:37:41 -07:00
robot-clickhouse
a0210d12b8 Auto version update to [18.14.6] [54409] 2018-10-11 01:25:18 +03:00
Alexey Milovidov
e3773c5d0c Fixed code that was out of style #3145 2018-10-11 00:01:53 +03:00
Alexey Milovidov
55923011b5 Attempt to fix use-after-free, try 1 #3145 2018-10-10 23:44:50 +03:00
Alexey Milovidov
55bc2b812b Miscellaneous #3145 2018-10-10 23:44:19 +03:00
Alexey Milovidov
75221c478a Miscellaneous #3145 2018-10-10 23:37:01 +03:00
Alexey Milovidov
2c0ea27377 Miscellaneous #3145 2018-10-10 23:35:21 +03:00
Alexey Milovidov
5e50e6bfef Fixed strange code #3145 2018-10-10 23:26:04 +03:00
alexey-milovidov
b9ecc4b819
Merge pull request #3340 from CurtizJ/issue-3253
Fix unnecessarily preparations for join at initial server [ISSUE-3253]
2018-10-10 23:04:13 +03:00
alexey-milovidov
5795b559c6
Merge pull request #3342 from 4ertus2/decimal
Confitional for Decimal (without arrays) [CLICKHOUSE-3765]
2018-10-10 23:00:17 +03:00
alexey-milovidov
297f9cec38
Merge pull request #3341 from yandex/fix-point-in-poligon
Fix point in poligon
2018-10-10 22:09:13 +03:00
chertus
aa9f17b8df Merge branch 'master' into decimal 2018-10-10 21:39:57 +03:00
chertus
94c9a544f2 If for Decimal (basic support) [CLICKHOUSE-3765] 2018-10-10 21:37:54 +03:00
Nikolai Kochetov
8cc307ca47 Added test #2866 2018-10-10 20:41:26 +03:00
CurtizJ
16bea3d008 remove logs 2018-10-10 20:09:09 +03:00
CurtizJ
815380b8b2 fix unnecessarily preparations for join at initial server 2018-10-10 20:07:21 +03:00
Nikolai Kochetov
935030a94a Fixed precision issue. Repaced foat with auto. 2018-10-10 19:35:09 +03:00
chertus
1b7354f809 disable AST logging 2018-10-10 19:23:27 +03:00
alexey-milovidov
34bd8568b6
Merge pull request #3339 from liuyimin-bytedance/master
Issue 3269 Fix incorrect OR evaluation when multiples ORs are optimized to IN
2018-10-10 16:42:24 +03:00
alexey-milovidov
fe79529627
Update LogicalExpressionsOptimizer.cpp 2018-10-10 16:41:44 +03:00
liuyimin
019677c55b Add fake range for tuple ASTFunction generated by Optimizer so that prepared set indexation works correctly 2018-10-10 21:31:18 +08:00
alexey-milovidov
4e6fd3e3fe
Merge pull request #3337 from VadimPE/CLICKHOUSE-3021
[CLICKHOUSE-3021] fix bug with unsupported value in CREATE TABLE
2018-10-10 16:23:17 +03:00
alexey-milovidov
2aa255f8b0
Update InterpreterCreateQuery.cpp 2018-10-10 16:23:06 +03:00
Vadim
56bfc25d9a
Update InterpreterCreateQuery.cpp 2018-10-10 16:15:17 +03:00
Vadim
834267054e
Update InterpreterCreateQuery.cpp 2018-10-10 16:14:29 +03:00
VadimPE
779a178347 CLICKHOUSE-3021 fix bug with unsupported value in CREATE TABLE 2018-10-10 15:50:29 +03:00
alesapin
8591038748 Fix style and clang build 2018-10-10 11:38:54 +03:00
Alexey Milovidov
0b3a8cb489 Merge branch 'joins' of https://github.com/4ertus2/ClickHouse into 4ertus2-joins 2018-10-10 04:06:06 +03:00
alexey-milovidov
1472e3ae66
Merge pull request #3210 from alex-krash/jdbc-bridge
External database access unification (jdbc/odbc bridges)
2018-10-10 02:26:56 +03:00
alexey-milovidov
54e933f9dc
Update DictionarySourceFactory.cpp 2018-10-10 02:21:19 +03:00
alexey-milovidov
fe2c4e4102
Update getIdentifierQuote.cpp 2018-10-10 02:19:38 +03:00
alexey-milovidov
e91f8f0dd9
Merge pull request #3273 from vavrusa/master
PushingToViewsBlockOutputStream: add tests for parallel processing
2018-10-10 02:16:59 +03:00
alexey-milovidov
1dba31a313
Merge pull request #3332 from yandex/fix-performance-regression-while-parsing-jsoneachrow
Fix performance regression in parsing JSONEachRow format.
2018-10-10 02:09:22 +03:00
alexey-milovidov
a867009747
Merge pull request #3324 from 4ertus2/decimal
Decimal dictionaries support [CLICKHOUSE-4045]
2018-10-10 00:49:37 +03:00
robot-clickhouse
a21e50ac23 Auto version update to [18.14.5] [54409] 2018-10-10 00:44:21 +03:00
alexey-milovidov
ab198e77d1
Merge pull request #3329 from 4ertus2/master
get64 for Decimal32/64; remove allow_experimental_decimal_type [issue-3282]
2018-10-10 00:40:29 +03:00
Alexey Milovidov
7b24ad570c Inline some functions #3223 2018-10-10 00:38:06 +03:00
Alexey Milovidov
681929cbda Attempt to fix performance regression while parsing JSONEachRow #3223 2018-10-10 00:32:15 +03:00
Alexey Milovidov
c014168c5f Attempt to fix performance regression while parsing JSONEachRow #3223 2018-10-10 00:21:52 +03:00
Alexey Milovidov
a432ff335e Attempt to fix performance regression while parsing JSONEachRow #3223 2018-10-10 00:09:48 +03:00
alexey-milovidov
b7766333ab
Merge pull request #3330 from CurtizJ/CLICKHOUSE-4005
Interpret empty null_value in external dictionaries as type default value [ClLICKHOUSE-4005]
2018-10-09 23:44:18 +03:00
alexey-milovidov
33b4a502d6
Update test.py 2018-10-09 23:43:52 +03:00
Alexey Milovidov
798c3d2e4d Merge remote-tracking branch 'origin/master' into fix-performance-regression-while-parsing-jsoneachrow 2018-10-09 23:42:21 +03:00
alexey-milovidov
caaa7ff98e
Merge pull request #3331 from yandex/fix-point-in-poligon
Fix point in poligon
2018-10-09 23:41:35 +03:00
alexey-milovidov
bc921c564a
Update 00500_point_in_polygon_bug_2.sql 2018-10-09 23:40:05 +03:00
alexey-milovidov
e25e19a071
Update 00500_point_in_polygon_bug_2.sql 2018-10-09 23:39:32 +03:00
robot-clickhouse
e10f7360d4 Auto version update to [18.14.4] [54409] 2018-10-09 22:49:13 +03:00
Alexey Milovidov
4a31c1c18a Attempt to fix performance regression while parsing JSONEachRow #3223 2018-10-09 22:46:35 +03:00
Nikolai Kochetov
c506f04842 Added test. #3309 2018-10-09 22:40:21 +03:00
Nikolai Kochetov
1f348a09ca Fix calcLinestringRotation angle. #3309 2018-10-09 22:38:37 +03:00
CurtizJ
de1e9caefb add test 2018-10-09 22:00:09 +03:00
Alexey Milovidov
6ca67ce277 Updated test result #3257 2018-10-09 22:00:00 +03:00
Alexey Milovidov
94d8a78abf Fixed test (now letter ё is really decomposed) #3257 2018-10-09 21:55:39 +03:00
Alexey Milovidov
89f3fd07f5 Fixed issue in test #3257 2018-10-09 21:53:35 +03:00
Alexey Milovidov
ccbe39b4d3 Merge branch 'master' of github.com:yandex/ClickHouse 2018-10-09 21:43:33 +03:00
Alexey Milovidov
eda0784feb clickhouse-test: removed obsolete comment #3223 2018-10-09 21:43:23 +03:00
robot-clickhouse
bc162437fb Auto version update to [18.14.3] [54409] 2018-10-09 21:29:01 +03:00
Alexey Milovidov
458b0f256a Added test by Champtar #3223 2018-10-09 21:20:46 +03:00
Alexey Milovidov
9a50300e42 Minor modifications #3223 2018-10-09 21:14:30 +03:00
Alexey Milovidov
e4b4b5a4fc Better diagnostic for JSONEachRow format #3223 2018-10-09 21:06:52 +03:00
alexey-milovidov
052fc2b674
Merge pull request #3223 from veloman-yunkan/jsoneachrow_bugfix
Fix for issue #3297
2018-10-09 21:05:51 +03:00
CurtizJ
5f2f1f589f interpret empty null_value as default value 2018-10-09 20:43:25 +03:00
alesapin
32c6d0c699
Merge pull request #3182 from VadimPE/CLICKHOUSE-3947
CLICKHOUSE-3947 add LIKE and IN () for ODBC and MySQL
2018-10-09 20:12:32 +03:00
chertus
ee40c0cec9 undo changes from another pull request 2018-10-09 20:02:30 +03:00
chertus
c7bf0e77ea add get64() for Decimal32 and Decimal64; remove allow_experimental_decimal_type setting [issue-3282] 2018-10-09 19:50:42 +03:00
Alexandr Krasheninnikov
27f288641e Fix config reference, header inclusion and failed tests 2018-10-09 18:03:41 +03:00
chertus
b360fc895a comment for TranslateQualifiedNamesVisitor [CLICKHOUSE-4001] 2018-10-09 17:41:19 +03:00
chertus
ec8d3b388d move DumpASTNode to own file, style fixes [CLICKHOUSE-4001] 2018-10-09 17:32:11 +03:00
Alexey Milovidov
227ff8c606 Fixed comment [#CLICKHOUSE-2] 2018-10-09 17:30:05 +03:00
VadimPE
bcf8d5517e CLICKHOUSE-3947 fix const 2018-10-09 17:21:19 +03:00
VadimPE
da712d0036 CLICKHOUSE-3947 fix copy-paste and const 2018-10-09 17:13:08 +03:00
chertus
20b733aaf0 Merge branch 'master' into joins 2018-10-09 13:47:01 +03:00
alesapin
9946154908 CLICKHOUSE-3943: Rename FLUSH SYSTEM TABLES query to FLUSH LOGS, better tests 2018-10-09 13:05:27 +03:00
chertus
f21c4c898e Decimal dictionaries support [CLICKHOUSE-4045] 2018-10-08 22:45:17 +03:00
alesapin
9576c0e86d Add flush system tables 2018-10-08 21:09:14 +03:00
alesapin
ee78e27fa8 Move test to sh 2018-10-08 19:58:44 +03:00
alesapin
8333f63e12 Add log_queries setting 2018-10-08 19:35:59 +03:00
alesapin
c7065b6bd8 CLICKHOUSE-3943: Add test for FileOpen metric 2018-10-08 18:55:55 +03:00
VadimPE
79b6b8476a CLICKHOUSE-3947 add tests 2018-10-08 18:05:23 +03:00
Alexey Milovidov
64c7e357e8 Fixed error #3230 2018-10-08 08:30:03 +03:00
Alexey Milovidov
80faec76e8 Merge remote-tracking branch 'origin/master' into fix-memory-tracker 2018-10-08 00:09:18 +03:00
Alexey Milovidov
84b3ba3464 Improved test #3230 2018-10-07 23:47:03 +03:00
alexey-milovidov
469243b33b
Merge pull request #3306 from yandex/length-aliases
Added compatibility aliases for "length" and "lengthUTF8"
2018-10-07 23:26:57 +03:00
alexey-milovidov
36c3feea80
Merge pull request #3270 from yandex/left-join-right-keys-fix
Left join right keys fix
2018-10-07 23:26:40 +03:00
Alexey Milovidov
964a6e5771 Make function "concat" case insensitive for compatibility [#CLICKHOUSE-20] 2018-10-05 22:58:01 +03:00
Alexey Milovidov
9e1c51aca4 Added compatibility aliases for "length" and "lengthUTF8" [#CLICKHOUSE-20] 2018-10-05 22:52:42 +03:00