Alexey Milovidov
|
854817c232
|
Fixed -Wshadow-field #4005
|
2019-01-24 22:37:32 +03:00 |
|
alexey-milovidov
|
f96b8e4ed6
|
Merge pull request #4005 from vitlibar/add-protobuf-output-format
Add protobuf output format
|
2019-01-24 22:05:23 +03:00 |
|
Vitaly Baranov
|
67fca7e029
|
Add support for settings 'format_schema' in an output query.
This fixes syntax error when executing 'SELECT ... FORMAT ... SETTINGS format_schema=...'
|
2019-01-23 22:23:37 +03:00 |
|
Alexey Zatelepin
|
da0f555484
|
speedup calculation of ASTLiteral hash a bit #4058
|
2019-01-23 16:20:03 +03:00 |
|
Alexey Zatelepin
|
370c8c4e54
|
Merge branch 'master' into mutations-fix-in
Conflicts:
dbms/src/Parsers/IAST.h
|
2019-01-23 14:47:53 +03:00 |
|
Alexey Zatelepin
|
5154814bf9
|
try to get rid of IAST::range #4058
|
2019-01-23 14:19:22 +03:00 |
|
maiha
|
6c83beafdd
|
dbms: Fixed misspells in comments
|
2019-01-23 04:56:53 +09:00 |
|
Alexey Milovidov
|
c7b95b5175
|
Miscellaneous changes for PVS-Studio
|
2019-01-20 02:27:52 +03:00 |
|
chertus
|
5289c1337e
|
child free ASTIdentifier
|
2019-01-17 20:01:48 +03:00 |
|
Alexey Zatelepin
|
addc9a43b0
|
remove unused IAST field
|
2019-01-17 18:52:29 +03:00 |
|
chertus
|
394e8b0378
|
minor improvements and fix
|
2019-01-16 21:38:19 +03:00 |
|
chertus
|
a5d8858ee2
|
minor ASTIdentifier changes
|
2019-01-15 15:28:17 +03:00 |
|
chertus
|
dbb88e8cb4
|
helpers for ASTIdentifier (hide semantic and casts)
|
2019-01-14 21:15: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 |
|
Alexey Milovidov
|
06a8c3f02d
|
Added some warnings from clang's -Weverything
|
2019-01-05 06:33:22 +03:00 |
|
Alexey Milovidov
|
1d4701b0bc
|
Added some warnings from clang's -Weverything
|
2019-01-04 15:10:00 +03:00 |
|
zhang2014
|
a445514b61
|
ISSUES-3710 fix alias is missing when distributed & join on
|
2019-01-03 15:33:03 +08:00 |
|
alexey-milovidov
|
d16447c3f4
|
Merge pull request #3899 from yandex/custom_compression_codecs
Custom compression codecs
|
2018-12-28 08:29:09 +03:00 |
|
alexey-milovidov
|
5ff30f4512
|
Merge pull request #3946 from 4ertus2/joins
Multiple join emulation (very experimental - developers only)
|
2018-12-28 03:06:01 +03:00 |
|
Alexey Milovidov
|
2e323192a2
|
Addition to prev. revision #3926
|
2018-12-27 03:02:11 +03:00 |
|
chertus
|
11982046d6
|
Merge branch 'master' into joins
|
2018-12-26 17:17:18 +03:00 |
|
Alexey Milovidov
|
b5013194ec
|
Fixed UB #3569
|
2018-12-26 06:21:39 +03:00 |
|
alesapin
|
a82dfef893
|
Fix in parser
|
2018-12-24 20:12:14 +03: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 |
|
qianlixiang
|
416d6aa788
|
Fixed core dump caused by kill query sync
|
2018-12-24 16:17:22 +08:00 |
|
Boris Granveaud
|
d776d1164a
|
support for IF EXISTS/IF NOT EXISTS in ALTER TABLE ADD/DROP/CLEAR/MODIFY/COMMENT COLUMN
|
2018-12-21 15:53:00 +01:00 |
|
alesapin
|
5b23210062
|
Merge branch 'master' into custom_compression_codecs
|
2018-12-21 11:57:21 +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 Zatelepin
|
b7afe46dfd
|
remove ALTER MODIFY PRIMARY KEY command [#CLICKHOUSE-4214]
|
2018-12-20 21:57:20 +03:00 |
|
alexey-milovidov
|
f85857d8ff
|
Merge pull request #3826 from yandex/missing-sql-compatibility-functions
Additional functions for SQL compatibility
|
2018-12-20 20:51:05 +03:00 |
|
alesapin
|
0ae14be8d2
|
Fix codes
|
2018-12-20 13:44:20 +03:00 |
|
Ivan Blinkov
|
f63aa0eb3b
|
Support MySQL-style syntax for DATE_ADD and similar functions
|
2018-12-20 11:22:24 +03:00 |
|
proller
|
6869771ae4
|
Fix includes
|
2018-12-19 20:57:51 +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 |
|
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
|
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 |
|
Ivan Blinkov
|
5abfcfcd48
|
Support proper syntax for dateDiff
|
2018-12-18 17:40: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 |
|
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 |
|
alesapin
|
0f29bff8da
|
Style
|
2018-12-14 16:28:34 +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 |
|
Ivan Blinkov
|
649716bea1
|
fix incorrect escaping
|
2018-12-14 12:26:55 +03:00 |
|
Ivan Blinkov
|
69f2667d63
|
fix style errors
|
2018-12-13 19:41:56 +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 |
|
Ivan Blinkov
|
3209ac84d0
|
Rewrite LEFT and RIGHT functions to corresponding SUBSTRING calls #3712
|
2018-12-13 12:34:12 +03:00 |
|
zhang2014
|
6d0c4eaf89
|
ISSUES-838 add lz4、none、zstd codec
|
2018-12-13 12:10:34 +08:00 |
|
chertus
|
3dd36cee14
|
Merge branch 'master' into joins
|
2018-12-10 19:20:45 +03:00 |
|
Ivan Blinkov
|
6a90abc543
|
Support SUBSTRING(expr FROM start FOR length)
|
2018-12-10 15:54:02 +03:00 |
|
chertus
|
0c49c19592
|
fix style
|
2018-12-08 01:02:33 +03:00 |
|
chertus
|
e26c3327cf
|
fix lost AST chenges in InDepthNodeVisitor
|
2018-12-07 17:24:47 +03:00 |
|
chertus
|
75af882cf3
|
fix AST debug print with underline symbol
|
2018-12-07 15:34:40 +03:00 |
|
alexey-milovidov
|
48b30edcf5
|
Merge branch 'master' into alter-order-by
|
2018-12-02 21:06:38 +03:00 |
|
Nikolai Kochetov
|
540a99c93a
|
Fix engine parsing in create query.
|
2018-11-28 19:52:46 +03:00 |
|
Alexey Zatelepin
|
57f25e978a
|
update comments and docs [#CLICKHOUSE-3859]
|
2018-11-28 18:12:44 +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
|
0dfa73221c
|
Removed temporary compatibility fix for Yandex.Metrika. [#CLICKHOUSE-2]
|
2018-11-28 13:37:08 +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 Milovidov
|
c77930fe30
|
Whitespaces [#CLICKHOUSE-2]
|
2018-11-26 03:56:50 +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 |
|
Sabyanin Maxim
|
3a67b505c5
|
Merge branch 'master' of https://github.com/yandex/ClickHouse into CLICKHOUSE-4032
|
2018-11-22 16:54:10 +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 |
|
Sabyanin Maxim
|
035049d1a8
|
make modify column comment work
|
2018-11-15 01:46:39 +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
|
8b85822192
|
store original key ASTs, and not extracted ASTExpressionLists [#CLICKHOUSE-3859]
|
2018-11-13 16:14:44 +03:00 |
|
Alexey Zatelepin
|
4036ec83af
|
write metadata znode in StorageReplicatedMergeTree::alter() [#CLICKHOUSE-3859]
|
2018-11-13 16:13:34 +03:00 |
|
Alexey Zatelepin
|
02337242b5
|
ALTER MODIFY ORDER BY syntax [#CLICKHOUSE-3859]
|
2018-11-13 16:13:10 +03:00 |
|
Alexey Zatelepin
|
580146eedb
|
add primary key syntax [#CLICKHOUSE-3859]
|
2018-11-13 16:12:14 +03:00 |
|
Sabyanin Maxim
|
befaea63d2
|
add is_mutable method to AlterCommand. change comment column test
|
2018-11-13 15:08:07 +03:00 |
|
Sabyanin Maxim
|
b869cfed9a
|
fixed couple of mistakes.
|
2018-11-12 18:45:35 +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
|
03e6a29eb2
|
Implement 'ALTER … FREEZE' command.
Need some tests!
|
2018-11-12 15:26:14 +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 |
|
Sabyanin Maxim
|
f8f2779f7b
|
make ColumnComment just a hashmap
|
2018-11-08 15:03:42 +03:00 |
|
Sabyanin Maxim
|
dacd999d4f
|
Merge branch 'master' into CLICKHOUSE-4032
|
2018-11-06 16:50:07 +03:00 |
|
Sabyanin Maxim
|
bdcdc15b1e
|
fixed comment test.
remove ColumnComment struct.
style fixes
|
2018-11-06 16:26:43 +03:00 |
|
chertus
|
2f5fb25de6
|
Merge branch 'master' into joins
|
2018-11-02 13:39:19 +03:00 |
|
alexey-milovidov
|
c19b1d919e
|
Merge pull request #3517 from yandex/kill_pending_queries
CLICKHOUSE-4094: Add ability to kill pending queries
|
2018-11-01 21:07:45 +03:00 |
|
alesapin
|
c6d1677222
|
CLICKHOUSE-4097: Remove redundant whitespace
|
2018-11-01 18:09:19 +03:00 |
|
chertus
|
d6defafad2
|
use AddDefaultDatabaseVisitor for views [CLICKHOUSE-3145]
|
2018-11-01 17:49:37 +03:00 |
|
chertus
|
1eae5c38ea
|
remove code duplicates for creating table AST node
|
2018-10-31 20:31:04 +03:00 |
|
chertus
|
d2518fdb3f
|
more refactoring: funcs to extract database_and_table from AST
|
2018-10-29 22:04:28 +03:00 |
|
Sabyanin Maxim
|
73e9f5057d
|
fix code style checker errors
|
2018-10-27 23:39:59 +03:00 |
|
Sabyanin Maxim
|
65bd40e290
|
Merge branch 'master' of github.com:yandex/ClickHouse into CLICKHOUSE-4032
|
2018-10-27 22:33:52 +03:00 |
|
chertus
|
58f14b0db2
|
USE database for ON CLUSTER DDLs [CLICKHOUSE-4036]
|
2018-10-24 18:31:07 +03:00 |
|
alexey-milovidov
|
9c3278f378
|
Merge pull request #3400 from zhang2014/fix/ISSUES-2312
ISSUES-2312 fix nested view & joined view without database
|
2018-10-23 11:21:29 +03:00 |
|
chertus
|
a32e06d298
|
more ExpressionAnalyzer refactoring [CLICKHOUSE-3996]
|
2018-10-18 18:03:14 +03:00 |
|
zhang2014
|
133363e8e3
|
ISSUES-2312 fix nested view & joined view without database
|
2018-10-17 14:35:16 +08:00 |
|
Sabyanin Maxim
|
ab050c8466
|
add comment section in column declaration.
add comment column type in alter method.
add comment section in system.columns.
|
2018-10-14 18:30:06 +03:00 |
|
Alexey Milovidov
|
f720a5bf95
|
Fixed typos in code #3373
|
2018-10-13 17:33:43 +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 |
|