Martijn Bakker
f6987cfa52
have the parser recognize asof joins and feed them through to the executor
...
insert the time series into a struct ready for joining
working version that inserts the data into the hash table using the existing dispatching machinery for various types
working asof left join in clickhouse
add a test for the asof join
do some asof join cleanup
revisit the logic in case the values match between left and right side
2019-03-26 19:17:21 +00:00
Alexey Milovidov
87e72a9941
Removed bug (already fixed) #4108
2019-03-26 20:27:03 +03:00
Alexey Milovidov
43fd01589a
Merge branch 'master' of github.com:yandex/ClickHouse
2019-03-26 20:24:12 +03:00
Alexey Milovidov
75f1ba6763
Added bug
2019-03-26 20:23:59 +03:00
alexey-milovidov
aab7c79220
Merge pull request #4671 from LiuYangkuan/Buffer-supportsPrewhere
...
change supportsPrewhere() of Buffer and return its destination_table supportsPrewhere
2019-03-26 19:55:27 +03:00
alexey-milovidov
b8d9ed6f54
Merge pull request #4723 from 4ertus2/joins
...
Fix LEFT JOIN with const column + lots of Join.cpp refactoring
2019-03-26 19:46:46 +03:00
alexey-milovidov
c2e4942009
Merge pull request #4705 from 4ertus2/ast
...
SelectQueryOptions + fix duplicates in GLOBAL JOIN with asterisks
2019-03-26 19:45:27 +03:00
alexey-milovidov
d047a62e31
Merge pull request #4790 from TCeason/fix_crash
...
Fix crash when distributed modify order by
2019-03-26 19:41:00 +03:00
alexey-milovidov
04e76f40de
Update 00910_crash_when_distributed_modify_order_by.sql
2019-03-26 19:37:58 +03:00
tai
9d232778fc
Fix crash when distributed modify order by
...
Did not determine if order_by_ast is empty.
If it is null, it will clone a null pointer and cause server crash.
2019-03-26 13:33:39 +08:00
alexey-milovidov
06e79a7643
Merge pull request #4780 from danlark1/master
...
Hyperscan string search regular expression matching was added
2019-03-25 04:26:18 +03:00
Danila Kutenin
1e1e3b3d38
Fix hyperscan, add some notes, test, 4 more perf tests
2019-03-25 00:47:34 +03:00
Danila Kutenin
725139f0f5
Renamings, fixes to search algorithms, more tests
2019-03-24 01:49:38 +03:00
Danila Kutenin
f8001b41ba
Hyperscan multi regular expressions search
2019-03-23 22:40:16 +03:00
alexey-milovidov
2a57e69111
Merge pull request #4777 from yandex/olegkv-master
...
Merging #4741
2019-03-23 17:25:48 +03:00
alexey-milovidov
0913173f29
Merge pull request #4776 from yandex/sum-aggregate-function-states-fix-bad-code
...
Fixed bad code with arithmetic ops on aggregate function states
2019-03-23 17:25:31 +03:00
alexey-milovidov
b1279c1323
Merge pull request #4743 from azat-archive/clickhouse-client-tty
...
clickhouse-client: fix --help without tty
2019-03-23 05:54:05 +03:00
Alexey Milovidov
d3062924c8
Added proper test for merging of "histogram" aggregate function states
2019-03-23 05:49:16 +03:00
Alexey Milovidov
1fdbb11bfb
Merge branch 'sum-aggregate-function-states-fix-bad-code' into olegkv-master
2019-03-23 05:44:53 +03:00
Alexey Milovidov
842721ffb1
Merge branch 'master' of https://github.com/olegkv/ClickHouse into olegkv-master
2019-03-23 05:39:44 +03:00
Alexey Milovidov
847abfdbb1
Fixed bad code with arithmetic ops on aggregate function states
2019-03-23 05:35:50 +03:00
olegkv
5fb3e2344e
Update 00151_histogram_merge.reference
2019-03-22 22:34:27 -04:00
olegkv
56f285104b
Update 00151_histogram_merge.sql
2019-03-22 22:33:46 -04:00
olegkv
8b192c482a
Update 00151_histogram_merge.sql
2019-03-22 22:33:08 -04:00
Azat Khuzhin
6d8706e692
clickhouse-client: fix --help without tty
...
stdin_is_not_tty is detected too late when the --help message is
printed, so fix this and do not call ioctl if stdin is not tty.
Before this patch:
$ clickhouse-client --help < /dev/null
debug build:
$ dbms/programs/clickhouse-client --help < /dev/null
Main options:
--help
clickhouse-client: ../contrib/boost/libs/program_options/src/options_description.cpp:542:
void boost::program_options::{anonymous}::format_description(std::ostream&, const string&, unsigned int, unsigned int): Assertion `line_length > first_column_width' failed.
Aborted (core dumped)
release build:
$ dbms/programs/clickhouse-client --help < /dev/null
.... print lots of empty lines and so forth ...
v2: add a test and bsdutils into image for tests
v3: adjust minimal cols to the length of one of the longest arguments,
since with line_length=3 boost will bail anyway (under script(1)
ioctl(TIOCGWINSZ) returnes ws_col=0)
2019-03-23 02:01:32 +03:00
chertus
0cc90cf2db
rename insert_sample_with_metadata setting
2019-03-22 19:15:44 +03:00
chertus
abf13ba0c1
test for insert_json_with_defaults + Nested
2019-03-22 18:39:01 +03:00
chertus
6e2d23444f
add test for json defaults over http
2019-03-22 17:24:28 +03:00
chertus
3e146c7bbd
Merge branch 'master' into joins
2019-03-21 22:01:35 +03:00
alexey-milovidov
2b33e9b7d5
Merge pull request #4499 from nikvas0/nikvas0/bloom_filter_index
...
Bloom filter indices
2019-03-21 01:29:05 +03:00
olegkv
1964e72205
Create 00151_histogram_merge.reference
2019-03-20 18:05:04 -04:00
olegkv
00b10be7c3
Create 00151_histogram_merge.sql
2019-03-20 18:02:47 -04:00
proller
f697df2079
Tests: fix call .sh from .sh ( #4732 )
2019-03-20 23:04:49 +03:00
chertus
b1f4cc6ed2
fix left join with const column
2019-03-20 20:20:14 +03:00
Nikita Vasilev
c10f10cc0b
Merge remote-tracking branch 'upstream/master' into nikvas0/bloom_filter_index
2019-03-20 19:39:18 +03:00
Nikita Vasilev
09b9fe9491
_v1
2019-03-20 17:52:05 +03:00
liuyangkuan
fbcf82c4df
add interpretation of PREWHERE in StorageBuffer::read
2019-03-20 14:45:04 +08:00
chertus
c9169b0a98
Merge branch 'master' into ast
2019-03-18 20:46:24 +03:00
chertus
882f36f251
mark some tests as long
2019-03-18 18:40:53 +03:00
proller
78e0b1af5e
Fix compression level detection when network_compression_method in lowercase ( #4706 )
2019-03-18 17:59:07 +03:00
chertus
7561ff2ab7
fix dups in GLOBAL JOIN with asterisks
2019-03-18 17:56:33 +03:00
chertus
f67327ba1c
rename test (need zookeeper)
2019-03-18 15:09:55 +03:00
Alexey Zatelepin
304c67da99
Merge branch 'master' into fix-add-materialized-column-after
...
Conflicts:
dbms/src/Interpreters/InterpreterCreateQuery.cpp
dbms/src/Interpreters/InterpreterDescribeQuery.cpp
dbms/src/Interpreters/interpretSubquery.cpp
dbms/src/Storages/ColumnsDescription.cpp
2019-03-17 00:46:53 +03:00
alexey-milovidov
ae2d974dda
Merge pull request #4708 from kvap/distributed-limit-by
...
Make the query planner respect LIMIT BY in remote queries
2019-03-16 20:54:06 +03:00
Alexey Zatelepin
7a033f5469
fix columns order in test references [#CLICKHOUSE-3101]
2019-03-16 17:56:59 +03:00
Alexey Zatelepin
6505ff1098
add test [#CLICKHOUSE-3101]
2019-03-15 19:37:52 +03:00
Constantin S. Pan
df6860d5e0
Make the query planner respect LIMIT BY in remote queries
2019-03-15 15:26:21 +00:00
Alexey Milovidov
a459b2c298
Fixed insufficient type checking in hasAll, hasAny functions
2019-03-15 02:10:51 +03:00
proller
7d409c5294
Tests: dont use table test.visits
2019-03-14 21:04:55 +03:00
alesapin
e8dfa122a3
Merge pull request #4693 from abyss7/fix-00917_multiple_joins_denny_crane
...
Disable part with predicate optimization for now
2019-03-14 19:35:04 +03:00