Commit Graph

33921 Commits

Author SHA1 Message Date
Alexey Milovidov
e7241c1dbe Removed bad code around general compression methods 2020-01-04 10:42:52 +03:00
alexey-milovidov
4671fd5c63
Merge pull request #8523 from den-crane/patch-13
Doc Change. fix star_schema.md for  CH 19.17 - 19.19
2020-01-04 10:34:21 +03:00
alexey-milovidov
0f50f4ceba
Merge pull request #8516 from excitoon/patch-6
Improved extracting of GCC version.
2020-01-04 10:33:26 +03:00
Alexey Milovidov
0f4a58ecaa Removed bad code around general compression methods 2020-01-04 10:31:00 +03:00
alexey-milovidov
42226b1a96
Added setting "min_bytes_to_use_mmap_io" (#8520)
* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io"

* Added setting "min_bytes_to_use_mmap_io": better error message

* Added setting "min_bytes_to_use_mmap_io": fixed error
2020-01-04 08:46:50 +03:00
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
Denis Zhuravlev
08ba050205
Update star_schema.md
make sql prettier
2020-01-03 20:58:07 -04:00
Denis Zhuravlev
141ff30263
Update star_schema.md
make sql prettier
2020-01-03 20:58:00 -04:00
Azat Khuzhin
719f2a240b IMergedBlockOutputStream: Add LOGICAL_ERROR if there is no such stream 2020-01-04 03:56:14 +03:00
Denis Zhuravlev
d33b931a73
Update star_schema.md
typo
2020-01-03 20:42:50 -04:00
Denis Zhuravlev
b9db0af08c
Update star_schema.md
fix star schema ddl for modern CH 19.17 - 19.19 and any_join_distinct_right_table_keys issue
2020-01-03 20:39:59 -04:00
Denis Zhuravlev
f63401ae2b
Update star_schema.md
added missed semicolons
2020-01-03 20:28:25 -04:00
Denis Zhuravlev
173b7a0525
Update star_schema.md
fix star schema ddl for modern CH 19.17 - 19.19 and fix any_join_distinct_right_table_keys issue
2020-01-03 20:22:24 -04: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
Vladimir Chebotarev
e5b0be289c
Improved extracting of GCC version. 2020-01-03 16:25:00 +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
Nikolai Kochetov
833499cfb6 Merged with master. 2020-01-03 15:34:17 +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
Vitaliy Zakaznikov
25458a4865 Updates to make all live view tests to pass. 2020-01-03 02:48:15 +01: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
Vitaliy Zakaznikov
2c4bf0581f Fixing compilation errors. 2020-01-02 20:31:04 +01:00
Alexey Milovidov
ab001c5b3a Fixed build 2020-01-02 21:55:45 +03:00
Nikolai Kochetov
bb0454bb2e Revert prev commit. 2020-01-02 21:11:43 +03:00
Vitaliy Zakaznikov
d43eae2db8 First changes. 2020-01-02 12:24:55 -05: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
Alexander Burmak
70b3a1a0d8 Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log 2020-01-02 18:01:41 +03:00
Alexander Burmak
05869e6049 Addressed review comments 2020-01-02 17:37:31 +03:00
Kiran
ebb1864522 corrected control flow for clusterAllReplicas-TableFunction 2020-01-02 19:38:54 +05:30
zhang2014
9364397597 try fix some predicate optimizer bug 2020-01-02 21:14:48 +08:00
proller
4bb320627c Merge remote-tracking branch 'upstream/master' into fix27 2020-01-02 14:29:48 +03:00
proller
5b9c12ba3b Merge remote-tracking branch 'upstream/master' into fix27 2020-01-02 14:29:22 +03:00