Azat Khuzhin
2ee7cd03e2
Fix merge/OPTIMIZE of SimpleAggregateFunction(LowCardinality)
...
In AggregatingSortedBlockInputStream LowCardinality type will be
stripped (via RemovingLowCardinalityBlockInputStream), so it should be
stripped in addStreams, since otherwise it will find the stream by the
stream name.
Also addStreams interface should be reworked to accept DataTypePtr
(since recursiveRemoveLowCardinality() wants it).
Fixes : #8515
2020-01-04 03:59:28 +03:00
Azat Khuzhin
719f2a240b
IMergedBlockOutputStream: Add LOGICAL_ERROR if there is no such stream
2020-01-04 03:56:14 +03:00
Azat Khuzhin
3205165e5e
Add a test for OPTIMIZE of SimpleAggregateFunction(LowCardinality(Nullable()))
2020-01-04 00:51:34 +03:00
alexey-milovidov
880044eabd
Merge pull request #8517 from ClickHouse/escaping-of-query-parameters
...
Changed serialization of query parameters
2020-01-03 19:25:34 +03:00
alexey-milovidov
928f673669
Merge pull request #8514 from azat/view-related-tests
...
VIEW tests fixes
2020-01-03 18:34:30 +03:00
Alexey Milovidov
9a7f9e846e
Removed useless code from headers
2020-01-03 17:17:34 +03:00
Alexey Milovidov
74303e710d
Changed serialization of query parameters
2020-01-03 17:10:56 +03:00
Azat Khuzhin
425704e1d0
Add missing DROP TABLE into 01056_create_table_as
...
Also update abbrev in table names, lv stands for LIVE VIEW, v for VIEW
2020-01-03 17:04:49 +03:00
Nikolai Kochetov
d884ab4318
Merge pull request #7792 from vzakaznikov/live_view_support_for_subquery
...
Live view support for subquery
2020-01-03 15:49:44 +03:00
alexey-milovidov
35770403fc
Merge pull request #8335 from ClickHouse/better-priority-queue
...
Optimization of ORDER BY and merging
2020-01-03 14:55:25 +03:00
Azat Khuzhin
7d88218e9f
Fix 00980_create_temporary_live_view
2020-01-03 13:34:10 +03:00
alexey-milovidov
dcc0a7f116
Merge pull request #8507 from ClickHouse/update-libc-headers
...
Update submodule "libc-headers"
2020-01-03 13:07:05 +03:00
alexey-milovidov
50cc3092b6
Merge pull request #8508 from azat/create-table-as-dict-fix
...
Avoid SIGSEGV on CREATE TABLE .. AS dictionary
2020-01-03 11:15:46 +03:00
alexey-milovidov
1dc1411077
Update 01056_create_table_as.sql
2020-01-03 11:15:34 +03:00
Nikolai Kochetov
1b48ccde79
Fix comparison for SimpleSortCursor.
2020-01-03 10:04:40 +03:00
Azat Khuzhin
2aba254fb6
Add backQuoteIfNeed() in InterpreterCreateQuery::setEngine()
2020-01-03 02:17:57 +03:00
Azat Khuzhin
487a05fae4
Cover CREATE TABLE AS table/view/live-view/dictionary
2020-01-03 02:16:19 +03:00
Azat Khuzhin
1d44977ae2
Avoid SIGSEGV on CREATE TABLE .. AS dictionary
2020-01-03 01:54:08 +03:00
Alexey Milovidov
e2525186cb
Update submodule "libc-headers"
2020-01-03 00:43:33 +03:00
Alexey Milovidov
c007c9fc17
Fixed assert in debug build
2020-01-03 00:23:10 +03:00
alexey-milovidov
03be29eddb
Merge pull request #8501 from ClickHouse/stack-trace-in-std-exception
...
Calculate stack trace for std::exception (experimental)
2020-01-03 00:22:12 +03:00
Nikolai Kochetov
73949f1614
Fix MergingSorted
2020-01-02 23:26:27 +03:00
Nikolai Kochetov
92baec6488
Fix MergingSorted
2020-01-02 23:07:07 +03:00
Alexey Milovidov
ab001c5b3a
Fixed build
2020-01-02 21:55:45 +03:00
alexey-milovidov
738ef68e32
Merge pull request #8502 from amosbird/prewhere2
...
fix some prewhere tests
2020-01-02 19:42:10 +03:00
Alexey Milovidov
628ab6849f
Fixed build
2020-01-02 19:38:09 +03:00
Alexey Milovidov
9e78683c87
Fixed build
2020-01-02 19:32:17 +03:00
Nikolai Kochetov
a3cdc0b4b8
Nicer code in SortingHeap.
2020-01-02 14:12:21 +03:00
Alexey Milovidov
d50609d44c
Merge branch 'better-priority-queue' of github.com:yandex/ClickHouse into better-priority-queue
2020-01-02 13:41:04 +03:00
Alexey Milovidov
218ab1b25b
Merge branch 'master' into better-priority-queue
2020-01-02 13:40:33 +03:00
Nikolai Kochetov
24a1ee4f55
Fix direction for SimpleSortCursor.
2020-01-02 13:38:11 +03:00
Amos Bird
74dfa87b9a
fix prewhere test (camouflage an Easter Egg)
2020-01-02 18:29:59 +08:00
Alexey Milovidov
909ac8dcb8
Fixed build
2020-01-02 13:29:59 +03:00
Alexey Milovidov
8964a7ac42
Fixed build
2020-01-02 13:27:40 +03:00
Alexey Milovidov
2889d3541c
Fixed comment
2020-01-02 11:02:33 +03:00
Alexey Milovidov
18a27d532c
Stack trace for every exception (experimental)
2020-01-02 10:59:18 +03:00
Alexey Milovidov
c1699b9555
Stack trace for every exception (experimental)
2020-01-02 10:37:13 +03:00
Alexey Milovidov
221f99e5b7
Added another diagnostic trap
2020-01-02 10:31:25 +03:00
Alexey Milovidov
3367e42297
Stack trace for every exception (experimental)
2020-01-02 10:16:02 +03:00
Alexey Milovidov
73ae5ab7fc
Stack trace for every exception (experimental)
2020-01-02 10:09:56 +03:00
Alexey Milovidov
67afaa9d93
Stack trace for every exception (experimental)
2020-01-02 09:56:53 +03:00
Nikolai Kochetov
aaca37a472
Merge pull request #8497 from ClickHouse/json-quote-perftest
...
JSON quoting in perftest
2020-01-02 09:26:11 +03:00
Ivan
835be7d47c
Proper ASM files generation for darwin ( #8297 )
2020-01-02 03:28:40 +03:00
Vitaliy Zakaznikov
d0f7a2f3da
Fixing styling error.
2020-01-01 18:01:43 -05:00
Vitaliy Zakaznikov
aeeb4457ed
Updates to simply extractDependentTable
2020-01-01 23:57:18 +01:00
Nikolai Kochetov
a04f8ca955
Correct quoting for query in perftest.
2020-01-01 23:04:49 +03:00
Nikolai Kochetov
944daef70b
Correct quoting for query in perftest.
2020-01-01 22:55:08 +03:00
Nikolai Kochetov
950fe0dfd6
Correct quoting for query in perftest.
2020-01-01 22:32:08 +03:00
Ivan Lezhankin
a33ade77fd
Update packager for darwin
2020-01-01 22:27:48 +03:00
Vitaliy Zakaznikov
00d5997612
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into live_view_support_for_subquery
2020-01-01 17:59:59 +01:00