Alexey Milovidov
0c9a2e8132
Fix test
2020-04-22 06:42:10 +03:00
Alexander Kuzmenkov
d1c5e38a21
Merge pull request #10385 from CurtizJ/tuple-literal
...
Parse tuples of tuples as literals
2020-04-22 05:49:14 +03:00
Alexander Kuzmenkov
627dfe103f
performance comparison
2020-04-22 04:50:21 +03:00
Alexey Milovidov
0a9c49beee
Added a test from @filimonov #9936
2020-04-22 03:48:03 +03:00
alexey-milovidov
484de2abac
Merge pull request #10407 from qoega/negative_generate_random_tests
...
Add negative tests for randomGenerate
2020-04-22 03:31:14 +03:00
alexey-milovidov
91d9b26ab4
Merge pull request #10404 from ClickHouse/test_for_distributed_alter
...
Add test for alter on cluster
2020-04-22 03:30:55 +03:00
Alexey Milovidov
e8a9c7d518
Allow to parse BOM in TSV if the first column cannot contain BOM in its value
2020-04-22 02:46:42 +03:00
Alexey Milovidov
8df64543b7
Added a test from Mr.CHU @chu1070y #9270
2020-04-22 02:11:16 +03:00
Azat Khuzhin
e0f58b1ca1
Cover fallback_to_stale_replicas in conjunction with skip_unavailable_shards
2020-04-22 01:47:22 +03:00
alexey-milovidov
fcf5c3c6e1
Merge pull request #10399 from ClickHouse/fix-distributed_group_by_no_merge-segfault
...
Fix segfault with distributed_group_by_no_merge
2020-04-22 01:28:02 +03:00
Alexey Milovidov
561702c264
Added a test from Konstantin Podshumok #9068
2020-04-22 01:20:05 +03:00
Azat Khuzhin
2fa933a73e
Cover creating of dictionary without db name
2020-04-21 21:02:36 +03:00
Azat Khuzhin
6f6b198fb2
Cover dictionary loading after DETACH/ATTACH DATABASE
...
This is the case when the server is starting.
2020-04-21 21:02:36 +03:00
Nikita Mikhaylov
15de7e4fa7
first try
2020-04-21 20:37:40 +03:00
Yatsishin Ilya
1adf094810
add tests
2020-04-21 17:45:11 +03:00
alesapin
dec2e65aa5
Add test for alter on cluster
2020-04-21 16:47:00 +03:00
Ilya Yatsishin
0ca37c75fd
Merge pull request #10390 from ClickHouse/fix-flattening-of-array-tuples
...
Fix flattening of Array(Tuple(...)) data type.
2020-04-21 15:41:00 +03:00
Ilya Yatsishin
82b0f31e37
Merge pull request #10335 from qoega/move_docker_to_docker
...
Move integration tests docker files to docker/ directory.
2020-04-21 15:10:42 +03:00
Nikita Mikhaylov
2173bcf28e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug
2020-04-21 14:35:06 +03:00
Nikolai Kochetov
f5ba4f4ed8
Added test.
2020-04-21 12:59:46 +03:00
Alexey Milovidov
750b73084a
Added a test from Alexey Ilyukhov @livace
2020-04-21 02:56:57 +03:00
Alexey Milovidov
1e9c96776a
Added a test
2020-04-21 02:50:14 +03:00
alexey-milovidov
4ecc86beca
Merge pull request #9950 from ClickHouse/aku/literal-columns
...
Create unique columns for literals
2020-04-21 02:30:17 +03:00
tavplubix
1a067484c8
Merge pull request #10137 from kekekekule/direct_queries
...
Add custom settings support for certain dictionary sources
2020-04-21 01:21:32 +03:00
alexey-milovidov
fe1309e575
Merge pull request #10381 from ClickHouse/fix-concat-prepare
...
Fix concat prepare
2020-04-21 00:07:32 +03:00
alexey-milovidov
ab922d44d5
Merge pull request #10379 from ClickHouse/only_fetch_repliac
...
Add setting always_fetch_merged_part
2020-04-21 00:07:00 +03:00
alexey-milovidov
2c8576798b
Merge pull request #10354 from oandrew/avro-nested
...
Avro nested fields insert support
2020-04-20 23:36:02 +03:00
alexey-milovidov
c4758b69a2
Merge pull request #10378 from hczhcz/patch-0420
...
Add JSONExtractKeysAndValuesRaw
2020-04-20 23:30:40 +03:00
alexey-milovidov
fea7ee800a
Merge pull request #10369 from ClickHouse/fix-weird-timezones
...
Fix for weird timezones
2020-04-20 23:21:52 +03:00
Anton Popov
e1b7e2de2f
parse tuples of tuples as literals
2020-04-20 23:14:56 +03:00
alexey-milovidov
69b6f135e7
Merge pull request #10382 from excitoon-favorites/altercodec
...
Allowed to alter column in non-modifying data mode when the same type is specified
2020-04-20 22:54:53 +03:00
Alexander Kuzmenkov
da7eeb31d0
Update test.py
2020-04-20 22:37:50 +03:00
alesapin
e1fa39d801
fix test
2020-04-20 18:17:34 +03:00
Alexander Kuzmenkov
672c952d39
Update test.py
2020-04-20 17:44:21 +03:00
alesapin
0afd361933
Fix subprocess call in clickhouse-test
2020-04-20 17:20:06 +03:00
Vladimir Chebotarev
82985ff594
Allowed to alter column in non-modifying data mode when the same type is specified.
2020-04-20 14:15:06 +03:00
Alexander Tokmakov
b29bddac12
Merge branch 'master' into database_atomic
2020-04-20 14:09:09 +03:00
Nikolai Kochetov
6c319850ae
Update tests.
2020-04-20 14:05:24 +03:00
alesapin
1bc84ec8b4
Fix comments
2020-04-20 13:56:23 +03:00
alesapin
8767ea7efa
Add setting which restrict replica to merge parts by itself and always prefer dowloading from other replicas.
2020-04-20 13:53:29 +03:00
hcz
309a20caf0
Add tests and docs
2020-04-20 18:14:34 +08:00
Alexey Milovidov
848e4a0541
Added a test for #2219
2020-04-20 11:15:53 +03:00
alexey-milovidov
9d0004cba0
Merge pull request #10365 from ClickHouse/avoid-infinite-loop-in-hierarchical-dictionaries
...
Avoid infinite loop in hierarchical dictionaries
2020-04-20 10:54:16 +03:00
alexey-milovidov
e2d85501fe
Merge pull request #10366 from ClickHouse/fix-test-insert-batching
...
Fix flacky integration test
2020-04-20 10:53:38 +03:00
Alexey Milovidov
5a56714b6e
Added a test
2020-04-20 10:41:26 +03:00
Alexey Milovidov
ac31d22572
More tests
2020-04-20 10:23:17 +03:00
Alexey Milovidov
1d559b9308
Added a test
2020-04-20 10:21:20 +03:00
Alexey Milovidov
70054e90d6
Merge branch 'master' into execute-query-flush-format-2
2020-04-20 09:19:34 +03:00
alexey-milovidov
587e16e23b
Merge pull request #10363 from ClickHouse/fixed-string-compare-as-zero-padded
...
Compare with fixed string of different size as if strings are zero padded
2020-04-20 09:14:27 +03:00
alexey-milovidov
1577d771df
Merge pull request #10341 from azat/auto_distributed_group_by_no_merge
...
Auto distributed_group_by_no_merge on GROUP BY sharding key
2020-04-20 08:30:27 +03:00
Alexey Milovidov
38aaa6206e
Fix test
2020-04-20 08:29:08 +03:00
Alexey Milovidov
be4d20e690
Fixed an error and added a test
2020-04-20 07:02:52 +03:00
Alexey Milovidov
acde587c75
Merge branch 'master' into fixed-string-compare-as-zero-padded
2020-04-20 06:49:21 +03:00
Alexey Milovidov
e06dc573b4
Fix flacky integration test
2020-04-20 06:15:29 +03:00
alexey-milovidov
061cfe9fa5
Merge pull request #10359 from ClickHouse/system-tables-lazy-load
...
System tables eager creation, continuation
2020-04-20 06:14:19 +03:00
Alexey Milovidov
7634092536
More tests
2020-04-20 05:35:19 +03:00
Alexey Milovidov
d99c26a40c
Fix infinite loop in dictIsIn function #515
2020-04-20 05:31:21 +03:00
alexey-milovidov
d906f6c4bf
Update 01250_fixed_string_comparison.sql
2020-04-20 04:19:00 +03:00
Alexey Milovidov
3af3cb62fb
Added a test
2020-04-20 04:15:57 +03:00
alexey-milovidov
a7d360b72b
Merge pull request #10356 from vzakaznikov/fixing_test_00964_live_view_watch_events_heartbeat
...
Fixing 00964_live_view_watch_events_heartbeat.py test
2020-04-20 02:16:04 +03:00
Alexey Milovidov
99667a38c3
Added a test from Svyatoslav Tkhon Il Pak @DeifyTheGod #9642
2020-04-19 22:56:34 +03:00
Alexey Milovidov
0cebfc74b6
Added a test
2020-04-19 22:22:03 +03:00
zhang2014
8105a9bbe0
ISSUES-5436 fix review suggestions
2020-04-20 02:26:06 +08:00
tai
dafba9d66a
ISSUES-5436 add integration test for custom http
2020-04-20 02:25:43 +08:00
Azat Khuzhin
be1dec9239
Fix distributed_group_by_no_merge optimization for Distributed-over-Distributed
2020-04-19 21:11:14 +03:00
Azat Khuzhin
681034f4a3
Fix 01213_optimize_skip_unused_shards_DISTINCT after distributed_group_by_no_merge optimization
2020-04-19 20:52:43 +03:00
Azat Khuzhin
93d049fe64
Allow auto distributed_group_by_no_merge for DISTINCT of sharding key
2020-04-19 18:53:37 +03:00
Azat Khuzhin
6f76f2791d
Cover distributed_group_by_no_merge on GROUP BY injective function of sharding key
2020-04-19 18:33:49 +03:00
Vitaliy Zakaznikov
8f3b14ab22
Fixing 00964_live_view_watch_events_heartbeat.py test to try to make it consistent.
2020-04-18 20:28:51 -04:00
Azat Khuzhin
5ffd8bdd75
Cleanup 01040_distributed_directory_monitor_batch_inserts
2020-04-19 00:22:48 +03:00
Andrew Onyshchuk
14647ed03b
Add Avro nested fields insert support
2020-04-18 15:46:24 -05:00
alexey-milovidov
abbeb13cf0
Merge pull request #10345 from Vxider/mv_parallel_insert_pt
...
Add performance test for parallel insert of materialized view
2020-04-18 18:39:22 +03:00
alexey-milovidov
03e1871b19
Merge pull request #10350 from ClickHouse/cleanup-performance-tests
...
Remove garbage from performance tests
2020-04-18 18:38:37 +03:00
alexey-milovidov
65bb1f4ce0
Merge pull request #10348 from ClickHouse/least-greatest-generic
...
Least greatest generic: more tests
2020-04-18 18:36:59 +03:00
alexey-milovidov
aac7cc7330
Merge pull request #10126 from Jokser/replicated-merge-tree-s3
...
Support ReplicatedMergeTree over S3
2020-04-18 16:13:04 +03:00
alexey-milovidov
8cea45315f
Merge pull request #10133 from 4ertus2/joins
...
JOIN with Dictionary
2020-04-18 16:08:15 +03:00
Alexey Milovidov
785d2c0e01
Remove garbage from performance tests
2020-04-18 15:54:16 +03:00
Alexey Milovidov
fd085b58e0
Fix readme in performance tests #10345
2020-04-18 15:44:46 +03:00
Alexey Milovidov
65714a3014
One more test #4767
2020-04-18 15:44:46 +03:00
Alexey Milovidov
96c2882db9
One more test #4767
2020-04-18 15:44:46 +03:00
alexey-milovidov
7fbd7e9533
Update materialized_view_parallel_insert.xml
2020-04-18 15:41:15 +03:00
alexey-milovidov
43d48a21c6
Merge pull request #10318 from ClickHouse/least-greatest-generic
...
Added generic variants for functions 'least' and 'greatest'.
2020-04-18 15:35:19 +03:00
Alexey Milovidov
4f245dc286
Added performance test
2020-04-18 15:35:00 +03:00
Alexey Milovidov
71a7a74d25
Fix test
2020-04-18 15:31:59 +03:00
alexey-milovidov
72dd453c3f
Merge pull request #10234 from vitlibar/show-columns-of-not-loaded-dictionary
...
Show information about not loaded dictionaries in system tables.
2020-04-18 15:06:08 +03:00
alexey-milovidov
17b6e0b3e5
Merge pull request #10315 from azat/buffer-flush-bg-pool
...
Use background thread pool for background buffer flushes
2020-04-18 15:04:35 +03:00
alexey-milovidov
27585f59e6
Merge pull request #10346 from vitlibar/fix-flaky-test-settings-constraints-distributed
...
Fix flaky test test_settings_constraints_distributed.
2020-04-18 14:49:06 +03:00
alexey-milovidov
bdc8dfe04b
Added a change from @azat in #10277
2020-04-18 14:48:51 +03:00
alexey-milovidov
d1b72f10d5
Merge pull request #10325 from Avogar/msgpack_format
...
Improve MsgPackRowInputFormat
2020-04-18 14:27:11 +03:00
Vitaly Baranov
d62345bbaa
Show information about not loaded dictionaries in system.columns, system.tables
...
and in "SHOW TABLES" executed in any database with the "Dictionary" engine.
2020-04-18 12:50:54 +03:00
Vitaly Baranov
b9ea0a33a7
Fix flaky test test_settings_constraints_distributed.
2020-04-18 11:23:11 +03:00
Vxider
aa8840447f
add performance test for mv_parallel_ insert
2020-04-18 15:20:10 +08:00
Alexander Kuzmenkov
c8d70d714a
Merge pull request #9985 from ClickHouse/fix-perftest-distributed-aggregation
...
Try fix perftest distributed_aggregation.xml
2020-04-18 03:08:34 +03:00
Alexander Kuzmenkov
1927212f67
Filter out some tests that require Zookeeper.
2020-04-17 23:36:08 +03:00
Артем Стрельцов
948efff076
Merge branch 'master' of github.com:yandex/ClickHouse into direct_queries
2020-04-17 23:11:10 +03:00
Yatsishin Ilya
a0ce15befd
Move integration tests docker files to docker/ directory. Rename image -> runner.
2020-04-17 19:01:16 +03:00
Avogar
b056dbce1c
Improve MsgPackRowInputFormat
2020-04-17 12:35:38 +03:00
Yatsishin Ilya
f2136bc286
improvements
2020-04-17 11:42:51 +03:00
alexey-milovidov
4bdaccbaee
Merge pull request #10312 from ClickHouse/fix_drop_optimize_race
...
Fix DROP vs OPTIMIZE race in ReplicatedMergeTree
2020-04-17 05:07:55 +03:00
alexey-milovidov
390bfe9a4c
Merge pull request #10317 from Avogar/markdown_format
...
Markdown format
2020-04-17 05:05:13 +03:00
Alexey Milovidov
5b5de975e1
Added a test #4767
2020-04-17 01:38:27 +03:00
Alexander Kuzmenkov
fa62be250f
performance comparison
2020-04-16 23:55:21 +03:00
Artem Zuikov
c62c288e4c
fix COMMA and other JOIN mix ( #10311 )
2020-04-16 23:28:23 +03:00
Avogar
831c48c514
Add MarkdownRowOutput format
2020-04-16 23:10:42 +03:00
Alexander Kuzmenkov
1e5a33bcfb
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-16 23:03:17 +03:00
Nikita Mikhaylov
9a80eb6e47
Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug
2020-04-16 21:47:34 +03:00
Artem Zuikov
ce372f464b
Fix finalize chain logic in ExpressionAnalysisResult ( #10302 )
2020-04-16 21:03:27 +03:00
Azat Khuzhin
2afa3cbaa3
Add a test for Buffer flushing (direct, background min/max time)
2020-04-16 20:32:58 +03:00
Alexander Kuzmenkov
c7be8c226c
add more test cases as discussed on tg
2020-04-16 19:52:22 +03:00
Ildus Kurbangaliev
6244270809
Add SimpleAggregateFunction support for sumMap
2020-04-16 16:43:16 +00:00
Artem Zuikov
47cb670213
Merge branch 'master' into joins
2020-04-16 19:06:13 +03:00
Alexander Tokmakov
605f3b2119
fix DROP vs OPTIMIZE race in ReplicatedMergeTree
2020-04-16 18:30:18 +03:00
alexey-milovidov
fa8e4e4735
Merge pull request #10295 from ClickHouse/fix-max-parser-depth
...
Fix max parser depth
2020-04-16 18:05:15 +03:00
alesapin
21ea40f207
Merge pull request #10292 from ClickHouse/fix_mysql_dictionary_test
...
Fix test test_dictionaries_mysql
2020-04-16 11:16:56 +03:00
Alexey Milovidov
0221fba873
Fix tests
2020-04-16 05:59:16 +03:00
Alexey Milovidov
8f6e90390f
Added a test
2020-04-16 04:06:10 +03:00
alexey-milovidov
2b64a97e9b
Merge pull request #10291 from 4ertus2/bugs
...
Fix count(*) with multiple joins
2020-04-16 00:45:09 +03:00
alexey-milovidov
d296e1b6d7
Merge pull request #10216 from Avogar/msgpack_format
...
Update MsgPack format
2020-04-16 00:44:08 +03:00
alexey-milovidov
23ae3f4bff
Update select_format.xml
2020-04-16 00:43:58 +03:00
Alexander Kuzmenkov
dc152c8a74
Update parse_engine_file.xml
2020-04-15 22:07:50 +03:00
alesapin
9bf8f00c3d
Fix test
2020-04-15 20:52:05 +03:00
Artem Zuikov
f08cdfcc4c
fix count(*) with multiple_joins_rewriter_version = 1
2020-04-15 20:47:08 +03:00
Alexander Kuzmenkov
08d9734fc0
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-15 20:16:56 +03:00
alexey-milovidov
7b2c871c57
Merge pull request #10272 from ClickHouse/plus-infinity
...
Allow to parse +inf
2020-04-15 16:41:47 +03:00
Alexander Kuzmenkov
2ee49c9d68
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-15 15:57:29 +03:00
Nikolai Kochetov
41baae33d4
Add test.
2020-04-15 13:20:42 +03:00
Alexey Milovidov
62b5aa343d
Added a test for #1776
2020-04-15 07:20:31 +03:00
alexey-milovidov
2a48b0ecd7
Merge pull request #10184 from xzkostyan/feature-zookeeper-ssl
...
Optional secured communication between ClickHouse and Zookeeper
2020-04-15 07:09:14 +03:00
Alexey Milovidov
738fef71f4
Allow to parse +inf #1839
2020-04-15 06:32:33 +03:00
Alexey Milovidov
db9760af41
Continuation of #6256
2020-04-15 03:12:47 +03:00
alexey-milovidov
596202b4d6
Merge pull request #10247 from qoega/junit_to_html_util
...
Add JUnit to html util
2020-04-15 02:37:59 +03:00
Nikita Mikhaylov
91011bc700
bump
2020-04-15 03:04:12 +04:00
alexey-milovidov
c454c5ae62
Trigger CI
2020-04-15 01:39:36 +03:00
Alexander Kuzmenkov
03e00ac215
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-14 23:03:23 +03:00
Nikita Mikhaylov
89dc40d492
Update test.py
2020-04-14 21:05:10 +03:00
Alexander Kuzmenkov
1d3fe23b3b
review fixes
2020-04-14 20:41:06 +03:00
Nikolai Kochetov
f5339e7c5e
Add graphite config to tests.
2020-04-14 20:12:43 +03:00
Nikolai Kochetov
fee4717762
Added tast for Graphite.
2020-04-14 20:09:11 +03:00
Yatsishin Ilya
dcec80e6dd
update README in intergration
2020-04-14 10:15:02 +03:00
Yatsishin Ilya
51567df6e6
output call duration in junit report
2020-04-14 10:15:01 +03:00
Yatsishin Ilya
e5be0c1059
fix integration/test_distributed_ddl/test_replicated_alter
2020-04-14 10:15:01 +03:00
alexey-milovidov
b8be585595
Merge pull request #10237 from ClickHouse/akz/mutations-to-correctly-handle-lambdas
...
ALTER UPDATE/DELETE on Replicated* storages: Fixed "Unknown function lambda." error
2020-04-14 01:32:38 +03:00
alexey-milovidov
2219f05139
Merge pull request #10235 from ClickHouse/fix_range_hashed_ddl_dictionaries
...
Fix 'Cannot add column' in DDL dictionary
2020-04-14 01:28:24 +03:00
Nikita Mikhaylov
89f80a6353
Merge branch 'master' into quorum_bug
2020-04-13 23:25:55 +04:00
tavplubix
0931885773
Update 01225_show_create_table_from_dictionary.sql
2020-04-13 20:49:40 +03:00
Artem Zuikov
6106b2bfc7
Merge branch 'master' into joins
2020-04-13 20:37:27 +03:00
Artem Zuikov
0b7ae2c2bf
working version
2020-04-13 20:03:11 +03:00
Alexander Tokmakov
6c0d9723e0
Merge branch 'master' into database_atomic
2020-04-13 18:47:47 +03:00
Alexander Tokmakov
d1024e76bd
fix
2020-04-13 18:46:36 +03:00
Nikita Mikhaylov
441bb13d4a
better
2020-04-13 18:21:05 +03:00
Alexander Kazakov
e05e2c7628
Fixed check for nondeterministic functions to handle lambdas correctly
2020-04-13 17:34:11 +03:00
alesapin
9cc7d0f06a
Fix 'Cannot add column' error while creating range_hashed dictionary using DDL queries
2020-04-13 17:34:01 +03:00
alexey-milovidov
396360cd90
Merge pull request #10209 from ClickHouse/akz/fix_segfault_in_system_tables
...
Fix N.P. segfault in StorageSystemTables for database engine "Lazy"
2020-04-13 16:33:27 +03:00
alexey-milovidov
d1c436788b
Merge pull request #10206 from ClickHouse/fix-limit-with-infinite-sources
...
Fix limit with infinite sources
2020-04-13 16:32:02 +03:00
alexey-milovidov
eedb5a3e3d
Merge pull request #10218 from ClickHouse/fix-generate-random-date
...
Fixed "generateRandom" function for Date type
2020-04-13 16:26:08 +03:00
Nikita Mikhaylov
d5c055ab03
remove logs
2020-04-13 15:13:13 +03:00
Pavel Kovalenko
46c0b65c95
Minor fix in MergeTree over S3 tests.
2020-04-13 12:20:38 +03:00
Konstantin Lebedev
df28eca407
Add test for communication between ClickHouse and Zookeeper over SSL
2020-04-13 10:49:16 +03:00
alexey-milovidov
4a83e85893
Merge pull request #10213 from ClickHouse/remove-old-bugs
...
Remove obsolete tests from "bugs" directory
2020-04-13 03:18:40 +03:00
alexey-milovidov
6eed76d5fb
Merge pull request #10217 from ClickHouse/convert-types-in-views
...
Convert types in Views
2020-04-13 02:24:02 +03:00
alexey-milovidov
8f040683e4
Merge pull request #10214 from ClickHouse/fix-parse-date-time-best-effort-rfc-2822-tue-thu
...
Fix "parseDateTimeBestEffort" for strings in RFC-2822 when day of week is Tuesday or Thursday
2020-04-13 02:23:21 +03:00
Alexey Milovidov
0cf882f4df
Update test
2020-04-13 02:20:49 +03:00
Alexey Milovidov
8ad89a82d4
Support Nested types in "generateRandom"
2020-04-13 02:08:32 +03:00
Alexey Milovidov
a517111259
Added one more test
2020-04-13 01:30:10 +03:00
Alexey Milovidov
d1eaa34cd9
Added a test
2020-04-13 01:00:10 +03:00
Avogar
9860ffee51
Add MsgPack performance test
2020-04-13 00:59:28 +03:00
Alexey Milovidov
3215257a90
Fixed "generateRandom" function for Date type #9973
2020-04-13 00:27:11 +03:00
Avogar
d49dc5c008
Add test
2020-04-13 00:16:27 +03:00
Alexey Milovidov
983950d4ec
Convert types in Views
2020-04-13 00:07:11 +03:00
alexey-milovidov
bc00e6463a
Merge pull request #10053 from azat/log_queries_type
...
Add log_queries_min_type to filter which entries will be written to query_log
2020-04-12 23:37:42 +03:00
Alexey Milovidov
142087c4f7
Fix "parseDateTimeBestEffort" for strings in RFC-2822 when day of week is Thuesday or Thursday #10082
2020-04-12 22:34:04 +03:00
Alexey Milovidov
b56945fa1b
Remove some bugs
2020-04-12 22:07:16 +03:00
alexey-milovidov
96f2a8e2a4
Merge pull request #10207 from ClickHouse/fix-join-constants
...
Fix column names of constants inside JOIN.
2020-04-12 22:01:43 +03:00
Alexander Tokmakov
20e6593f96
disable by default
2020-04-12 21:52:59 +03:00
Alexander Kazakov
d252c59513
Added a test that produces segfault in StorageSystemTables
2020-04-12 20:04:52 +03:00
Alexey Milovidov
b00330b5db
Added bug
2020-04-12 19:25:20 +03:00
Alexey Milovidov
66d9ba9389
Added a test
2020-04-12 19:24:16 +03:00
Nikolai Kochetov
2b052a44d9
Added test
2020-04-12 18:25:51 +03:00
Konstantin Lebedev
eaba5c6c73
Remove mutable defaults from helpers/cluster.py
2020-04-12 17:36:48 +03:00
Alexander Tokmakov
5e6d4b9449
Merge branch 'master' into database_atomic
2020-04-12 16:35:44 +03:00
Azat Khuzhin
365b5207b7
Add log_queries_min_type to filter which entries will be written to query_log
...
Can be used to write into query_log only failed queries (i.e. on memory
exceeded error), by using:
set log_queries_min_type='EXCEPTION_WHILE_PROCESSING'
2020-04-12 10:46:36 +03:00
BohuTANG
e7f399f652
MySQLHandler: max_allowed_packet returned by default when server setup with select variables
2020-04-12 13:37:39 +08:00
alexey-milovidov
b888c867b3
Merge pull request #10026 from CurtizJ/speedup-index
...
Improve performance of index analysis with monotonic functions [2].
2020-04-12 06:37:26 +03:00
Alexey Milovidov
ca5172cc63
Merging #10094
2020-04-12 06:25:47 +03:00
Alexey Milovidov
c64aa011ba
Merge branch 'jgon' of https://github.com/amosbird/ClickHouse into amosbird-jgon
2020-04-12 06:21:00 +03:00
alexey-milovidov
791d2bc91e
Merge pull request #10198 from ClickHouse/add-function-is-constant
...
Add function "isConstant"
2020-04-12 05:44:22 +03:00
alexey-milovidov
0cc91b9cab
Merge pull request #10196 from azat/Distributed-GLOBAL-IN
...
Allow literals for GLOBAL IN
2020-04-12 04:39:32 +03:00
Alexey Milovidov
754967bde6
Add function "isConstant"
2020-04-12 04:24:00 +03:00
alexey-milovidov
78316f027a
Merge pull request #10195 from ClickHouse/fix-array-join-prewhere
...
Fix move-to-prewhere optimization in presense of arrayJoin functions.
2020-04-12 03:53:55 +03:00
alexey-milovidov
9203db0ad5
Merge pull request #10140 from BohuTANG/20200409_bug_fix_mysql_handshake_scramble
...
Fix scramble issue for native mysql-connector-java(JDBC)
2020-04-12 03:53:19 +03:00
Alexey Milovidov
dec3e0f986
Make least and greatest functions case insensitive for compatibility with MySQL
2020-04-12 03:38:25 +03:00
Alexey Milovidov
c5c1a8def7
Added a test from Andrey #2641
2020-04-12 03:03:15 +03:00
Azat Khuzhin
194dcc01fb
Allow literals for GLOBAL IN
2020-04-12 02:48:55 +03:00
alexey-milovidov
0782052768
Merge pull request #10131 from ClickHouse/fix-extremes-for-processors
...
Fix extremes for processors
2020-04-12 02:31:39 +03:00
alexey-milovidov
f5fc3b1e71
Merge pull request #10085 from achimbab/transform_null_in
...
transform_null_in option to test NULL values at the IN-Operator.
2020-04-12 02:01:54 +03:00
alexey-milovidov
30ec2a3ce2
Merge pull request #10179 from vzakaznikov/live_view_over_distributed
...
Initial support for live view tables over distributed
2020-04-12 01:41:42 +03:00
Alexey Milovidov
29189d4276
Also add stateless test to illustrate the issue more clear
2020-04-12 01:33:16 +03:00
Azat Khuzhin
a332d8b01e
Cover GLOBAL IN for Distributed over Distributed
2020-04-12 01:22:29 +03:00
Alexey Milovidov
cf483b7ecc
Added a test
2020-04-12 01:14:55 +03:00
Azat Khuzhin
85448f4b13
Add test from the #2610 ( closes : #2610 )
2020-04-12 00:46:54 +03:00
alexey-milovidov
00d8e7eefb
Merge branch 'master' into transform_null_in
2020-04-11 23:15:54 +03:00
alexey-milovidov
a4969d89f9
Merge pull request #10164 from azat/system.tables-superfluous-dict-reload
...
Avoid superfluous dictionaries load
2020-04-11 23:05:56 +03:00
alexey-milovidov
cd979d7997
Merge pull request #10130 from CurtizJ/polymorphic-parts
...
Fix some kinds of alters with compact parts
2020-04-11 23:02:48 +03:00
alexey-milovidov
a7ecacc8b0
Merge pull request #10186 from filimonov/setting_allow_nondeterministic_mutations
...
allow_nondeterministic_mutations
2020-04-11 22:56:06 +03:00
alexey-milovidov
5e36a65d0c
Merge pull request #10172 from ClickHouse/fix_odbc_roundtrip
...
Fix odbc round trip test
2020-04-11 22:55:24 +03:00
alexey-milovidov
3b85ef27a4
Merge pull request #10173 from ClickHouse/fix_url_engine
...
Add retries to 00646_url_engine test
2020-04-11 22:53:26 +03:00
Alexander Tokmakov
8b6c836720
fix
2020-04-11 18:38:41 +03:00
Vitaly Baranov
18fbd968ba
Merge pull request #10165 from azat/drop-dictionary-as-table
...
Do not break DROP DICTIONARY with DROP TABLE
2020-04-11 14:49:41 +03:00
Azat Khuzhin
55a143d1a5
Avoid superfluous dictionaries load (system.tables, SHOW CREATE TABLE)
...
This patch avoids loading dictionaries for:
- SELECT * FROM system.tables (used by clickhouse-client for completion)
- SHOW CREATE TABLE some_dict
But the dictionary will still be loaded on:
- SHOW CREATE TABLE some_dict (from the database with Dictionary engine)
2020-04-11 13:26:41 +03:00
Azat Khuzhin
e0c972448e
Cover SHOW CREATE TABLE from database with Dictionary ENGINE
2020-04-11 13:26:19 +03:00
Alexander Tokmakov
f0edb65e33
add test
2020-04-11 02:02:15 +03:00
Nikita Mikhaylov
a8d72d01c3
mvp fix
2020-04-11 00:29:54 +03:00
Mikhail Filimonov
2f5b4b0f9b
Added ability to relax the restriction on non-deterministic functions usage in mutations with allow_nondeterministic_mutations setting.
2020-04-10 22:01:10 +02:00
Azat Khuzhin
5b3c635200
Do not break DROP DICTIONARY after DROP TABLE executed on dictionary
2020-04-10 21:10:32 +03:00
Vitaly Baranov
ca634f603a
Revert resetting the settings to their defaults after each query in TCPHandler.
2020-04-10 21:09:59 +03:00
Vitaliy Zakaznikov
7d076d7f3d
Removing comments.
2020-04-10 14:09:28 -04:00
Vitaliy Zakaznikov
16c10851d3
Adding more tests to test_distributed_over_live_view.
...
Updating test_live_view_over_distributed to be more robust.
2020-04-10 13:47:47 -04:00
Vitaliy Zakaznikov
c37ba8243d
Starting to add test_distributed_over_live_view tests.
2020-04-10 13:01:10 -04:00
Артем Стрельцов
758500893e
fixed test
2020-04-10 19:09:44 +03:00
Vitaliy Zakaznikov
442446fbfa
Adding some live view over distributed stateless tests.
2020-04-10 12:04:25 -04:00
Anton Popov
9b6f7af7f6
add tests for ALTER CLEAR COLUMN/INDEX with compact parts
2020-04-10 18:26:40 +03:00
Vitaliy Zakaznikov
201c65f49b
Adding test_live_view_over_distributed integration test.
2020-04-10 11:23:04 -04:00
Vitaly Baranov
274a5311fc
Merge pull request #10153 from vitlibar/enable-access-management-in-stateless-tests-3
...
Enable access management in stateless tests #3 .
2020-04-10 17:40:20 +03:00
Alexander Tokmakov
033d7f9b32
Merge branch 'master' into database_atomic
2020-04-10 17:12:09 +03:00
tavplubix
5e860ddb04
fix 01098_temporary_and_external_tables
2020-04-10 17:09:47 +03:00
alesapin
27eaea184a
Add small timeout
2020-04-10 17:03:42 +03:00
alesapin
9d81f89648
Add sleep to test
2020-04-10 16:51:09 +03:00
alesapin
88657cfbe1
Add retries to test
2020-04-10 15:14:27 +03:00
alesapin
9b0640a3b5
Fix odbc round trip test
2020-04-10 14:29:56 +03:00
Artem Zuikov
ba50519af8
workaround for function resolver
2020-04-10 13:28:44 +03:00
Azat Khuzhin
888baad565
tests/queries/0_stateless/01056_create_table_as: drop dictionary at start
2020-04-10 10:38:43 +03:00
philip.han
7fa5afecb4
Support transform_null_in option for StorageSet
2020-04-10 14:42:36 +09:00
philip.han
c6bf39d7a9
Fix 01231_operator_null_in.reference
2020-04-10 14:02:55 +09:00
philip.han
c39e3a51ad
Fix Set::insertFromBlockImplCase()
2020-04-10 12:30:54 +09:00
BohuTANG
87cc8de8e2
Merge remote-tracking branch 'ck/master' into 20200409_bug_fix_mysql_handshake_scramble
2020-04-10 11:10:41 +08:00
Alexander Tokmakov
58067438cd
add fallback for renameat2
2020-04-10 01:23:03 +03:00
alexey-milovidov
4a73fe7477
Merge pull request #9889 from Avogar/msgpack_format
...
Msgpack format
2020-04-10 00:07:10 +03:00
alexey-milovidov
a85d35f31c
Merge pull request #10049 from azat/show-create-table-multiline
...
Make SHOW CREATE TABLE multiline
2020-04-09 23:30:56 +03:00
Alexander Tokmakov
a6d0aacd53
fix test
2020-04-09 21:02:27 +03:00
Anton Popov
76cf9b7f03
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
2020-04-09 20:16:45 +03:00
Vitaly Baranov
20d935566f
Enable access management in stateless tests #3 .
2020-04-09 19:12:55 +03:00
Pavel Kovalenko
ee36750482
Set storage policy explicitly in MergeTree over S3 tests.
2020-04-09 18:36:13 +03:00
Артем Стрельцов
5a70a77c4a
Merge branch 'master' into direct_queries
2020-04-09 17:29:37 +03:00
Vitaly Baranov
12336a9ece
Use "CREATE USER HOST REGEXP" instead of "CREATE USER HOST NAME REGEXP".
2020-04-09 10:22:51 +03:00
Vitaly Baranov
4d93577791
PREWHERE can be used now by user without row filtering.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
d548c7e381
Simplify DCL for creating quotas.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
23ac1ee87c
readonly user now can execute SHOW CREATE for access entities.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
c97d12a19c
Enable access management by default for all integration tests.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
36a5b57ac4
Use "CREATE SETTINGS PROFILE name SETTINGS INHERIT parent" instead of "CREATE SETTINGS PROFILE name SETTINGS PROFILE parent".
2020-04-09 10:22:51 +03:00
Nikolai Kochetov
e28e5b24e9
Update test.
2020-04-09 09:29:38 +03:00
BohuTANG
691fe42586
Merge remote-tracking branch 'ck/master' into 20200409_bug_fix_mysql_handshake_scramble
2020-04-09 10:59:04 +08:00
BohuTANG
17256e0f1e
add java client integation tests
2020-04-09 10:53:40 +08:00
alexey-milovidov
6ff4c3aa16
Merge pull request #10135 from azat/distributed-insert-converting
...
Convert blocks if structure does not match on INSERT into Distributed()
2020-04-09 05:51:36 +03:00
Alexey Milovidov
5314b277af
Fixed test
2020-04-09 05:50:37 +03:00
Alexander Tokmakov
140cd88c20
fixes
2020-04-09 02:59:39 +03:00
Konstantin Lebedev
b666f60af8
Optional secured communication between ClickHouse and Zookeeper
2020-04-09 01:40:54 +03:00
BohuTANG
f48fdda678
Enhanced compatibility with native mysql-connector-java(JDBC) ( #10021 )
...
* Skip the `/* comments */ SELECT @@variables ...` from mysql-connector-java setup for MySQL Handler #9336
mysql-connector setup query:
/* mysql-connector-java-5.1.38 ( Revision: ${revinfo.commit} ) */SELECT @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_connection, @@character_set_results AS character_set_results, @@character_set_server AS character_set_server, @@init_connect AS init_connect, @@interactive_timeout AS interactive_timeout...
ClickHouse side Error:
{} <Error> executeQuery: Code: 62, e.displayText() = DB::Exception: Syntax error: failed at position 74: @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_conn. Expected one of: CAST, NULL...
Client side Exception:
java.sql.SQLException: Syntax error: failed at position 74: @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_conn. Expected one of: CAST...
* add repalce 'SHOW VARIABLES' for mysql-connector-java-5.1.34 #9336
* Add java client(JDBC) integration test to test_mysql_protocol
* shift out java tests from dbms
* Update MySQLHandler.cpp
* Update MySQLHandler.cpp
* test_mysql_protocol: add Test.java exit code 1 when expection
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-04-09 00:52:19 +03:00
Артем Стрельцов
c0051d9cd9
fixed bug with ClickHouseDictionarySource & test for all sources added
2020-04-09 00:48:00 +03:00
Azat Khuzhin
6d85207bfb
Convert blocks if structure does not match on INSERT into Distributed()
...
Follow-up for: #10105
2020-04-08 23:46:01 +03:00
Alexey Milovidov
5e336ba063
Added another test #10077
2020-04-08 23:33:40 +03:00
alexey-milovidov
db4270b60c
Merge pull request #10077 from zhang2014/fix/ISSUES-10056
...
ISSUES-10056 support identifier argument for MySQL Database engine
2020-04-08 22:59:09 +03:00
alexey-milovidov
0372a6119a
Merge pull request #10110 from amosbird/tsm
...
more monotonicity for toString()
2020-04-08 22:55:04 +03:00
alexey-milovidov
9a00eca1c5
Merge pull request #10121 from ClickHouse/fix_adaptive_granularity_compatibility
...
Fix adaptive granularity compatibility
2020-04-08 22:50:09 +03:00
Alexander Tokmakov
dd1590830b
Merge branch 'master' into database_atomic
2020-04-08 22:00:46 +03:00
Nikolai Kochetov
b9f73a9f77
Added test.
2020-04-08 21:50:13 +03:00
Pavel Kovalenko
0ea0daa194
Merge remote-tracking branch 'origin/master' into replicated-merge-tree-s3
2020-04-08 21:47:17 +03:00
Azat Khuzhin
824255f603
Update tests for multiline SHOW CREATE
...
The following has been used for this:
git grep '^CREATE' tests/queries/**.reference | cut -d: -f1 | sort -u | xargs -n1 -i sh -c 'show-create-rewrite.py < {} | sponge {}'
show-create-rewrite.py is available here:
https://gist.github.com/azat/916b98b5ddf9573f7dc9a4dce33b59b5
And for 00998_constraints_all_tables test FORMAT TSVRaw I simply drop.
2020-04-08 20:54:22 +03:00
Nikolai Kochetov
3b4682d179
Updated 01232_preparing_sets_race_condition.
2020-04-08 20:46:48 +03:00
zhang2014
9eb96b87db
ISSUES-10056 reused evaluateConstantExpressionOrIdentifierAsLiteral
2020-04-09 01:31:28 +08:00
zhang2014
9ed708b902
ISSUES-10056 add some check and support identifier argument for MySQL Database Engine
2020-04-09 01:31:27 +08:00
Anton Popov
ae2a05d414
add test with 'ALTER MODIFY' and compact parts
2020-04-08 19:34:14 +03:00
Pavel Kovalenko
eca6caa8db
Integration tests for MergeTree over S3 code cleanup.
2020-04-08 15:48:16 +03:00
Amos Bird
f1cb928737
more monotonicity for toString()
2020-04-08 20:13:44 +08:00
Pavel Kovalenko
89fe81ed62
Integration test for ReplicatedMergeTree over S3 fixes.
2020-04-08 14:56:31 +03:00
Pavel Kovalenko
bc349a563a
Merge branch 'master' into replicated-merge-tree-s3
2020-04-08 13:53:30 +03:00
Pavel Kovalenko
4ec77fee8b
Integration test for ReplicatedMergeTree over S3.
2020-04-08 13:53:17 +03:00
Ivan Lezhankin
cef057f150
Fix test
2020-04-08 12:59:51 +03:00
alesapin
ded306f016
Fix adaptive granularity compatibility
2020-04-08 12:51:04 +03:00
Ivan Lezhankin
e6bd496269
Merge branch 'master' into pytest
2020-04-08 06:15:05 +03:00
Amos Bird
0b5cc80580
joinGetOrNull
2020-04-08 11:01:08 +08:00
alexey-milovidov
6d80ab1eed
Merge pull request #9811 from vitlibar/RBAC-8
...
RBAC-8
2020-04-08 05:47:55 +03:00
alexey-milovidov
dd333460d6
Merge pull request #10068 from ClickHouse/fix_check_table_with_index
...
Fix bug with uncompressed checksums in CHECK TABLE query
2020-04-08 05:37:18 +03:00
alexey-milovidov
dad892e9d4
Merge pull request #10105 from azat/distributed-insert-types-differs
...
Fix SIGSEGV on INSERT into Distributed on different struct with underlying
2020-04-08 05:36:02 +03:00
Anton Popov
cbdc3ef214
Merge remote-tracking branch 'upstream/master' into speedup-index
2020-04-08 04:15:48 +03:00
Alexander Tokmakov
135197aa75
fixes
2020-04-08 04:02:00 +03:00
alexey-milovidov
09a397a68f
Merge pull request #9997 from azat/dist-on-dist-fixes
...
Fix Distributed-over-Distributed with one only shard in nested table
2020-04-08 03:45:29 +03:00
alexey-milovidov
a29393821d
Merge pull request #10099 from ClickHouse/fix-9826
...
Fix 9826
2020-04-08 02:41:11 +03:00
Azat Khuzhin
b2fa9d8750
Fix SIGSEGV on INSERT into Distributed on different struct with underlying
2020-04-08 02:35:31 +03:00
alexey-milovidov
c079fd7f1b
Merge pull request #10064 from ClickHouse/small_fixes_in_dict_parser
...
Small fixes in dictionaries DDL parser
2020-04-08 02:22:20 +03:00
alexey-milovidov
491f4b2c60
Merge pull request #10071 from ClickHouse/add_conversion_stream
...
Add converting stream to localhost clickhouse dict
2020-04-08 02:13:17 +03:00
alexey-milovidov
d20dfea6ed
Merge pull request #10095 from ClickHouse/fix_replica_start_from_old_version
...
Fix replicated tables startup when updating from old version
2020-04-08 02:11:12 +03:00
alexey-milovidov
115dd1b5fe
Merge pull request #9989 from ClickHouse/globs-in-paths-leading-zeros
...
Fix behaviour of globs in filepath with leading zeros
2020-04-08 00:49:27 +03:00
Anton Popov
a1d9d8e65e
Merge pull request #10086 from CurtizJ/polymorphic-parts
...
Add check with enabled polymorphic parts.
2020-04-08 00:24:50 +03:00
Vitaly Baranov
42b8ed3ec6
Implement "ON CLUSTER" clause for access control SQL.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
d0af31bbcf
Use ALTER USER DROP HOST instead of ALTER USER REMOVE HOST for consistency.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
bc3e2cb48c
Add the option "access_control_path" to server config.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
d064ddfe13
Disable MemoryAccessStorage.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
b71ff6160a
Add the "access_management" option to users.xml which enables a user to manage access rights.
...
The option is turned off by default.
2020-04-07 23:31:54 +03:00
Vitaly Baranov
b4d7ef390c
Rename some access types: add ALTER and SYSTEM prefixes.
2020-04-07 23:20:38 +03:00
Vitaly Baranov
e5d8f05251
Rename sql command "CREATE POLICY" -> "CREATE ROW POLICY", "CREATE POLICY" is now an alias.
2020-04-07 23:20:38 +03:00