Commit Graph

20538 Commits

Author SHA1 Message Date
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
0b4d0978ab
Merge pull request #3752 from ogorbacheva/DOCAPI-4957
Added TRUNCATE query description
2018-12-07 07:19:08 +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
7030b9be00
Update ThreadPool.h 2018-12-07 07:13:50 +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
02e8631e90
Merge pull request #3771 from filimonov/patch-3
set up links to "operators In" section
2018-12-07 07:06:39 +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
filimonov
8978421495
Update in_functions.md 2018-12-06 17:37:25 +01:00
filimonov
9f327b718d
Update in_functions.md 2018-12-06 17:36:51 +01:00
filimonov
68f6d80128
Update operators.md 2018-12-06 17:34:57 +01:00
filimonov
ee6c077657
Update operators.md 2018-12-06 17:30:43 +01:00
mf5137
694ff6b2d5 Merge remote-tracking branch 'upstream/master' 2018-12-06 17:04:28 +01: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
Winter Zhang
be195535a4 Translate introduction to chinese (#3766) 2018-12-06 15:15:49 +03:00
ogorbacheva
dcf4babac8 fixes in the description of the truncate query 2018-12-06 14:20:29 +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
Ivan Blinkov
694722116b
Update requests dependency 2018-12-05 19:37:06 +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
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
Nikolai Kochetov
c6ad3a7189 Fix deadlock in DatabaseOrdinary in case of exception while loading tables. 2018-12-05 15:50:23 +03:00