Amos Bird
fbfbe161ec
Unify hash tables interface.
2019-11-06 00:08:04 +08:00
Nikolai Kochetov
43c8d13de6
Merge pull request #7496 from amosbird/fix15
...
Fix HAVING without GROUP BY
2019-10-28 02:44:24 +03:00
Amos Bird
77bdfb3350
Fix HAVING without GROUP BY
2019-10-27 22:10:54 +08:00
alesapin
04ca163518
Merge branch 'master' into dictionaries_ddl_loader
2019-10-25 10:58:04 +03:00
chertus
f2028e901d
review related changes
2019-10-24 16:04:50 +03:00
chertus
12cd21f3c3
Merge branch 'master' into ast
2019-10-24 15:20:09 +03:00
Artem Zuikov
39b64dff87
Merge pull request #7454 from 4ertus2/refactoring
...
Refactoring: extract non aliases logic out of QueryNormalizer
2019-10-24 14:34:53 +03:00
alesapin
a6199b7e69
Merge with master
2019-10-24 12:33:40 +03:00
chertus
20093fa065
extract more logic out of QueryNormalizer
2019-10-23 16:59:03 +03:00
Amos Bird
295864e6e0
better scalar query
2019-10-23 21:37:54 +08:00
alesapin
c3519ff376
Better check of dictionary lifetime for updates
2019-10-23 16:02:40 +03:00
Alexander Kuzmenkov
1a609c27bd
Merge pull request #6243 from ClickHouse/aku/hashtables
...
Introduce String Hash Map to speed up aggregation over short string keys.
2019-10-23 12:52:50 +03:00
alesapin
6a0246f58e
Fix if
2019-10-23 12:40:09 +03:00
alesapin
0abb2e538b
Remove strange logic
2019-10-23 12:36:20 +03:00
alesapin
fb349757ba
Fix ubsan error
2019-10-23 12:27:34 +03:00
alesapin
dc6090a2ac
More readable code in external loader
2019-10-22 16:41:17 +03:00
alesapin
ae42dd1cea
Better doLoading locking logic
2019-10-22 15:57:58 +03:00
alesapin
d3461f9d46
TODO comments
2019-10-22 14:03:16 +03:00
alesapin
4c5d150d7a
Review fixes
2019-10-22 13:47:43 +03:00
Ivan
7ba4e36e73
Don't push to MVs when inserting into Kafka table ( #7265 )
...
* Do not insert values into MV when inserting directly to Kafka
* Add method noPushingToViews() to IStorage interface
To separate InterpreterInsertQuery and StorageKafka
2019-10-22 13:31:28 +03:00
chertus
851b00c99f
minor visitors improvement
2019-10-21 19:22:54 +03:00
alesapin
ff7850cfbd
Remove strange code in favor of less strange code
2019-10-21 17:59:35 +03:00
alesapin
f7043c38bd
Less diff
2019-10-21 17:20:42 +03:00
alesapin
fc05110d66
Better naming
2019-10-21 17:07:47 +03:00
alesapin
e4a936cf41
Fix add and reload
2019-10-21 16:54:23 +03:00
Amos Bird
a864447802
Introduce String Hash Map.
...
It speeds up aggregation over short string keys. Use it as a default
aggregation method for string keys.
2019-10-21 16:27:35 +03:00
chertus
4f0859a5fa
Merge branch 'master' into ast
2019-10-21 15:08:05 +03:00
chertus
5ef7376cbf
fix distributed join on
2019-10-21 14:22:22 +03:00
alesapin
26c87e46c9
Merge branch 'master' into dictionaries_ddl_loader
2019-10-21 11:46:49 +03:00
alesapin
35e66d6696
Merge with master
2019-10-21 11:46:11 +03:00
alexey-milovidov
8b8cc67873
Merge pull request #7390 from azat/processlist-log-queue_max_wait_ms
...
Add a message in case of queue_wait_max_ms wait takes place
2019-10-20 17:55:36 +03:00
Azat Khuzhin
94948c2579
Add a message in case of queue_wait_max_ms wait takes place
...
Since there no information about this, while this can be interesting,
for example to tune max_concurrent_queries in some cases.
2019-10-18 23:36:12 +03:00
chertus
c5a850240c
better ambiguous column detection in multiple join rewriter
2019-10-18 20:09:17 +03:00
chertus
2533652847
columns match priority: table alias > table name> aliased table name
2019-10-18 19:16:57 +03:00
alesapin
cdc195727e
Fix some races from lazy load and add ugly interface to loader (need to be refactored)
2019-10-18 19:04:09 +03:00
Alexander Kuzmenkov
5e2cc37381
Distinguish Array and Tuple field types when creating from array of Fields. ( #7179 )
2019-10-18 18:57:05 +03:00
Alexander Kuzmenkov
3143fa37d7
Merge pull request #7371 from CurtizJ/fix-optimize-read-in-order
...
Fix optimize_read_in_order with IN and a subquery.
2019-10-18 15:55:53 +03:00
chertus
0f6176cc2d
throw on ambiguous qualified column
2019-10-18 00:08:28 +03:00
alesapin
c29b39002d
Fix race condition, add test
2019-10-17 20:36:53 +03:00
alesapin
05392fd882
Fix deadlock, add test and refactoring
2019-10-17 20:18:54 +03:00
tavplubix
0046b9f137
Wait for jobs to finish on exception (fixes rare segfaults) ( #7350 )
2019-10-17 17:41:27 +03:00
Alexander Kuzmenkov
b62c9e729d
Merge pull request #7215 from ClickHouse/formats_improvements
...
Miscellaneous formats improvements
2019-10-17 17:37:38 +03:00
CurtizJ
546414c015
fix optimize_read_in_order with in subquery
2019-10-17 16:11:27 +03:00
alesapin
6dfe5c7142
Better introspection
2019-10-17 16:05:12 +03:00
Ivan
e595df05d9
Fix CREATE TABLE AS from table with virtual columns ( #7183 )
...
* Disable undefined instrumentation for rdkafka
2019-10-17 14:12:35 +03:00
alesapin
3987a45ea2
Fix build and style
2019-10-17 12:05:48 +03:00
alesapin
a19a699bef
Fix confused variables
2019-10-16 20:52:56 +03:00
chertus
483108f46f
column to table matching refactoring
2019-10-16 20:33:53 +03:00
alesapin
01e23f0a22
Better load of dictionaries
2019-10-16 20:06:52 +03:00
alesapin
b4e0ded048
Almost working
2019-10-16 17:59:52 +03:00