tavplubix
b5cbbce314
Merge pull request #22706 from songenjie/fetch_part
...
[clickhouse][server][ddl]support fetch part
2021-04-16 12:26:51 +03:00
changvvb
0be5976967
Merge branch 'support-apple-m1' of github.com:changvvb/ClickHouse into support-apple-m1
2021-04-15 22:57:23 +08:00
Ivan Lezhankin
06bc435b06
Fix code with params
2021-04-15 10:33:15 +03:00
Ivan Lezhankin
fd2f5b9ede
Fix COLUMNS transformer
2021-04-14 19:36:44 +03:00
Ivan
b099ad467d
Merge branch 'master' into ast-table-identifier-2
2021-04-14 18:38:30 +03:00
Ivan Lezhankin
00e8571088
Fix for alter update and IN operator
2021-04-14 18:35:52 +03:00
Nikita Mikhaylov
4e4b383214
added hash of itiator address
2021-04-13 22:39:41 +03:00
songenjie
564136ec46
[clickhouse][server][dll][alter]support fetch part
2021-04-13 12:40:33 +08:00
Ivan Lezhankin
b559e45d93
Some minor fixes
2021-04-12 20:19:46 +03:00
Denis Glazachev
5e8fe847a2
Remove unneeded changes
...
Fix GCC build
2021-04-10 23:23:18 +04:00
Ivan Lezhankin
3da3250bfd
Merge branch 'master' into ast-table-identifier-2
2021-04-09 17:56:15 +03:00
Alexander Kuzmenkov
06bb58cb69
Merge pull request #22704 from ClickHouse/aku/window-multiple
...
fix window functions with multiple input streams and no sorting
2021-04-07 15:15:47 +03:00
Ilya Yatsishin
ed2d82603e
Merge pull request #22588 from foolchi/fix_dist_map_select
...
fix dist map type select
2021-04-07 11:53:23 +03:00
Alexander Kuzmenkov
d9ad06bd6d
fix ubsan
2021-04-06 19:24:56 +03:00
Amos Bird
a89e3df40a
Disable table function view in expression ( #21465 )
2021-04-06 16:08:29 +03:00
fuqi
043bd11d2e
fix dist map type select
2021-04-04 18:00:30 +08:00
fuqi
b590926c1c
fix dist map type select
2021-04-04 17:23:47 +08:00
Mike Kot
c947280dfc
Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local
2021-04-01 21:38:51 +03:00
Alexander Kuzmenkov
20066d8cd9
Update ExpressionElementParsers.cpp
2021-03-31 18:17:44 +03:00
Alexander Kuzmenkov
0e75f7bad5
fix error message for invalid window frame start
2021-03-31 17:12:48 +03:00
tavplubix
3c0f5a57ec
Merge pull request #21535 from ClickHouse/distributed_ddl_improvements
...
Distributed DDL improvements
2021-03-29 22:40:11 +03:00
Alexander Kuzmenkov
92c3db8f22
Merge pull request #22133 from ClickHouse/aku/negate-stable
...
stable formatting for negate()
2021-03-29 14:16:12 +03:00
Alexey Milovidov
50f712e198
Integrate mmap cache to the infrastructure
2021-03-28 04:10:30 +03:00
Alexander Kuzmenkov
c3cc65f826
use macro
2021-03-26 20:30:36 +03:00
Alexander Kuzmenkov
cc93055e9e
ignore UB as in negate()
2021-03-26 20:29:41 +03:00
alexey-milovidov
f1efa33571
Merge branch 'master' into client-fix-highlight-multiline-comment
2021-03-26 02:40:11 +03:00
Alexander Kuzmenkov
33647ef3d5
fix build
2021-03-25 23:02:09 +03:00
Alexander Kuzmenkov
7444eab536
Merge remote-tracking branch 'origin/aku/negate-stable' into HEAD
2021-03-25 21:40:02 +03:00
Alexander Kuzmenkov
9aa89161dc
fix for decimals
2021-03-25 21:39:57 +03:00
Alexander Kuzmenkov
72b742258a
Update src/Parsers/ASTFunction.cpp
2021-03-25 19:20:36 +03:00
Alexander Kuzmenkov
4e96675a30
Update src/Parsers/ASTFunction.cpp
2021-03-25 19:18:57 +03:00
Alexander Kuzmenkov
48af3f5851
stable formatting for negate()
2021-03-25 18:38:43 +03:00
Mike Kot
285af08949
Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local
2021-03-24 22:34:20 +03:00
Alexander Kuzmenkov
02eee100a0
formatting fixes
2021-03-24 15:36:39 +03:00
Alexander Kuzmenkov
f2ef536dfb
fix formatting
2021-03-24 01:40:27 +03:00
Alexander Kuzmenkov
c9facd631c
Merge remote-tracking branch 'origin/master' into HEAD
2021-03-23 17:40:13 +03:00
alesapin
36898bdc4a
Merge pull request #21142 from Jokser/unfreeze-partitions
...
Add ALTER TABLE UNFREEZE command.
2021-03-23 14:05:38 +03:00
Alexander Kuzmenkov
b0284f20c3
Merge branch 'master' into aku/laglead
2021-03-22 21:16:27 +03:00
tavplubix
5dfd0045a6
Merge branch 'master' into distributed_ddl_improvements
2021-03-22 18:13:19 +03:00
Alexander Kuzmenkov
3166f0cbfc
cleanup
2021-03-19 20:18:17 +03:00
Alexander Kuzmenkov
07c967b5c7
Merge pull request #21896 from ClickHouse/aku/tuple-element
...
fix fuzzer failure in tupleElement formatting
2021-03-19 15:49:45 +03:00
Alexander Kuzmenkov
46e4134deb
fix fuzzer failure in tupleElement formatting
2021-03-19 15:47:06 +03:00
Alexander Kuzmenkov
1beba597ca
Merge remote-tracking branch 'origin/master' into HEAD
2021-03-19 02:11:08 +03:00
Alexander Kuzmenkov
6aa9039f7d
float frames and lag/lead_in_frame
2021-03-19 02:05:43 +03:00
Alexander Kuzmenkov
f85b089292
Merge pull request #21466 from ClickHouse/aku/frame-formatting
...
add query formatting idempotence check to fuzzer
2021-03-18 17:57:11 +03:00
Pavel Kovalenko
39f3b17041
Merge remote-tracking branch 'origin/master' into unfreeze-partitions
2021-03-16 10:56:24 +03:00
Mike Kot
406d037ebb
Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local
2021-03-15 18:41:47 +03:00
tavplubix
6a265f468e
Merge branch 'master' into distributed_ddl_improvements
2021-03-15 11:24:14 +03:00
Vitaly Baranov
37ce6e26d3
Add a new clause GRANTEES to commands CREATE USER and ALTER USER.
2021-03-14 19:12:42 +03:00
Vitaly Baranov
d6e0342c30
Improvements in implementations of the classes AccessRights and GrantedRoles.
2021-03-14 19:12:35 +03:00
Alexander Kuzmenkov
ec19b69d8c
Merge remote-tracking branch 'origin/master' into HEAD
2021-03-12 23:53:48 +03:00
Denis Glazachev
290a6d273e
Add Kerberos support for authenticating existing users when accessing over HTTP
2021-03-11 23:41:10 +03:00
Nikita Mikhaylov
5ac5ae3b27
Merge pull request #21157 from CurtizJ/fix-type-map
...
Improve support of integer keys in data type Map
2021-03-11 15:49:57 +03:00
Alexander Kuzmenkov
8c5240e3a0
fix a typo in window functions frame
2021-03-10 01:24:46 +03:00
Alexander Tokmakov
2484781070
fix MV recovery in Replicated db
2021-03-08 20:26:38 +03:00
Azat Khuzhin
9c35e49878
Fix heap-buffer-overflow in highlighting multi-line comments
...
Not closed multi-line comment returns the whole query, so it should not
be processed further with the lexer.
ASan report:
:) /*=================================================================
==14889==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60400006ebc0 at pc 0x00000a8148ea bp 0x7fffffff8610 sp 0x7fffffff7dd8
WRITE of size 16 at 0x60400006ebc0 thread T0
0 0xa8148e9 in __asan_memcpy (/src/ch/tmp/upstream/clickhouse-asan+0xa8148e9)
1 0xaa8a3a4 in DB::Client::highlight(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<replxx::Replxx::Color, std::__1::allocator<replxx::Replxx::Color> >&) obj-x86_64-linux-gnu/../programs/client/Client.cpp:464:52
2 0x25f7b6d8 in std::__1::__function::__policy_func<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<replxx::Replxx::Color, std::__1::allocator<replxx::Replxx::Color> >&)>::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<replxx::Replxx::Color, std::__1::allocator<replxx::Replxx::Color> >&) const obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2221:16
3 0x25f7b6d8 in std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<replxx::Replxx::Color, std::__1::allocator<replxx::Replxx::Color> >&)>::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<replxx::Replxx::Color, std::__1::allocator<replxx::Replxx::Color> >&) const obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2560:12
4 0x25f7b6d8 in replxx::Replxx::ReplxxImpl::render(replxx::Replxx::ReplxxImpl::HINT_ACTION) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:546:3
5 0x25f74059 in replxx::Replxx::ReplxxImpl::refresh_line(replxx::Replxx::ReplxxImpl::HINT_ACTION) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:729:2
6 0x25f6bc8f in replxx::Replxx::ReplxxImpl::insert_character(char32_t) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:1197:3
7 0x25f79347 in replxx::Replxx::ReplxxImpl::action(unsigned long long, replxx::Replxx::ACTION_RESULT (replxx::Replxx::ReplxxImpl::* const&)(char32_t), char32_t) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:1130:29
8 0x25f79347 in replxx::Replxx::ReplxxImpl::get_input_line() obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:1123:11
9 0x25f7844c in replxx::Replxx::ReplxxImpl::input(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:455:8
10 0x25af5693 in ReplxxLineReader::readOneLine(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../base/common/ReplxxLineReader.cpp:108:29
11 0x25aed149 in LineReader::readLine(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../base/common/LineReader.cpp:81:26
12 0xaa80ba2 in DB::Client::mainImpl() obj-x86_64-linux-gnu/../programs/client/Client.cpp:654:33
13 0xaa756f5 in DB::Client::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) obj-x86_64-linux-gnu/../programs/client/Client.cpp:280:20
14 0x25c0c8b5 in Poco::Util::Application::run() obj-x86_64-linux-gnu/../contrib/poco/Util/src/Application.cpp:334:8
15 0xaa4d050 in mainEntryClickHouseClient(int, char**) obj-x86_64-linux-gnu/../programs/client/Client.cpp:2724:23
16 0xa848c3a in main obj-x86_64-linux-gnu/../programs/main.cpp:368:12
17 0x7ffff7dcab24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)
18 0xa79b36d in _start (/src/ch/tmp/upstream/clickhouse-asan+0xa79b36d)
0x60400006ebc0 is located 0 bytes to the right of 48-byte region [0x60400006eb90,0x60400006ebc0)
allocated by thread T0 here:
0 0xa84509d in operator new(unsigned long) (/src/ch/tmp/upstream/clickhouse-asan+0xa84509d)
1 0x25f7af76 in void* std::__1::__libcpp_operator_new<unsigned long>(unsigned long) obj-x86_64-linux-gnu/../contrib/libcxx/include/new:235:10
2 0x25f7af76 in std::__1::__libcpp_allocate(unsigned long, unsigned long) obj-x86_64-linux-gnu/../contrib/libcxx/include/new:261:10
3 0x25f7af76 in std::__1::allocator<replxx::Replxx::Color>::allocate(unsigned long) obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:840:38
4 0x25f7af76 in std::__1::allocator_traits<std::__1::allocator<replxx::Replxx::Color> >::allocate(std::__1::allocator<replxx::Replxx::Color>&, unsigned long) obj-x86_64-linux-gnu/../contrib/libcxx/include/__memory/allocator_traits.h:468:21
5 0x25f7af76 in std::__1::vector<replxx::Replxx::Color, std::__1::allocator<replxx::Replxx::Color> >::__vallocate(unsigned long) obj-x86_64-linux-gnu/../contrib/libcxx/include/vector:993:37
6 0x25f7af76 in std::__1::vector<replxx::Replxx::Color, std::__1::allocator<replxx::Replxx::Color> >::vector(unsigned long, replxx::Replxx::Color const&) obj-x86_64-linux-gnu/../contrib/libcxx/include/vector:1155:9
7 0x25f7af76 in replxx::Replxx::ReplxxImpl::render(replxx::Replxx::ReplxxImpl::HINT_ACTION) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:543:19
8 0x25f74059 in replxx::Replxx::ReplxxImpl::refresh_line(replxx::Replxx::ReplxxImpl::HINT_ACTION) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:729:2
9 0x25f6bc8f in replxx::Replxx::ReplxxImpl::insert_character(char32_t) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:1197:3
10 0x25f79347 in replxx::Replxx::ReplxxImpl::action(unsigned long long, replxx::Replxx::ACTION_RESULT (replxx::Replxx::ReplxxImpl::* const&)(char32_t), char32_t) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:1130:29
11 0x25f79347 in replxx::Replxx::ReplxxImpl::get_input_line() obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:1123:11
12 0x25f7844c in replxx::Replxx::ReplxxImpl::input(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../contrib/replxx/src/replxx_impl.cxx:455:8
13 0x25af5693 in ReplxxLineReader::readOneLine(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../base/common/ReplxxLineReader.cpp:108:29
14 0x25aed149 in LineReader::readLine(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) obj-x86_64-linux-gnu/../base/common/LineReader.cpp:81:26
15 0xaa80ba2 in DB::Client::mainImpl() obj-x86_64-linux-gnu/../programs/client/Client.cpp:654:33
16 0xaa756f5 in DB::Client::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) obj-x86_64-linux-gnu/../programs/client/Client.cpp:280:20
17 0x25c0c8b5 in Poco::Util::Application::run() obj-x86_64-linux-gnu/../contrib/poco/Util/src/Application.cpp:334:8
18 0xaa4d050 in mainEntryClickHouseClient(int, char**) obj-x86_64-linux-gnu/../programs/client/Client.cpp:2724:23
19 0xa848c3a in main obj-x86_64-linux-gnu/../programs/main.cpp:368:12
20 0x7ffff7dcab24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)
SUMMARY: AddressSanitizer: heap-buffer-overflow (/src/ch/tmp/upstream/clickhouse-asan+0xa8148e9) in __asan_memcpy
v2: fix lexer instead of client quirk
2021-03-06 12:23:41 +03:00
Alexander Kuzmenkov
7c8d17045c
fix frame formatting error
2021-03-05 06:15:20 +03:00
Pavel Kovalenko
a3c0c35dff
ALTER TABLE UNFREEZE rework.
2021-03-02 23:28:42 +03:00
Mike Kot
4e1ac185b5
Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local
2021-03-01 20:58:07 +03:00
Anton Popov
b6a519cd04
Merge remote-tracking branch 'upstream/master' into HEAD
2021-02-24 19:45:38 +03:00
Pavel Kovalenko
37fe24a52c
Remove unused clause
2021-02-24 17:51:15 +03:00
Pavel Kovalenko
078dfce038
Add ALTER TABLE UNFREEZE command.
2021-02-24 17:28:30 +03:00
alexey-milovidov
20a7ccf5b1
Merge pull request #20174 from amosbird/alias
...
Normalized function names (lower-case case-insensitive names)
2021-02-21 16:23:51 +03:00
Amos Bird
2dc7ba160a
Better
2021-02-18 20:20:28 +08:00
Anton Popov
f1fa110d48
fix type map with integer keys
2021-02-18 01:05:31 +03:00
Alexander Tokmakov
1aac7b3471
Merge branch 'master' into database_replicated
2021-02-17 00:39:56 +03:00
Mike Kot
362bd3a2ae
Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local
2021-02-16 16:39:50 +03:00
Mike Kot
ca83775711
Multiple small hotfixes
...
Small fixes
Some fix for old bug
Another old code fix
2021-02-16 16:39:18 +03:00
Alexander Tokmakov
bf6f64a3fb
Merge branch 'master' into database_replicated
2021-02-16 01:28:19 +03:00
Amos Bird
a551edd8d6
Do not parse view function in expression
2021-02-13 22:12:44 +08:00
Amos Bird
69d4120982
Disable table function view in expression
2021-02-13 21:39:37 +08:00
Alexander Kuzmenkov
2571dac984
Merge pull request #20111 from ClickHouse/aku/window-prototype
...
RANGE OFFSET window frame
2021-02-11 10:39:21 +03:00
Alexander Kuzmenkov
c18749a704
fix a bug and add some tests
2021-02-09 17:44:04 +03:00
Alexander Tokmakov
5e0cbfe972
Merge branch 'master' into database_replicated
2021-02-08 23:01:12 +03:00
Alexey Milovidov
0145be85df
Do not spill warnings suppressions from ANTLR
2021-02-07 16:50:57 +03:00
alexey-milovidov
ed5a81ab59
Merge pull request #20078 from abyss7/better-read-buffers-4
...
LimitReadBuffer: check that position always advances
2021-02-07 07:33:08 +03:00
Alexey Milovidov
60f2e89cfb
Fix the case when DataType parser may have exponential complexity
2021-02-05 22:21:30 +03:00
Alexander Kuzmenkov
6824f13a35
tmp
2021-02-05 12:13:19 +03:00
Ivan Lezhankin
ee0ff755e2
Check that position always advances
2021-02-04 17:46:46 +03:00
Alexander Kuzmenkov
1b6262f874
cleanup
2021-02-04 09:51:46 +03:00
Alexander Kuzmenkov
773b364fe4
check some bounds
2021-02-04 09:50:56 +03:00
Alexander Tokmakov
d010f97db0
Merge branch 'master' into database_replicated
2021-02-03 20:13:25 +03:00
Alexander Kuzmenkov
f31d2206a7
more fuzzing and less bugs
2021-02-03 15:50:25 +03:00
Alexander Kuzmenkov
bb45c5a8ff
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-03 12:13:23 +03:00
Alexander Kuzmenkov
1b47cf08a9
Merge pull request #19921 from ClickHouse/aku/window-prototype-2
...
UNBOUNDED FOLLOWING frame end
2021-02-03 12:10:37 +03:00
alexey-milovidov
4cbd0ed282
Merge pull request #20010 from ClickHouse/coverity
...
Fix some of the issues found by Coverity
2021-02-03 08:48:05 +03:00
Alexey Milovidov
12485eee6b
Fix some of the issues found by Coverity
2021-02-02 22:07:23 +03:00
Alexander Kuzmenkov
264aea20be
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-02 19:12:46 +03:00
Alexander Kuzmenkov
d2a0e44a3a
Merge pull request #19299 from ClickHouse/aku/window-prototype
...
[wip] support RANGE frame for window functions
2021-02-02 17:59:16 +03:00
Alexander Kuzmenkov
41880719bf
Merge pull request #19919 from ClickHouse/aku/remove-always-false
...
Remove an always-false condition from query parser
2021-02-02 03:54:02 +03:00
Alexander Kuzmenkov
d084625436
cleanup
2021-02-02 03:51:35 +03:00
Alexander Kuzmenkov
ef46c36317
start offset for ROWS frame
2021-02-02 02:27:17 +03:00
Alexander Kuzmenkov
18b6fb2a93
cleanup 1
2021-02-02 02:24:04 +03:00
alesapin
2aa8a6304b
Merge pull request #15450 from CurtizJ/fix-ttl-group-by
...
Fix some cases of TTL expressions
2021-02-01 16:48:07 +03:00
Alexander Kuzmenkov
7780c0b8e9
Remove an always-false condition from query parser
...
https://github.com/ClickHouse/ClickHouse/pull/19236#discussion_r567673775
2021-02-01 13:49:19 +03:00
tavplubix
2a20f20f21
Merge pull request #19790 from taiyang-li/fix_client_select
...
fix client bug while executing select
2021-02-01 13:17:14 +03:00
alexey-milovidov
08f713f177
Merge pull request #14822 from vzakaznikov/live_view_periodic_refresh
...
Adding support for periodically refreshed LIVE VIEW tables
2021-02-01 06:11:30 +03:00
Alexander Tokmakov
84d3d6e728
fix 'Unmatched parentheses', add test
2021-02-01 02:10:41 +03:00
Alexey Milovidov
5b7c437e6d
Minor modification
2021-01-31 11:24:37 +03:00
Vitaliy Zakaznikov
dc9c3c8514
Fixing styling errors.
...
Adding simple tests.
2021-01-30 09:00:42 -05:00
Alexander Kuzmenkov
5519e4c134
unbounded following frame end
2021-01-30 04:16:44 +03:00
Vitaliy Zakaznikov
3de4690450
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into live_view_periodic_refresh
2021-01-29 19:57:13 -05:00
taiyang-li
35f8a0810a
fix client bug while executing select
2021-01-29 09:59:26 +08:00
Alexander Kuzmenkov
3ace39fbf7
simplify a loop and make RANGE frame the default
2021-01-28 20:05:01 +03:00
Alexander Kuzmenkov
629cb44d4c
everything was wrong
2021-01-28 16:42:18 +03:00
Alexey Milovidov
297cfb4857
Less parser depth
2021-01-28 06:34:44 +03:00
Anton Popov
a8f3078ce9
Merge remote-tracking branch 'upstream/master' into HEAD
2021-01-27 19:48:55 +03:00
alexey-milovidov
2028228f4b
Merge pull request #18684 from amosbird/betterwith
...
better CTE and with global
2021-01-27 04:33:17 +03:00
Alexey Milovidov
093108bf81
Normalize BigInt implementation
2021-01-27 03:54:57 +03:00
Alexander Kuzmenkov
83cfdde6d9
RANGE frame works in some cases
2021-01-27 03:08:15 +03:00
Alexander Tokmakov
f20d5e3b41
fix
2021-01-26 20:51:25 +03:00
Amos Bird
d6c0479cf9
add normalizeQueryKeepNames and normalizedQueryHashKeepNames ( #18910 )
2021-01-26 17:51:30 +03:00
Amos Bird
a2ceca3fa1
Fix recursive propagation
2021-01-26 10:29:12 +08:00
Amos Bird
824aee4020
better cte and with global
2021-01-26 10:29:11 +08:00
Alexander Kuzmenkov
f8f79d5788
tmp -- the tests pass by some miracle
2021-01-23 02:03:07 +03:00
Alexander Kuzmenkov
175404338d
Merge remote-tracking branch 'origin/master' into tmp
2021-01-20 20:22:58 +03:00
Daniel Qin
25d8c047c5
Add a check to avoid exception when long alias equals to column ( #18968 )
...
* Add a check to avoid exception when long alias equas to column
* try fix with add an underlying table name, add function test
* format code
Co-authored-by: Ling Qin <lqin@freewheel.com>
2021-01-20 18:34:17 +03:00
Alexander Kuzmenkov
0526c55206
Merge remote-tracking branch 'origin/master' into tmp
2021-01-20 10:11:24 +03:00
Alexander Kuzmenkov
4d16dead0f
Merge remote-tracking branch 'origin/master' into HEAD
2021-01-19 20:34:01 +03:00
Alexander Kuzmenkov
f5931a2289
Merge pull request #19236 from ClickHouse/aku/echo-leading
...
Make `-- { echo }` hint preserve leading comments
2021-01-19 20:20:58 +03:00
Alexander Kuzmenkov
f346a9bf8b
frame grammar tmp
2021-01-19 04:00:39 +03:00
Anton Popov
dbc10b2024
Merge pull request #19063 from CurtizJ/exists-view
...
Support operations with views in ANTLR parser
2021-01-19 01:15:12 +03:00
Alexander Kuzmenkov
d0922e2985
Merge remote-tracking branch 'origin/master' into tmp
2021-01-18 23:23:49 +03:00
Alexander Kuzmenkov
ccd401289c
ya.make
2021-01-18 23:23:39 +03:00
Alexander Kuzmenkov
c153268da7
Make -- { echo }
hint preserve leading comments.
2021-01-18 15:15:46 +03:00
Alexander Kuzmenkov
765aa4d4e3
rewrote everything again
2021-01-15 23:30:44 +03:00
Ivan Lezhankin
066242c64d
Print errors through LOG_ERROR
2021-01-15 19:57:44 +03:00
Alexander Kuzmenkov
c9628386fc
more fixes
2021-01-15 01:39:43 +03:00
Alexander Kuzmenkov
1abb554d2b
test fixes
2021-01-14 23:47:52 +03:00
Alexander Kuzmenkov
f5d63c23a2
semicolon
2021-01-14 19:55:09 +03:00
Alexander Kuzmenkov
828dea83cb
Merge remote-tracking branch 'origin/master' into tmp
2021-01-14 18:50:34 +03:00
Alexander Kuzmenkov
d53da04e6f
without debug
2021-01-14 18:38:27 +03:00
Alexander Kuzmenkov
8be081e3c0
with debug
2021-01-14 18:35:52 +03:00
Anton Popov
0e2d49f065
Merge remote-tracking branch 'upstream/master' into HEAD
2021-01-14 15:03:08 +03:00
Anton Popov
9c9e2a5936
support operations with views in antlr parser
2021-01-14 15:02:29 +03:00
alexey-milovidov
bf8d58d2e8
Merge pull request #18723 from ucasFL/select-all
...
add SELECT ALL syntax
2021-01-14 11:53:09 +03:00
Anton Popov
4dd9165934
Merge pull request #18552 from spongedu/support_exists_view_v3
...
support EXISTS VIEW syntax
2021-01-14 01:23:50 +03:00
Alexander Kuzmenkov
48509a85d3
comment woes
2021-01-14 01:04:19 +03:00
Alexander Kuzmenkov
703731c547
something works
2021-01-13 22:29:52 +03:00
Anton Popov
11f459ad03
Merge branch 'support_exists_view_v3' of git://github.com/spongedu/ClickHouse into exists-view
2021-01-13 18:08:43 +03:00
Alexander Kuzmenkov
e6c2d0219d
window clause tmp
2021-01-12 21:34:35 +03:00
Anton Popov
15ead18673
Merge remote-tracking branch 'upstream/master' into HEAD
2021-01-12 19:46:10 +03:00
Anton Popov
aed8c78d0d
better check for existence of aggregate function
2021-01-12 18:35:07 +03:00
Anton Popov
61d6a323dd
multiple TTL with GROUP BY
2021-01-12 03:40:07 +03:00
Nikolai Kochetov
ee094ed7fd
Merge pull request #18896 from amosbird/keyconditionalias
...
correct index analysis of WITH aliases
2021-01-11 11:13:28 +03:00
feng lv
5f962015ca
fix
...
fix style
fix build
2021-01-11 04:28:22 +00:00
Amos Bird
44758935df
correct index analysis of WITH aliases
2021-01-10 17:40:47 +08:00
feng lv
8ab2832324
Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all
2021-01-09 02:36:25 +00:00
alexey-milovidov
7e52b0c964
Merge pull request #18789 from amosbird/onclusteraltersettings
...
Apply alter settings on cluster to all replicas
2021-01-08 07:27:13 +03:00
Alexey Milovidov
ffa5bbd5fd
Add SYSTEM SUSPEND command #15979
2021-01-07 22:19:33 +03:00