Commit Graph

6278 Commits

Author SHA1 Message Date
Nicolae Vartolomei
fd42d1ee87 ALTER <materialized view name> MODIFY QUERY <select_query>
Trying to resurrect https://github.com/ClickHouse/ClickHouse/pull/7533.
I'd like to get this PR in if we have an agreement on syntax and general
direction, after that I'll rebase actual alter functionality from above mentioned PR.
2020-01-30 14:12:49 +00:00
Avogar
75fe61251b Add test for data in square brackets in JSONEachRow. 2020-01-30 17:03:07 +03:00
Guillaume Tassery
c18fb015ac Merge branch 'master' of github.com:ClickHouse/ClickHouse into jit_nullable 2020-01-30 12:31:36 +01:00
Guillaume Tassery
7d3c677921 Accept nullable for JIT function 2020-01-30 12:31:21 +01:00
Azat Khuzhin
c6d95e9dfd Rename tables to match the test number for 01071_force_optimize_skip_unused_shards 2020-01-30 09:01:45 +03:00
Vitaly Baranov
e37eda3bdf DROP TEMPORARY TABLE now drops only a temporary table. 2020-01-30 02:41:22 +03:00
Alexander Kuzmenkov
09b8f34370
Merge pull request #8896 from ClickHouse/aku/enum-wrong-value
Report BAD_ARGUMENTS for a wrong user-supplied enum value.
2020-01-30 00:25:17 +03:00
Ubuntu
bc0fbd688a Make sumMap accept String keys
Adapt sumMap to accept an array of strings as the key column. This is useful when we do not want or cannot make the keys be numbers.

Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-01-29 19:38:41 +00:00
alexey-milovidov
b567907431
Merge pull request #8868 from amosbird/countoptfix
Fix `MakeSet` in Group By
2020-01-29 19:53:41 +03:00
Alexander Kuzmenkov
975f042dc0 Report BAD_ARGUMENTS for a wrong user-supplied enum value.
Before we reported LOGICAL_ERROR that is incorrect.
2020-01-29 17:17:34 +03:00
Guillaume Tassery
0f348eb121 add tests 2020-01-29 11:02:10 +01:00
alesapin
9b822e926a
Merge pull request #8882 from CurtizJ/fix-integration-test
Fix integration test 'prefer_localhost_replica'.
2020-01-29 11:34:39 +03:00
alexey-milovidov
bcab6e7ac1
Merge pull request #8880 from ClickHouse/Akazz-clickhouse-test-patch-1
A followup to #8858: fixed awk invokation in hung queries check
2020-01-29 02:14:43 +03:00
Amos Bird
b650f1563a
Fix MakeSet in Group By 2020-01-29 04:49:39 +08:00
CurtizJ
3144e81cb5 fix test prefer_localhost_replica 2020-01-28 21:54:25 +03:00
Alexander Kazakov
cebeae0055 Fixed awk invokation in hung queries check 2020-01-28 20:21:57 +03:00
Mikhail Filimonov
dc43728dea Test showing the problem with partial commit of polled batch + fix 2020-01-28 15:21:36 +01:00
Andrei Chulkov
5f2ed57c49 Add some comments & new tests for different input types 2020-01-28 16:25:55 +03:00
Mikhail Filimonov
5dafccf410 Test for flushing by time and by block size (+fix), one extra test for virual columns 2020-01-28 14:24:37 +01:00
Andrei Chulkov
d2e4f4e778 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into polygon-dict-basic-interface-improvements 2020-01-28 15:06:36 +03:00
alesapin
e27a3170bc Less flaps in tests 2020-01-28 13:58:37 +03:00
alexey-milovidov
1f90d2f078
Merge pull request #8866 from achulkov2/issue-8865_unnamed_tuples_should_not_be_flattened
Issue 8865 unnamed tuples should not be flattened
2020-01-28 12:32:58 +03:00
Vladimir Chebotarev
f98de4e098 Added tests for _file and _path in S3 storage. 2020-01-28 01:09:21 +03:00
Vladimir Chebotarev
11a5cab7bd Added some tests. 2020-01-28 00:44:18 +03:00
Andrei Chulkov
7395c0eadc Rename columns to avoid ambiguity with sql 2020-01-28 00:09:38 +03:00
Andrei Chulkov
d8f7383fd7 Add test 2020-01-28 00:04:46 +03:00
Pavel Kovalenko
07755ec8f7 Merge branch 'master' into idisk-seekable-readbuffer
# Conflicts:
#	dbms/programs/server/config.xml
2020-01-27 21:45:53 +03:00
Pavel Kovalenko
abfacdaadc SeekableReadBuffer refactoring.
Store size and multiple references for S3 metadata file.
Log engine support for S3.
2020-01-27 21:44:30 +03:00
Alexander Kazakov
6b355aa273 Moved around some logic of hung_check detector 2020-01-27 21:04:12 +03:00
Alexander Kazakov
c6c3c4347b Keep stderr when collecting stacktraces 2020-01-27 20:47:05 +03:00
Alexander Kazakov
0106040a2f
In clickhouse-test: Updated check for hung queries 2020-01-27 19:51:48 +03:00
chertus
0886bfb9bc fix test 2020-01-27 13:57:31 +03:00
Alexey Milovidov
47178f1413 Update test 2020-01-26 21:53:24 +03:00
Alexey Milovidov
4d13f020cd Removed obsolete setting from test 2020-01-26 16:36:37 +03:00
alexey-milovidov
066b4e745c
Merge pull request #8402 from excitoon-favorites/atomicdelete
"Atomically" remove parts on destroy.
2020-01-26 04:08:13 +03:00
alexey-milovidov
97a75dd8c9
Merge pull request #8786 from millb/X-ClickHouse-Exception-Code
X-ClickHouse-Exception-Code in HTTP Header
2020-01-26 03:43:38 +03:00
alexey-milovidov
2df93a6d21
Merge pull request #8756 from azat/distributed_storage_configuration
Multiple disks/volumes for storing data for send in Distributed engine
2020-01-26 02:19:28 +03:00
Vladimir Chebotarev
fdef1d6935 Increased some timeouts in test_multiple_disks and test_ttl_move. 2020-01-26 00:27:46 +03:00
alexey-milovidov
196ed889b9
Merge branch 'master' into joins 2020-01-26 00:03:56 +03:00
alexey-milovidov
9f3bbea6eb
Merge pull request #8806 from ClickHouse/vzakaznikov-issue_7878_3
Reworking fix for issue 7878 (version 4)
2020-01-25 23:39:49 +03:00
Azat Khuzhin
5c641b7485 Cover storage_configuration for Distributed engine 2020-01-25 20:52:31 +03:00
alexey-milovidov
dc90d42e1e
Merge pull request #8305 from ClickHouse/Vxider-parallel-insert
Vxider parallel insert
2020-01-25 20:30:50 +03:00
alexey-milovidov
df4f0c7379
Merge pull request #8805 from azat/force_optimize_skip_unused_shards
force_optimize_skip_unused_shards setting to throw if skipping is not possible
2020-01-25 17:37:59 +03:00
alexey-milovidov
cf2cd05906
Merge pull request #8824 from ClickHouse/fix_loading_live_view
Fix LiveView dependencies
2020-01-25 17:37:29 +03:00
alexey-milovidov
43230c9e5a
Merge pull request #8809 from azat/text_log.level
Add text_log.level to limit entries that goes to system.text_log table
2020-01-25 17:28:35 +03:00
Azat Khuzhin
3c6ce640b0 Cover text_log.level 2020-01-25 14:04:56 +03:00
alexey-milovidov
85237ad27d
Merge pull request #8819 from ClickHouse/add_test_for_constraints
Add test for constraints
2020-01-25 02:56:47 +03:00
Alexander Tokmakov
f9cfc6be3a fix LiveView dependencies 2020-01-25 01:51:23 +03:00
Azat Khuzhin
6939ffeabf force_optimize_skip_unused_shards setting to throw if skipping is not possible 2020-01-24 21:15:40 +03:00
Mikhail Korotov
aeb9557edf tests added 2020-01-24 20:04:42 +03:00
alesapin
47f8679810 Add test for constraints 2020-01-24 17:28:10 +03:00
alexey-milovidov
b3d34da57b
Merge pull request #8072 from millb/suffix_in_settings_value
Parsing suffix for settings values
2020-01-24 17:15:25 +03:00
Mikhail Korotov
474e16fadb
Update 01071_http_header_exception_code.sh 2020-01-24 17:11:13 +03:00
Mikhail Korotov
b9b1dd5cdd tests fixed 2020-01-24 17:08:56 +03:00
Mikhail Korotov
800f8adfee
Update 01071_http_header_exception_code.sh 2020-01-24 14:29:03 +03:00
Mikhail Korotov
79fe132f58
Update 01071_http_header_exception_code.sh 2020-01-24 14:23:49 +03:00
alesapin
95fbef59c9 Fix prometheus test 2020-01-24 12:16:34 +03:00
alesapin
32783b3cea Fix integration test 2020-01-24 11:55:36 +03:00
alexey-milovidov
105b61b2af
Merge pull request #8800 from CurtizJ/fix-alter-with-ttl
Fix alters if there is set TTL for table.
2020-01-24 06:30:45 +03:00
alexey-milovidov
528d231a6b
Merge pull request #8750 from azat/temporary_data_configuration
Multiple paths (disks/volumes) for storing temporary data support
2020-01-24 06:21:52 +03:00
alexey-milovidov
5c9393df97
Merge pull request #8717 from ClickHouse/oandrew-avro
Merging Avro format.
2020-01-24 06:14:09 +03:00
CurtizJ
d8331d9dcb fix in operator with constant arrays 2020-01-24 03:48:40 +03:00
alexey-milovidov
ab162170d2
Merge pull request #8799 from millb/query_log
Fixed 01070_exception_code_in_query_log_table test
2020-01-24 02:30:53 +03:00
alexey-milovidov
c698132cca
Merge pull request #8769 from traceon/format-name-http-header
Set X-ClickHouse-Format HTTP response header to the format name
2020-01-23 22:23:26 +03:00
Alexey Milovidov
680da3d7ed Merge remote-tracking branch 'origin/master' into oandrew-avro 2020-01-23 22:08:08 +03:00
chertus
d38bf7b4b2 add test 2020-01-23 21:32:16 +03:00
Azat Khuzhin
c9cc1ef516 Cover tmp_policy 2020-01-23 20:31:19 +03:00
Nikolai Kochetov
25ea3d83e2 Merge branch 'issue_7878_2' of https://github.com/vzakaznikov/ClickHouse into vzakaznikov-issue_7878_2 2020-01-23 18:45:24 +03:00
Nikolai Kochetov
4a4de82648 Merged with master 2020-01-23 18:44:26 +03:00
alesapin
1fa6adacbe
Merge pull request #8790 from ClickHouse/disable_flappy_tests
Disable some flappy tests
2020-01-23 17:41:17 +03:00
Mikhail Korotov
276d1c233e
Update 01071_http_header_exception_code.sh 2020-01-23 16:38:55 +03:00
CurtizJ
5162ece940 Merge branch 'function_result_with_operator_in' of https://github.com/Enmk/ClickHouse into merging-in-arrays 2020-01-23 16:24:43 +03:00
CurtizJ
1764ba5219 test for alter with ttl 2020-01-23 16:11:06 +03:00
CurtizJ
b5d8baee71 fix alters if ttl is set 2020-01-23 16:04:06 +03:00
millb
c441c2fc9c tests fixed 2020-01-23 15:47:13 +03:00
Vitaliy Zakaznikov
024dce32d8 Fixing NameOrDefault mode in ConvertingBlockInputStream. 2020-01-23 12:40:27 +01:00
alesapin
e6958c0e49 Disable some flappy tests 2020-01-23 12:01:55 +03:00
Nikolai Kochetov
0e906b29e1
Merge pull request #8783 from ClickHouse/loop-math-perf
Math perftest.
2020-01-23 11:53:30 +03:00
alexey-milovidov
2e849490bc
Merge pull request #8770 from millb/query_log
Created column exception_code in query_log table
2020-01-23 06:01:48 +03:00
Alexey Milovidov
64baafd245 Updated Avro test 2020-01-23 05:51:49 +03:00
Alexey Milovidov
9a8211cbff Added Avro roundtrip test 2020-01-23 05:39:58 +03:00
Alexey Milovidov
12bd78ecf8 Merge branch 'master' into oandrew-avro 2020-01-23 02:10:38 +03:00
Mikhail Korotov
d7cd319ee0
Update 01071_http_header_exception_code.sh 2020-01-23 00:19:42 +03:00
Mikhail Korotov
7a96702a21 tests are added 2020-01-22 21:42:06 +03:00
Alexander Kuzmenkov
55be790199 Do not crash if the row template file is empty. 2020-01-22 21:27:09 +03:00
Denis Glazachev
b6fe187e59 Fix test/check failures 2020-01-22 22:52:04 +05:30
Nikolai Kochetov
f0b7422dcb Loop queries for math perftest. 2020-01-22 19:56:49 +03:00
Alexander Kuzmenkov
8bf260454e MemorySanitizer should work now 2020-01-22 19:08:46 +03:00
millb
eadb9022c8 Tests are changed 2020-01-22 18:32:38 +03:00
Vitaliy Zakaznikov
54c8234379 Reworking fix for missing columns. 2020-01-22 16:15:42 +01:00
Vitaliy Zakaznikov
78ab3127ce Trying to fix issue with calculating default expressions. (Not working yet) 2020-01-22 14:34:00 +01:00
Artem Zuikov
289f16978f
Merge pull request #8764 from 4ertus2/bugs
Fix toDecimalOrNull() with exception inside
2020-01-22 14:18:34 +03:00
Nikolai Kochetov
47ffa40f99
Merge pull request #8766 from vzakaznikov/issue_7878
Fix issue #7878
2020-01-22 12:54:59 +03:00
Mikhail Korotov
3b7fdaa534 changes made 2020-01-21 23:00:43 +03:00
millb
4cffb62b41 Created exception_code column in query_log table 2020-01-21 22:49:42 +03:00
chertus
cc61fb9408 Merge branch 'master' into joins 2020-01-21 22:23:58 +03:00
chertus
97517075c2 fix pmj with processors 2020-01-21 22:20:15 +03:00
Denis Glazachev
79085bf629 Set X-ClickHouse-Format HTTP response header to the format name 2020-01-22 00:33:33 +05:30
Mikhail Korotov
584826424a Merge branch 'suffix_in_settings_value' of github.com:millb/ClickHouse into suffix_in_settings_value 2020-01-21 21:32:54 +03:00
chertus
69fee6812b variant without catch 2020-01-21 21:04:22 +03:00
alesapin
bef1eaeb98
Merge pull request #8753 from ClickHouse/fix_database_memory_wrong_data_path
Fix wrong data path in DatabaseMemory
2020-01-21 20:21:10 +03:00
Vitaliy Zakaznikov
1b5f6e37cb First attempt to fix issue https://github.com/ClickHouse/ClickHouse/issues/7878 2020-01-21 17:02:40 +01:00
chertus
cc5fc0a825 fix toDecimalOrNull with exception inside 2020-01-21 16:24:54 +03:00
alexey-milovidov
2a1fb20c27
Merge pull request #8720 from ClickHouse/GrigoryPervakov-vfs-s3
Merging DiskS3
2020-01-21 02:06:41 +03:00
Alexander Tokmakov
05c4405b65 fix 2020-01-20 23:08:47 +03:00
Alexey Milovidov
e4ff88a604 Added a test from Zlobober #5610 2020-01-20 22:43:57 +03:00
alexey-milovidov
9f550fc97f
Merge pull request #8744 from filimonov/test_for_incremental_filling_with_feedback
Test for incremental filling with feedback
2020-01-20 22:03:29 +03:00
chertus
6e304d5aef Merge branch 'master' into joins 2020-01-20 19:39:55 +03:00
chertus
b26c9a1f67 add test for pmj with consts and nullables 2020-01-20 19:36:21 +03:00
Alexey Milovidov
856962b290 Fixed test 2020-01-20 19:33:43 +03:00
chertus
0669eff031 version with processors 2020-01-20 17:17:55 +03:00
Mikhail Filimonov
bfb448b209 Test for incremental filling from 2 sources with feedback 2020-01-20 14:04:16 +01:00
Alexey Milovidov
09f3890b20 Merge branch 'master' into GrigoryPervakov-vfs-s3 2020-01-20 15:39:15 +03:00
Alexey Milovidov
d159570309 Added a test for fun 2020-01-19 22:09:03 +03:00
Alexey Milovidov
41263dc3f9 Merge remote-tracking branch 'origin/master' into oandrew-avro 2020-01-19 15:27:11 +03:00
alexey-milovidov
c711ce500b
Merge pull request #8422 from excitoon-favorites/bettertestalterttl
Fixed `ALTER MODIFY TTL`
2020-01-19 04:53:11 +03:00
alexey-milovidov
36a7a40a08
Merge pull request #8718 from Akazz/fixing_ternary_logic_for_batches
Fixed ternary logic (OR/AND/XOR) calculation in multiple batches
2020-01-19 04:49:04 +03:00
alexey-milovidov
901009d9b0
Merge branch 'master' into oandrew-avro 2020-01-19 03:37:29 +03:00
Alexey Milovidov
ae7b9a652b Merge branch 'vfs-s3' of https://github.com/GrigoryPervakov/ClickHouse into GrigoryPervakov-vfs-s3 2020-01-19 01:12:05 +03:00
alexey-milovidov
7583f8744a
Merge branch 'master' into bettertestalterttl 2020-01-19 01:03:25 +03:00
alexey-milovidov
93887371f3
Merge pull request #8716 from ClickHouse/bitCount-perf-test
Added performance test for bitCount function
2020-01-19 00:05:57 +03:00
Alexander Kazakov
0f22b5ec85 Fixed "newlines" 2020-01-18 23:45:41 +03:00
Alexander Kazakov
5fb75b3b9e Added tests for batched logical OPs 2020-01-18 23:35:12 +03:00
Alexey Milovidov
85f2e86e5b Added performance test for Avro format 2020-01-18 23:10:11 +03:00
Alexey Milovidov
76e04b9843 Merge branch 'avro' of https://github.com/oandrew/ClickHouse into oandrew-avro 2020-01-18 21:23:55 +03:00
alexey-milovidov
2ba89d169e
Merge branch 'master' into readline-to-replxx-docs-and-corrections 2020-01-18 20:58:24 +03:00
alexey-milovidov
85f395a8ee
Merge pull request #8680 from excitoon-favorites/criticalbugwithmove
Fixed a bug with double move which corrupt original part
2020-01-18 20:19:03 +03:00
Alexey Milovidov
157e6539de Added performance test for bitCount function 2020-01-18 18:50:18 +03:00
alexey-milovidov
0ceed79d4e
Merge pull request #8710 from ClickHouse/ifNotFinite
Added function 'ifNotFinite'
2020-01-18 18:47:22 +03:00
Alexey Milovidov
c0a5c664a9 Replace readline to replxx: docs and corrections 2020-01-18 18:44:08 +03:00
Alexey Milovidov
f7efa5e2c7 Merge branch 'replxx' of https://github.com/abyss7/ClickHouse into abyss7-replxx 2020-01-18 17:00:59 +03:00
Alexey Milovidov
eeea89e0a4 Added test 2020-01-18 16:06:19 +03:00
alexey-milovidov
3fe83a1006
Merge pull request #8708 from ClickHouse/bitCount
Added function bitCount
2020-01-18 14:37:08 +03:00
alexey-milovidov
3f603b7141
Merge pull request #8711 from ClickHouse/speedup-exception-while-insert-test
Speedup "exception while insert" test
2020-01-18 14:33:32 +03:00
alexey-milovidov
e587e1baf8
Merge pull request #8713 from ClickHouse/join-add-test-just-in-case
Added a test from Bindu Madhavi
2020-01-18 14:30:28 +03:00
Alexey Milovidov
c152df4ed5 Added a test from Bindu Madhavi 2020-01-18 05:47:55 +03:00
Alexey Milovidov
9983835c8e Speedup "exception while insert" test 2020-01-18 04:52:01 +03:00
Alexey Milovidov
27b5f47282 Added function ifNotFinite 2020-01-18 04:07:11 +03:00
Alexey Milovidov
da1b51a496 Added function bitCount #8702 2020-01-17 22:57:03 +03:00
Alexey Milovidov
3dec67ca6d Fixed the case of mixed-constness of arguments of function arrayZip 2020-01-17 22:16:02 +03:00
Vladimir Chebotarev
87ac7c59df Added concurrent test for ALTER MODIFY TTL. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
89d74a599b Fixed test_ttl_move::test_ttls_do_not_work_after_alter a little bit. 2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
614c45df16 Improved test_ttl_move::test_ttls_do_not_work_after_alter test (so that it does not pass anymore). 2020-01-17 16:17:17 +03:00
Pervakov Grigory
36e5322320 Fix remove in memory disk, fix style, change s3 object naming 2020-01-17 14:44:16 +03:00
Pervakov Grigory
70e50ecf10 Base implementation of IDisk interafce for S3 2020-01-17 14:34:39 +03:00
Vladimir Chebotarev
451c8174c5 Added test for bug with double move which corrupt original part. 2020-01-17 12:46:44 +03:00
Alexander Kuzmenkov
7ae38a3400 [wip] performance comparison test 2020-01-16 22:39:07 +03:00
Alexander Kuzmenkov
f81aa1c9f0 [wip] performance comparison test 2020-01-16 17:29:53 +03:00
chertus
61a7e84cae Merge branch 'master' into joins 2020-01-16 15:14:19 +03:00
alexey-milovidov
e409051304
Merge pull request #8663 from nikvas0/fix_lazy_db
Fix "DROP TABLE IF EXISTS" for lazy database
2020-01-16 13:24:37 +03:00