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
Alexey Milovidov
b2057159c1
Experiment on parsing backslash escapes in a more convenient way #10922
2020-05-26 17:24:20 +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
Azat Khuzhin
88d08f9f39
Move tests from 00740_optimize_predicate_expression to 01056_predicate_optimizer_bugs
2020-05-23 00:36:30 +03:00
Azat Khuzhin
765ed4f89b
Fix 01056_predicate_optimizer_bugs
2020-05-23 00:36:30 +03:00
Azat Khuzhin
f19c619dfe
Add test from #10613 for enable_optimize_predicate_expression
2020-05-23 00:36:30 +03:00
Azat Khuzhin
6d40c1ea2c
Preserve order of expressions during predicates optimization (enable_optimize_predicate_expression)
...
Before this patch enable_optimize_predicate_expression changes the
order *every* time, so:
foo AND bar -> bar AND foo
And this causes troubles for distributed queries, since query on shard
will have different order of expressions with the initiating server.
2020-05-23 00:36:30 +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
Alexey Milovidov
6669607e17
Merge branch 'master' into vectorize-sum
2020-05-21 15:02:51 +03:00
Alexey Milovidov
80c7e85f38
Disable potentially unreliable check
2020-05-21 13:58:05 +03:00
Alexey Milovidov
886266fdad
Attempt to fix an error
2020-05-21 13:57:24 +03:00
Alexey Milovidov
1fca0294fe
Fix logical error in test
2020-05-21 13:48:48 +03:00
Alexey Milovidov
c816916fba
Fix typo
2020-05-21 13:46:36 +03:00
Alexey Milovidov
38f36f6b58
Merge branch 'memory-tracking' of https://github.com/azat/ClickHouse into azat-memory-tracking-2
2020-05-21 13:00:04 +03:00
Alexey Milovidov
7e4cd8f8d4
Test for TTL info in system.parts
2020-05-21 12:55:39 +03:00
Nikolai Kochetov
986dfe79a5
Merge pull request #10858 from azat/min_mv_insert_block_size
...
[RFC] Introduce min_insert_block_size_{rows,bytes}_for_materialized_views (for MVs)
2020-05-21 12:52:58 +03:00
hcz
4effdeaa0e
Add tests
2020-05-21 12:13:49 +08:00
Azat Khuzhin
77bdb5f462
Add a test for GROUP BY memory accounting
...
- GROUP BY
- GROUP BY LIMIT
- GROUP BY MEMORY_LIMIT_EXCEEDED
2020-05-21 02:06:55 +03:00
Anton Popov
d62fe980ef
Merge remote-tracking branch 'upstream/master' into modify-ttl
2020-05-20 16:52:30 +03:00
Vitaly Baranov
06d18a4378
Merge pull request #11050 from vitlibar/amosbird_betterdictget
...
dictGet with table name
2020-05-20 14:18:24 +03:00
Artem Zuikov
9b38324028
fix JOIN with PREWHERE with second analyze() ( #11051 )
2020-05-20 12:29:23 +03:00
alesapin
dc330ca7cb
Merge pull request #11037 from ClickHouse/alter_rename_and_modify
...
Fix alter rename with different types of alter
2020-05-20 11:28:13 +03:00
Vitaly Baranov
57bd7afc03
Fix passing dictionary's name to dictGet() with alias.
2020-05-19 21:17:29 +03:00
Amos Bird
ce3c53a00a
dictGet* with table name
2020-05-19 20:33:45 +03:00
Nikolai Kochetov
c147badf4f
Merge remote-tracking branch 'upstream/master' into min_mv_insert_block_size
2020-05-19 18:24:21 +03:00
alesapin
70e5553204
At least something works
2020-05-19 12:54:56 +03:00
Anton Popov
58ed04dc24
materialize TTL after its modifying
2020-05-19 04:53:01 +03:00
Azat Khuzhin
bd86f15680
Use QueryFinish over magic const in tests
...
Find all usages with:
$ git grep 'type[ ]*=[ ]*2' tests/queries/0_stateless/
Sure this is not all...
2020-05-18 21:18:37 +03:00
Azat Khuzhin
32071ba080
Do not add event_date/event_time condition for system.*_log
...
Also some of them can be even more simplified, since the system.*_log
are empty most of the time there should not be any conditions at all
(i.e. `query` LIKE and so on).
2020-05-18 21:18:37 +03:00
Vitaliy Zakaznikov
59a1c230cd
Fixing tests/queries/0_stateless/00979_live_view_watch_continuous_aggregates.py.
2020-05-18 20:17:29 +02:00
alesapin
1ccd4fb978
Add missed drop in test
2020-05-18 12:24:48 +03:00
alesapin
0395f59b73
Just wait slightly more in test
2020-05-18 12:03:51 +03:00
Alexey Milovidov
738842b846
Moved test #4277 to bugs
2020-05-18 09:20:17 +03:00
Alexey Milovidov
daeaa07c90
Merge branch 'pull-4277'
2020-05-18 09:19:23 +03:00
Alexey Milovidov
65e387f1a3
Added a test
2020-05-18 08:03:58 +03:00
alexey-milovidov
893d05c1a0
Merge pull request #10989 from ClickHouse/fix-test-right-join
...
Fix non-deterministic test
2020-05-18 07:43:12 +03:00
alexey-milovidov
7efd2a825f
Merge pull request #10463 from ClickHouse/parallel-final
...
Parallel final
2020-05-18 05:20:18 +03:00
Alexey Milovidov
ed6c8054f0
Fix bad test
2020-05-18 03:48:46 +03:00
Andrei Nekrashevich
eba043aaf8
Merge branch 'master' into random_string_utf8_function
2020-05-17 22:53:42 +03:00
alexey-milovidov
f7b1263d41
Merge pull request #10268 from ClickHouse/max-rows-to-sort
...
Added failing tests about "max_rows_to_sort" setting.
2020-05-17 22:21:30 +03:00
alexey-milovidov
8d3c37992a
Merge pull request #10533 from ClickHouse/alter-key-column-better-exception-message
...
Better exception message and error code for ALTER of key column #9078
2020-05-17 22:21:14 +03:00
alexey-milovidov
92686fea27
Merge pull request #10974 from ClickHouse/xolm-random_fixed_string_function
...
Merging #10866
2020-05-17 22:20:53 +03:00
alexey-milovidov
76dfc37bbf
Merge pull request #10975 from ClickHouse/Potya-master
...
Merging #10856
2020-05-17 22:20:36 +03:00
Andrei Nekrashevich
9d2801e0d8
fix
2020-05-17 16:07:37 +03:00
alexey-milovidov
7cf3538840
Merge pull request #10270 from ClickHouse/quota-key-in-client
...
Support quota_key for Native client
2020-05-17 14:09:40 +03:00
Azat Khuzhin
c35c89f61a
Add a test for min_insert_block_size_rows_for_materialized_views
2020-05-17 12:19:44 +03:00
alexey-milovidov
6c49967395
Merge pull request #10802 from PerformanceVision/offset_without_limit
...
Add the ability to set an OFFSET clause without a LIMIT
2020-05-17 12:06:22 +03:00
Alexey Milovidov
59b0435547
Fix tests
2020-05-17 11:25:29 +03:00
Alexey Milovidov
c701ccbec0
Merge branch 'master' of https://github.com/Potya/ClickHouse into Potya-master
2020-05-17 11:19:37 +03:00
alexey-milovidov
1bceb48e65
Merge pull request #10920 from ClickHouse/fix-notNullIn-with-null
...
Fix not null in with null
2020-05-17 11:16:43 +03:00
Alexey Milovidov
157d0b612c
Merge branch 'random_fixed_string_function' of https://github.com/xolm/ClickHouse into xolm-random_fixed_string_function
2020-05-17 10:54:48 +03:00
alexey-milovidov
2ec9d1e9ab
Merge pull request #10512 from ClickHouse/fix-ubsan-decimal-parse
...
Fix UBSan report in Decimal parse
2020-05-17 10:46:03 +03:00
Alexey Milovidov
de8120d69a
Improvement; added a test
2020-05-17 10:17:54 +03:00
Alexey Milovidov
20c9c2d3ec
Better test
2020-05-17 09:52:33 +03:00
Alexey Milovidov
1ebd71a230
Updated test reference because new result is correct
2020-05-17 09:48:49 +03:00
Alexey Milovidov
f7087c721e
Merge branch 'master' into max-rows-to-sort
2020-05-17 09:08:46 +03:00
Alexey Milovidov
47504dc213
Merge branch 'max-rows-to-sort' of github.com:yandex/ClickHouse into max-rows-to-sort
2020-05-17 08:57:42 +03:00
Alexey Milovidov
3742462119
Merge branch 'master' into max-rows-to-sort
2020-05-17 08:56:42 +03:00
Alexey Milovidov
f4ac1eec04
Merge branch 'master' into quota-key-in-client
2020-05-17 08:15:13 +03:00
Alexey Milovidov
7396790bd9
Update tests
2020-05-17 07:47:32 +03:00
Andrei Nekrashevich
675509ed23
Added function randomStringUTF8
2020-05-17 07:43:53 +03:00
Alexey Milovidov
f8a6fa8728
Update test
2020-05-17 06:18:06 +03:00
Alexey Milovidov
b156ac3cc1
Merge branch 'master' into fix-ubsan-decimal-parse
2020-05-17 05:42:24 +03:00
Alexey Milovidov
7df4748753
Merge branch 'master' into variance-nonnegative
2020-05-17 05:00:59 +03:00
Alexander Tokmakov
f89bf6155b
fix bad test
2020-05-17 04:16:56 +03:00
Alexey Milovidov
a9f64b4c1c
Ensure that the variance is nonnegative
2020-05-16 22:55:38 +03:00
alesapin
d0b56a4c7d
Merge pull request #10887 from ClickHouse/vzakaznikov-add_alter_rename_column_to_distributed
...
Vzakaznikov add alter rename column to distributed
2020-05-16 12:54:32 +03:00
alesapin
be4037abb5
Merge pull request #10895 from ClickHouse/fix_multiple_renames
...
Fix error in multiple rename commands in a single query.
2020-05-16 12:54:04 +03:00