Commit Graph

577 Commits

Author SHA1 Message Date
Alexey Milovidov
23d7947549 Fix constraints for DEFAULT fields; fix constraints for temporary tables; improve performance of INSERT for small blocks 2020-05-29 05:08:48 +03:00
alexey-milovidov
fb4d272f5b
Merge pull request #11258 from vitlibar/protobuf-fix-handling-bad-data
Fix handling bad data while reading in Protobuf format.
2020-05-28 23:26:20 +03:00
Vitaly Baranov
99626a5bd3 Add test for handling malformed protobuf data. 2020-05-28 20:07:54 +03:00
tavplubix
801c1c1240
Merge pull request #11205 from ClickHouse/fix-view-totals
Fix totals and extremes header for view.
2020-05-28 15:05:34 +03:00
Alexander Kuzmenkov
a697560738
Merge pull request #11224 from ClickHouse/aku/merge-arrow-stream
Merge ArrowStream format #11088
2020-05-28 09:37:40 +03:00
alexey-milovidov
cbac07f5eb
Merge pull request #11163 from azat/bump-jemalloc
[WIP] Bump jemalloc to 5.2.1
2020-05-28 01:17:26 +03:00
alexey-milovidov
dffeec8637
Merge pull request #10537 from expl0si0nn/ttl_expr_data_rollup
Support of WHERE and GROUP BY in TTL expressions
2020-05-27 21:35:55 +03:00
Artem Zuikov
4fa3628097
test for probably fixed issue (#11221) 2020-05-27 17:25:11 +03:00
Alexander Kuzmenkov
ac263f921e Merge remote-tracking branch 'origin/master' into HEAD 2020-05-27 15:51:03 +03:00
Alexander Kuzmenkov
0fc1268432
Merge pull request #11120 from azat/function-port
Add port() function
2020-05-27 15:27:06 +03:00
alexey-milovidov
2da6a39d5b
Merge pull request #11119 from azat/flacky-test-group_by_limit_memory_tracking
Fix 01281_group_by_limit_memory_tracking flackiness
2020-05-27 14:09:22 +03:00
alexey-milovidov
8bfe21f101
Update 01281_group_by_limit_memory_tracking.sh 2020-05-27 14:09:12 +03:00
Nikolai Sorokin
141ed88751 Allow functions in group by keys; Add default aggregate function; Add more tests 2020-05-27 12:53:15 +03:00
Nikolai Sorokin
ed09f68b8d Better tests 2020-05-27 12:53:15 +03:00
Nikolai Sorokin
c6541b1dad Up test id; Fix clang build 2020-05-27 12:53:15 +03:00
Nikolai Sorokin
9269db072a Better tests 2020-05-27 12:53:15 +03:00
Nikolai Sorokin
a991dcf9f4 Add tests 2020-05-27 12:53:15 +03:00
Azat Khuzhin
ec894e7cb3 Check for POPCNT instruction 2020-05-27 03:01:16 +03:00
alexey-milovidov
2aeb6017c1
Merge pull request #11211 from ClickHouse/fix-flacky-test-dist-on-dist
Fix flacky test #11190
2020-05-27 00:49:45 +03:00
Nikolai Kochetov
361b92f083
Merge pull request #11200 from ClickHouse/fix-strict-resize-finishing
Fix StrictResize
2020-05-26 21:31:44 +03:00
Alexey Milovidov
009f57fc2f Fix flacky test #11190 2020-05-26 21:26:17 +03:00
Vasily Nemkov
28a2cc0a82 Functions {to,from}UnixTimestamp64{Milli,Micro,Nano}
* Family of functions to convert DateTime64 to Int64 and back, usefull for
   imporintg/exporting raw timestamp values of certain precision.
 * Docs
 * Tests
 * Fixed ya.make
2020-05-26 16:42:22 +03:00
Nikolai Kochetov
8074e2027f Added test. 2020-05-26 16:32:44 +03:00
Nikolai Kochetov
b16936ba9d Added test. 2020-05-26 13:37:10 +03:00
Ilya Yatsishin
2b155ac989
Merge pull request #11185 from ClickHouse/fix-lambda-lc-args
Fix lambda lc args
2020-05-26 10:27:35 +03:00
Nikolai Kochetov
53a514093a Added test. 2020-05-25 22:22:03 +03:00
alesapin
51ffcff75b
Merge pull request #11180 from ClickHouse/revert_flush_logs_in_test
Revert #11023
2020-05-25 17:38:19 +03:00
Nikolai Kochetov
c83014bc76
Merge pull request #11114 from azat/max_threads-simple-query-optimization-fix
Do not reserve extra threads after max threads optimization for simple queries
2020-05-25 14:05:46 +03:00
alesapin
3d9ba9ff8a Revert #11023 2020-05-25 13:06:27 +03:00
hcz
f2e3bcdd15 Improve code style in src and test files of Arrow formats 2020-05-25 10:50:55 +08:00
Alexey Milovidov
75dbfd4652 Fix flacky test 2020-05-25 01:36:00 +03:00
Azat Khuzhin
9de1a231c9 Add optional default_port argument for the port() function 2020-05-23 23:36:01 +03:00
Azat Khuzhin
aa5247f1fe Get back 01281_group_by_limit_memory_tracking (without flackiness) 2020-05-23 22:57:29 +03:00
Azat Khuzhin
409cff11df Add port() function
It uses domain() (getURLHost()) internally so it has the same
limitations:
- no ipv6 support
- no host-without-dots support (i.e. "foobar")
2020-05-23 20:45:56 +03:00
alexey-milovidov
08c7277d2b
Merge pull request #11144 from ClickHouse/dont-validate-polygons-in-non-constant-case
Fix performance issue with pointInPolygon
2020-05-23 18:54:50 +03:00
tavplubix
6ece9649f1
Merge pull request #11151 from naorlov/CLICKHOUSE-7224
Add `FailedQuery`, `FailedSelectQuery` and `FailedInsertQuery`
2020-05-23 18:47:44 +03:00
Azat Khuzhin
8c69245283 Add a test for max_threads optimization for simple queries 2020-05-23 17:07:43 +03:00
Alexey Milovidov
d5ed38cfe0 Adapted test: do not use points on the edges 2020-05-23 14:27:02 +03:00
Nikita Orlov
d06e7bab7e
issue-7224 Fix failing tests 2020-05-23 13:45:27 +03:00
Nikita Orlov
2545efcf2e
issue-7224 Added tests 2020-05-23 02:03:02 +03:00
Vitaly Baranov
5a0f356cd6
Merge pull request #11038 from Enmk/parseDateTime64BestEffort_fix
Fixed parseDateTime64BestEffort implementation
2020-05-22 14:40:39 +03:00
alexey-milovidov
e5808c6f2f
Merge pull request #11122 from ClickHouse/aku/addr2line
Remove extra copying from addressToLine
2020-05-22 14:16:46 +03:00
Alexey Milovidov
a2fabd7ff0 Remove unreliable test #11119 2020-05-22 12:36:26 +03:00
alesapin
b9dfa61774
Merge pull request #11042 from CurtizJ/modify-ttl
Apply TTL for old data, after ALTER MODIFY TTL query
2020-05-22 11:12:14 +03:00
Alexander Kuzmenkov
322d731d28 Remove extra copying from addressToLine
The line is already serialized to the same arena, so there is no need to
copy it. Also add this function to query profiler test, so that it has
some coverage.
2020-05-22 03:01:35 +03:00
alexey-milovidov
2d9433242e
Merge pull request #11097 from ClickHouse/azat-memory-tracking-2
Merging #11022
2020-05-21 20:19:59 +03:00
alexey-milovidov
41a3817efa
Merge pull request #11096 from ClickHouse/test-for-ttl-in-system-parts
Test for TTL info in system.parts
2020-05-21 20:19:41 +03:00
Vasily Nemkov
403aae9126 Fixed parseDateTime64BestEffort implementation
Fixed argument resolution issues.
Added tests and made sure -orNull and -orZero variants alwo work correctly.
2020-05-21 17:21:39 +03:00
alexey-milovidov
b480f137f3
Merge pull request #10623 from livace/master
Add point in polygon for non-const polygons
2020-05-21 15:18:24 +03:00
alexey-milovidov
569f20e4c6
Merge pull request #11023 from azat/tests-system-log-cleanup
[RFC] Truncate system.*_log tables before each test
2020-05-21 15:14:25 +03:00