Azat Khuzhin
b2a3db1048
Ignore indices for CREATE TABLE .. AS .. if storage do not support them
2019-09-19 23:55:38 +03:00
alexey-milovidov
1fe79ad43c
Merge pull request #6941 from dimarub2000/enums_in_section
...
IN with Enums numeric values
2019-09-19 02:24:34 +03:00
alexey-milovidov
9c675e50bb
Merge pull request #6963 from nicelulu/issue_6616
...
optimize limit 1,0 and test.
2019-09-19 02:23:56 +03:00
chertus
194e49e751
fix UB in MergeJoinCursor
2019-09-18 19:46:00 +03:00
Artem Zuikov
aae82eed5a
Merge pull request #6940 from 4ertus2/mjoin
...
PartialMergeJoin
2019-09-18 16:16:10 +03:00
chertus
dd46c08e90
move JoinCommon funcs out of IJoin.h/cpp
2019-09-18 15:46:57 +03:00
chertus
0cf5bfdf44
fix typo
2019-09-18 15:24:35 +03:00
alexey-milovidov
fe9e110a6a
Merge pull request #6965 from azat-archive/sparsehash-c11
...
Replace libsparsehash with sparsehash-c11
2019-09-18 12:46:13 +03:00
alexey-milovidov
03014fe920
Merge pull request #6944 from malkfilipp/add-limit-clause-to-show-queries
...
Add LIMIT clause to SHOW queries
2019-09-18 02:07:45 +03:00
Azat Khuzhin
780341060f
Replace libsparsehash with sparsehash-c11
...
- use sparsehash-c11 over libsparsehash
- fix typos in find_sparsehash and users of the vars (s/SPARCE/SPARSE/)
- drop libsparsehash-dev from docker images (but keep for unbunlded build)
- use ::google over GOOGLE_NAMESPACE
2019-09-18 00:08:20 +03:00
root
f4b7cae998
optimize limit 1,0 and test.
2019-09-18 02:55:59 +08:00
chertus
2b3a4b0650
support const and LC columns in partial merge-join
2019-09-17 21:53:52 +03:00
chertus
58fad78980
support MergeJoin nullable convertion (right side)
2019-09-17 19:55:11 +03:00
Dmitry Rubashkin
2252ee5a90
Branch refactoring.
2019-09-17 11:17:46 +03:00
chertus
da5d35b34e
partial merge join (minimal tested version)
2019-09-16 22:31:22 +03:00
Dmitry Rubashkin
6f68cfc45c
Removed (most probably) redundant if branch. Fixed VALUES table funtion.
2019-09-16 18:44:12 +03:00
chertus
cbd96af079
fix use after free (change Join <-> AnalyzedJoin ownership)
2019-09-16 15:37:46 +03:00
Vitaly Baranov
fae612c3e7
Merge pull request #6907 from PerformanceVision/dict_allow_databases
...
Whitelist for dictionary from the current connected database
2019-09-16 11:52:25 +03:00
malkfilipp
98050c108f
Add LIMIT clause to SHOW queries
2019-09-15 19:07:27 +03:00
alexey-milovidov
831eebe4dc
Merge pull request #6934 from abyss7/CLICKHOUSE-4643
...
Name temporary external table with existing subquery alias
2019-09-15 09:46:10 +03:00
Vitaly Baranov
a2c9bec468
Fix typo
2019-09-15 01:56:37 +03:00
Vitaly Baranov
c17071caf0
Fix typo
2019-09-15 01:55:22 +03:00
Vitaly Baranov
0fb234c63e
Merge branch 'master' into dict_allow_databases
2019-09-15 01:51:44 +03:00
Dmitry Rubashkin
33e7e1ea93
Int64 added.
2019-09-13 21:25:53 +03:00
Dmitry Rubashkin
2705534be7
Merge branch 'enums_in_section' of github.com:dimarub2000/ClickHouse into enums_in_section
2019-09-13 20:50:53 +03:00
Dmitry Rubashkin
cd95e8e5e5
Fix inconsistent behaviour of IN with Enums
2019-09-13 20:49:53 +03:00
chertus
eb3d87032c
all|any left|inner, not tested
2019-09-13 20:23:32 +03:00
chertus
bd957168d2
any left join (without use_nulls)
2019-09-13 19:17:37 +03:00
Ivan Lezhankin
dc49303baf
Use existing alias as external table name
2019-09-13 16:25:24 +03:00
alesapin
02cff38fef
Merge with master
2019-09-13 13:58:23 +03:00
Nikolai Kochetov
86bee0b8b5
Merge pull request #6684 from yandex/processors-2
...
Processors 2
2019-09-13 11:58:04 +03:00
Guillaume Tassery
214d089bb5
Cosmetic and remove documentation
2019-09-13 10:26:04 +02:00
Guillaume Tassery
bb088fbf65
Write dictionary permission on user instead of dictionary configuration
2019-09-13 10:22:34 +02:00
alexey-milovidov
12c26e6013
Merge pull request #6891 from yandex/low_cardinality_in_native_http
...
Low cardinality in native http
2019-09-13 09:01:08 +03:00
chertus
bb5287841f
make things wrong 2
2019-09-12 21:06:25 +03:00
chertus
f7f2cface9
better nullability flags for JOINs
2019-09-12 17:09:05 +03:00
Nikolai Kochetov
1319168a3a
Merge branch 'master' into processors-2
2019-09-12 16:28:51 +03:00
Nikolai Kochetov
9dea55c284
Do not pin sources for non MergeTree tables.
2019-09-12 16:23:24 +03:00
chertus
441faba0e3
materializeBlockInplace function
2019-09-12 15:59:53 +03:00
chertus
61c940d5a9
better materialization logic in Join.cpp
2019-09-12 15:24:19 +03:00
chertus
fc7ce2753d
extract more common join functions
2019-09-11 21:03:21 +03:00
alesapin
b0fce77c3d
Fix path to data on disk
2019-09-11 20:17:10 +03:00
chertus
a836f0cfd6
fix columns number in MergeJoin
2019-09-11 19:19:33 +03:00
chertus
73dafaa223
better required-right-keys logic
2019-09-11 18:57:09 +03:00
Nikolai Kochetov
a2248868d8
Fix ast type checking.
2019-09-11 18:37:12 +03:00
Nikolai Kochetov
a59ae3826d
Do not flush output stream in copy data. Add special flushing callback to Watch query.
2019-09-11 14:38:05 +03:00
Nikolai Kochetov
96f7eb1141
Change number of aggregating streams.
2019-09-11 13:07:04 +03:00
Amos Bird
8f28a36c17
Use internal iteration over hash tables in Aggregator.
...
For compound hash tables such as the future StringHashMap, an
iterator-based API might be inefficient for iterating over a table or
for merging two tables, because:
1) the key has to be converted to a general format from a from a
component-specific format, which may differ between the components;
2) the information about the component of the compound hash table to
which the value belongs is lost, and has to be recalculated if the
value is reinserted.
A more efficient approach is to use internal iteration, that is,
map-like functions, which avoids unnecessary conversions when iterating,
and allows to use an efficient component-wise approach when merging.
2019-09-10 21:52:53 +03:00
chertus
8afa48fa42
some joins code unification
2019-09-10 21:39:10 +03:00
Alexander Kuzmenkov
160e0faf77
Do not use iterator::getValue() in Aggregator.
...
Use separate key and "mapped" value references instead. This is
important for hash tables that do not store the key/"mapped" pair
directly, and cannot provide this interface without some runtime
overhead.
2019-09-10 20:12:30 +03:00