Anton Ivashkin
742793be54
Add SelectedRows and SelectedBytes events
2020-07-21 17:50:02 +03:00
alesapin
1ef39839d0
Missed tests
2020-07-21 17:06:18 +03:00
alesapin
daaa5cc382
Add setting allow_non_metadata_alters
2020-07-21 17:05:30 +03:00
Alexey Milovidov
fe5fb271dc
Fix "There is no supertype" error on ALTER UPDATE #7306
2020-07-21 16:31:59 +03:00
alexey-milovidov
e4e642e24f
Merge pull request #12593 from CurtizJ/fix-any-with-aliases
...
Fix lack of aliases with function 'any'
2020-07-21 14:37:37 +03:00
Nikolai Kochetov
3e4ed80ae7
Add test.
2020-07-21 12:24:06 +03:00
alexey-milovidov
16e8c61438
Merge pull request #12566 from ClickHouse/race_condition_cache_dictionaries
...
Fix race condition in clickhouse cache dictionary
2020-07-21 11:27:08 +03:00
Nikolai Kochetov
4ceee71d1f
Added test.
2020-07-21 11:21:13 +03:00
Anton Popov
d4783f8f19
fix lack of aliases with function 'any'
2020-07-20 12:04:03 +03:00
Alexey Milovidov
a104934d2c
Merge branch 'master' into deprecate-special-zero-datetime
2020-07-20 04:34:26 +03:00
Alexey Milovidov
10355a2850
Make behaviour of remainder of division for floating point numbers compatible with most of DBMS #7323
2020-07-20 04:03:46 +03:00
Alexey Milovidov
b8cc2bee53
Added a test from @ishirav #7404
2020-07-19 03:59:45 +03:00
alesapin
9ed420442d
remove comment
2020-07-17 18:26:11 +03:00
alesapin
dc05fbcfb3
Race condition test
2020-07-17 18:18:52 +03:00
Alexey Milovidov
e207acf19a
Merge branch 'master' into deprecate-special-zero-datetime
2020-07-17 17:06:31 +03:00
philip.han
3554e6c36a
Replace vector with PODArray and add testcases
2020-07-17 21:06:29 +09:00
alexey-milovidov
51f539d3fb
Merge pull request #12480 from azat/fix-SETTINGS-parse-after-FORMAT
...
[RFC] Fix SETTINGS parse after FORMAT
2020-07-17 14:11:24 +03:00
Artem Zuikov
c6e3e9b1ff
String convertion to enum in if() and transform() ( #12515 )
2020-07-17 12:28:51 +03:00
Alexey Milovidov
f134d1d34e
Remove race condition from test
2020-07-17 09:21:51 +03:00
Alexey Milovidov
601c45f4a5
Merge branch 'master' into add-test-for-lost-replicas-cleanup
2020-07-17 08:42:35 +03:00
alexey-milovidov
10e12c32cb
Merge pull request #12549 from ClickHouse/fix_ci_fest_tests
...
Fix ci fest tests
2020-07-17 08:01:23 +03:00
Azat Khuzhin
a5887ff735
Add 01401_FORMAT_SETTINGS to arcadia_skip_list (to fix yandex sync check)
...
And also to trigger CI, since looks like perf tests hanged
2020-07-17 00:29:17 +03:00
Azat Khuzhin
781f1597f2
Fix SETTINGS parsing after FORMAT for SELECT queries
...
There are two possible ways to pass the SETTINGS clause:
- SELECT 1 FORMAT Null SETTINGS max_block_size = 1
- SELECT 1 SETTINGS max_block_size = 1[ FORMAT Null]
And when the SETTINGS goes after FORMAT it is parsed in
ParserQueryWithOutput, and these settings are not applied for the query
from the ASTSelectQuery::initSettings()
So propagate settings from the ParserQueryWithOutput to the
ASTSelectQuery settings.
2020-07-17 00:28:52 +03:00
alexey-milovidov
fde8c87a1f
Merge pull request #12426 from ClickHouse/log-engine-rollback-on-insert-error
...
Rollback insertion error in Log engines
2020-07-16 22:50:48 +03:00
alesapin
af5a9887e7
Better 1318 test
2020-07-16 16:20:38 +03:00
alesapin
00140286e8
Sync mutations
2020-07-16 14:44:14 +03:00
alesapin
52585d152c
Fix final mark test
2020-07-16 14:40:55 +03:00
Vitaly Baranov
000b197ad1
Merge pull request #11234 from traceon/ldap-per-user-authentication
...
Add LDAP authentication support
2020-07-16 13:17:21 +03:00
Artem Zuikov
ff372ec0f0
Standard join type syntax position ( #12520 )
2020-07-16 11:56:45 +03:00
alesapin
f7792d0145
Merge pull request #12294 from ClickHouse/fasttest
...
Add image for fast tests run (with clone, build, etc.)
2020-07-16 11:21:53 +03:00
alexey-milovidov
8966c09ed6
Merge pull request #12519 from vzakaznikov/fix_data_duplication_and_tests_for_live_view
...
Fixing race condition in live view tables which could cause data duplication and live view tests
2020-07-16 11:03:28 +03:00
alexey-milovidov
6e9af5f179
Merge pull request #12529 from CurtizJ/fix-12521
...
Better exception for function 'in' with invalid number of arguments
2020-07-16 11:01:55 +03:00
Alexey Milovidov
eb7edf4586
Merge branch 'master' into add-test-for-lost-replicas-cleanup
2020-07-16 10:51:40 +03:00
Alexey Milovidov
3408b7e259
Merge branch 'master' into log-engine-rollback-on-insert-error
2020-07-16 05:34:02 +03:00
Alexey Milovidov
b335b1c774
Update test
2020-07-16 04:42:39 +03:00
Alexey Milovidov
7a8bd40c2c
Merge branch 'master' into deprecate-special-zero-datetime
2020-07-16 03:21:21 +03:00
Denis Glazachev
59cb758cf7
Merge branch 'master' into ldap-per-user-authentication
2020-07-16 02:29:24 +04:00
alesapin
e35c49faa2
Merge branch 'master' into fasttest
2020-07-15 22:35:46 +03:00
Anton Popov
de7b0c2424
better exception for function 'in' with invalid number of arguments
2020-07-15 17:25:09 +03:00
Artem Zuikov
2ba23c0cfa
Update arcadia_skip_list.txt
...
hotfix
2020-07-15 16:56:13 +03:00
Artem Zuikov
9232caed07
Update arcadia_skip_list.txt
...
one more ignored test with dictionary
2020-07-15 16:55:51 +03:00
alesapin
ba05bb1b39
Better tests for parallel run
2020-07-15 14:47:51 +03:00
Vitaliy Zakaznikov
560151f6cd
* Fix bug in StorageLiveView.cpp
...
* Fixing synchronization of the first insert in live view tests
2020-07-15 13:24:33 +02:00
Artem Zuikov
5f01a587f6
Optimize monotonous ORDER BY ( #12467 )
2020-07-15 13:10:21 +03:00
Artem Zuikov
f8229e0bf7
try fix test
2020-07-15 13:08:40 +03:00
alesapin
614540eddf
Merge pull request #12382 from ClickHouse/clear-all-columns
...
Better errors for CLEAR/DROP columns (possibly in partitions)
2020-07-15 12:52:06 +03:00
alexey-milovidov
a68310aab6
Merge pull request #12503 from ClickHouse/test-7754
...
Added a test for #7754
2020-07-15 06:25:32 +03:00
alexey-milovidov
e9bb46860d
Merge pull request #12443 from ClickHouse/negative-date-time-saturate-to-zero
...
Saturate negative unix timestamp to zero instead of overflow
2020-07-15 06:22:09 +03:00
Amos Bird
46c2bb57ec
Refactor joinGet and implement multi-key lookup.
2020-07-15 10:12:04 +08:00
Alexey Milovidov
36436eb703
Added a test to ensure that amount of ZooKeeper nodes do not grow in presense of lost replicas
2020-07-15 02:00:45 +03:00
Alexey Milovidov
cd7ed94a08
Added a test for #7754
2020-07-14 21:59:25 +03:00
Artem Zuikov
e8057387cb
Fix crash in 'JOIN dict ON expr(dict_key) = k' ( #12458 )
2020-07-14 17:06:11 +03:00
feng lv
767bc7a905
add doc
...
fix test
fix
name style fix
2020-07-14 18:50:51 +08:00
Artem Zuikov
dda2510208
Try enable multiple_joins_rewriter_version v2 by default ( #12469 )
2020-07-14 12:34:47 +03:00
Alexey Milovidov
ce1afcd39f
Merge branch 'master' into negative-date-time-saturate-to-zero
2020-07-14 09:33:43 +03:00
alexey-milovidov
fd4adf27d6
Merge pull request #12456 from CurtizJ/fix-12437
...
Fix #12437
2020-07-14 09:28:31 +03:00
feng lv
f0b423e928
add test
...
style fix
2020-07-14 14:16:47 +08:00
alesapin
1f576ee039
Some intermediate solution
2020-07-13 20:27:52 +03:00
tavplubix
3314a97b99
Merge pull request #12009 from hczhcz/patch-0628
...
Allow TabSeparatedRaw as an input format
2020-07-13 19:43:31 +03:00
Alexander Kuzmenkov
b656c43e93
fixup for #12427 -- max_block_size can't be zero
2020-07-13 18:25:48 +03:00
Alexander Kuzmenkov
c6ab1f61dc
Merge pull request #12427 from ClickHouse/fix-limit-overflow
...
Avoid overflow in LIMIT #10470 #11372
2020-07-13 18:20:21 +03:00
alesapin
1952be94ea
Merge branch 'master' into clear-all-columns
2020-07-13 17:38:47 +03:00
Denis Glazachev
f787702922
Merge branch 'master' into ldap-per-user-authentication
...
* master: (27 commits)
Whitespaces
Fix typo
Fix UBSan report in base64
Correct default secure port for clickhouse-benchmark #11044
Remove test with bug #10697
Update in-functions.md (#12430 )
Allow nullable key in MergeTree
Update arithmetic-functions.md
[docs] add rabbitmq docs (#12326 )
Lower block sizes and look what will happen #9248
Fix lifetime_bytes/lifetime_rows for Buffer direct block write
Retrigger CI
Fix up test_mysql_protocol failed
Implement lifetime_rows/lifetime_bytes for Buffer engine
Add comment regarding proxy tunnel usage in PocoHTTPClient.cpp
Add lifetime_rows/lifetime_bytes interface (exported via system.tables)
Tiny IStorage refactoring
Trigger integration-test-runner image rebuild.
Delete log.txt
Fix test_mysql_client/test_python_client error
...
2020-07-13 15:46:27 +04:00
Artem Zuikov
b5c181c24e
Optimize redundant functions in ORDER BY ( #12404 )
2020-07-13 13:34:25 +03:00
Anton Popov
a9530d2883
in-memory parts: fix reading from nested
2020-07-13 12:10:55 +03:00
alexey-milovidov
7108f88de5
Merge pull request #12424 from ClickHouse/lower-default-block-size
...
Lower block sizes and look what will happen
2020-07-13 05:32:25 +03:00
Alexey Milovidov
a31d8a4f5b
Update tests
2020-07-13 05:26:22 +03:00
alexey-milovidov
ae7eff98ed
Merge pull request #12433 from amosbird/np
...
Allow nullable key in MergeTree
2020-07-13 04:36:00 +03:00
Alexey Milovidov
f2fe419ca9
Saturate negative unix timestamp to zero instead of overflow
2020-07-13 01:48:22 +03:00
Alexey Milovidov
f6f8421c2f
Better test
2020-07-13 01:30:27 +03:00
Alexey Milovidov
8f0ec09372
Fix error; add a test
2020-07-13 01:23:21 +03:00
Alexey Milovidov
36de452fdd
Merge branch 'master' into fix-limit-overflow
2020-07-13 00:24:24 +03:00
Alexey Milovidov
e8a3f0abb3
Correct default secure port for clickhouse-benchmark #11044
2020-07-12 21:54:13 +03:00
Alexey Milovidov
72ac7b008e
Remove test with bug #10697
2020-07-12 21:02:06 +03:00
tavplubix
d64e51d1a7
Merge pull request #12421 from azat/lifetime-table-metrics
...
lifetime_rows/lifetime_bytes for Buffer engine
2020-07-12 19:00:02 +03:00
Amos Bird
cac5a89169
Allow nullable key in MergeTree
2020-07-12 22:21:51 +08:00
Alexey Milovidov
ef930df484
Avoid overflow in LIMIT #10470 #11372
2020-07-12 08:18:01 +03:00
Alexey Milovidov
204a4af394
Rollback insertion error in Log engines #12402
2020-07-12 05:32:18 +03:00
Azat Khuzhin
3bee98c6f0
Fix lifetime_bytes/lifetime_rows for Buffer direct block write
2020-07-12 01:16:05 +03:00
Denis Glazachev
b68d7b6c24
Merge branch 'master' into ldap-per-user-authentication
2020-07-11 21:37:52 +04:00
Denis Glazachev
edb6ef8c09
Merge commit 'ceac649c01b0158090cd271776f3219f5e7ff57c' into ldap-per-user-authentication
...
* commit 'ceac649c01b0158090cd271776f3219f5e7ff57c': (75 commits)
[docs] split misc statements (#12403 )
Update 00405_pretty_formats.reference
Update PrettyCompactBlockOutputFormat.cpp
Update PrettyBlockOutputFormat.cpp
Update DataTypeNullable.cpp
Update 01383_remote_ambiguous_column_shard.sql
add output_format_pretty_grid_charset setting in docs
add setting output_format_pretty_grid_charset
Added a test for #11135
Update index.md
RIGHT and FULL JOIN for MergeJoin (#12118 )
Update MergeTreeIndexFullText.cpp
restart the tests
[docs] add syntax highlight (#12398 )
query fuzzer
Fix std::bad_typeid when JSON functions called with argument of wrong type.
Allow typeid_cast() to cast nullptr to nullptr.
fix another context-related segfault
[security docs] actually, only admins can create advisories
query fuzzer
...
2020-07-11 21:32:36 +04:00
alexey-milovidov
3c2af9653a
Merge pull request #12416 from vzakaznikov/fixing_flopping_live_view_tests
...
Increasing default timeout for live view tests from 20 sec to 120 sec
2020-07-11 19:38:39 +03:00
Azat Khuzhin
32a45d0dee
Implement lifetime_rows/lifetime_bytes for Buffer engine
...
Buffer engine is usually used on INSERTs, but right now there is no way
to track number of INSERTed rows per-table, since only summary metrics
exists:
- StorageBufferRows
- StorageBufferBytes
But it can be pretty useful to track INSERTed rows rate (and it can be
exposed via http_handlers for i.e. prometheus)
2020-07-11 16:06:11 +03:00
alexey-milovidov
c615ea658b
Merge pull request #12400 from vitlibar/fix-bad_typeid
...
Fix std::bad_typeid when JSON functions called with argument of wrong type
2020-07-11 05:40:44 +03:00
alexey-milovidov
7bc2c83b80
Merge pull request #12372 from s-mx/issue-10429-add_setting_for_ascii_grid_symbols
...
add setting for ascii grid symbols
2020-07-11 05:31:41 +03:00
Vitaliy Zakaznikov
1ed7d176fc
Increasing default timeout for live view tests from 20 sec to 120 sec
...
to account for slowdowns.
2020-07-11 04:30:53 +02:00
alexey-milovidov
4394f68e26
Merge pull request #12411 from ClickHouse/test-11135
...
Added a test for #11135
2020-07-11 05:29:08 +03:00
alexey-milovidov
fd46ef428a
Update 00405_pretty_formats.reference
2020-07-11 00:33:21 +03:00
alexey-milovidov
2476d3f748
Update 01383_remote_ambiguous_column_shard.sql
2020-07-11 00:21:58 +03:00
alexey-milovidov
7c2bd32c9c
Merge pull request #12401 from ClickHouse/fix_segfault_in_storage_merge
...
Fix another Context-related segfault
2020-07-11 00:19:00 +03:00
Maxim Sabyanin
40f7ec71d3
add setting output_format_pretty_grid_charset
...
This setting allows to chose charset for printing grids (either UTF-8 or
ASCII).
2020-07-10 22:25:49 +03:00
Alexey Milovidov
57a803d477
Added a test for #11135
2020-07-10 21:50:01 +03:00
Artem Zuikov
6b26842ce5
RIGHT and FULL JOIN for MergeJoin ( #12118 )
2020-07-10 21:10:06 +03:00
alexey-milovidov
e22547c29d
Merge pull request #12388 from ClickHouse/bloom-filter-arg-check
...
Check arguments of bloom filter index
2020-07-10 20:54:16 +03:00
alexey-milovidov
2d9e0ec049
Merge pull request #12376 from ClickHouse/fix-totals-state-2
...
Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments
2020-07-10 20:18:48 +03:00
alexey-milovidov
d819624d7c
Merge pull request #12378 from ClickHouse/allow-clear-column-with-dependencies
...
Allow to CLEAR column even if there are depending DEFAULT expressions
2020-07-10 20:18:14 +03:00
alexey-milovidov
031c773260
Merge pull request #12384 from ClickHouse/support-negative-float-constants-in-key-condition
...
Avoid exception when negative or floating point constant is used in WHERE condition for indexed tables
2020-07-10 20:16:35 +03:00
Vitaly Baranov
94c858b2dc
Fix std::bad_typeid when JSON functions called with argument of wrong type.
2020-07-10 17:12:57 +03:00
Alexander Tokmakov
20d95a21fc
fix another context-related segfault
2020-07-10 17:00:44 +03:00
Artem Zuikov
01b5c2663c
Delete injective functions inside uniq ( #12337 )
2020-07-10 13:42:41 +03:00
Alexey Milovidov
47eaffbe63
Additional checks
2020-07-10 11:21:40 +03:00
Alexey Milovidov
4b86f36d37
Check arguments of bloom filter index
2020-07-10 11:13:21 +03:00
alesapin
5cae87e664
Merge pull request #12335 from ClickHouse/fix_alter_exit_codes
...
Fix alter rename error messages
2020-07-10 11:05:20 +03:00
Alexey Milovidov
02dea4973d
Allow to parse operator NOT as a function #12262
2020-07-10 09:47:37 +03:00
Alexey Milovidov
276b3a0215
Avoid exception when negative or floating point constant is used in WHERE condition for indexed tables #11905
2020-07-10 09:30:49 +03:00
Alexey Milovidov
a4c68a47d5
Added failing test with clearing all columns
2020-07-10 08:58:16 +03:00
Alexey Milovidov
a4b35a8a6f
Allow to CLEAR column even if there are depending DEFAULT expressions #12333
2020-07-10 08:54:35 +03:00
alexey-milovidov
c16d8e094b
Merge pull request #12308 from ClickHouse/fix-codec-bad-exception-code
...
Fix wrong exception code in codecs Delta, DoubleDelta #12110
2020-07-10 08:40:46 +03:00
Alexey Milovidov
c610a4b0a8
Fix error with ownership of aggregate function states with nested states
2020-07-10 08:28:34 +03:00
Alexey Milovidov
12e00411b4
Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments #12163
2020-07-10 06:23:42 +03:00
Alexey Milovidov
f252dd94c8
Miscellaneous
2020-07-10 05:17:15 +03:00
Alexey Milovidov
afc00fa0b8
Merge branch 'master' into fix-codec-bad-exception-code
2020-07-10 04:12:24 +03:00
alexey-milovidov
7799dc2f9c
Merge pull request #12336 from ClickHouse/fix-obvious-race-condition-in-test
...
Fix obvious race condition in test
2020-07-10 01:53:01 +03:00
Anton Popov
c4767557f2
Merge pull request #12306 from CurtizJ/fix-with-fill
...
Fix order of columns in WITH FILL modifier
2020-07-10 00:12:11 +03:00
alesapin
bb46ae8246
Fix tests
2020-07-09 22:14:19 +03:00
Anton Popov
8095a4e2bb
Update skip_list.json
2020-07-09 18:46:07 +03:00
Alexey Milovidov
21449bd28c
Fix obvious race condition in test
2020-07-09 17:48:46 +03:00
Alexey Milovidov
635b8f8f9a
Fix tests
2020-07-09 17:44:33 +03:00
alesapin
0156f43ed3
Human readable errors in alter rename queries
2020-07-09 17:30:38 +03:00
alesapin
26293e4640
Rename test 01378
2020-07-09 17:18:50 +03:00
Denis Glazachev
5a4762bb8a
Merge branch 'master' into ldap-per-user-authentication
2020-07-09 14:50:02 +04:00
alesapin
47f05dcadd
Merge pull request #12304 from CurtizJ/fix-ttl-rename
...
Fix TTL after renaming column.
2020-07-09 13:06:27 +03:00
Alexey Milovidov
380f748358
Fix issues
2020-07-09 08:08:41 +03:00
Alexey Milovidov
39e79cfe3e
Merge branch 'master' into fix-codec-bad-exception-code
2020-07-09 07:50:18 +03:00
alexey-milovidov
827990d681
Merge pull request #12305 from ClickHouse/fix-virtual-columns-filter
...
Fix virtual columns filter
2020-07-09 07:06:07 +03:00
alexey-milovidov
e73c6779f8
Merge pull request #12292 from ClickHouse/fix-typo
...
Fix typo in setting name
2020-07-09 06:32:27 +03:00
Alexey Milovidov
dbcd0fdd3e
Fix "Arcadia" build
2020-07-09 04:31:09 +03:00
alexey-milovidov
0c37fe9c75
Merge pull request #12179 from azat/GROUP-BY-injective-elimination-dictGet-fixes
...
Fix dictGet arguments check during GROUP BY injective functions elimination
2020-07-09 04:29:26 +03:00
alexey-milovidov
0a935dd4e8
Merge branch 'master' into fix-12030
2020-07-09 04:27:40 +03:00
alexey-milovidov
1536e89abe
Merge pull request #12287 from ClickHouse/fix_skip_list_option_old_branches
...
Fix skip lists for old branches
2020-07-09 04:25:35 +03:00
alexey-milovidov
36205e3ddf
Merge pull request #12181 from azat/bump-arrow-to-0.17
...
Bump arrow to 0.17 (and flatbuffers to v1.12, required by arrow)
2020-07-09 04:24:47 +03:00
Alexey Milovidov
0c8e12affd
Remove ridiculous code
2020-07-09 03:46:00 +03:00
Alexey Milovidov
9dc91e3ee4
Fix outstandingly wrong code
2020-07-09 03:35:14 +03:00
Alexey Milovidov
bb18ce9341
Added a test
2020-07-09 03:27:49 +03:00
Anton Popov
1122d99ba8
fix order of columns in WITH FILL modifier
2020-07-09 02:56:44 +03:00
Alexey Milovidov
c46ca164dd
Added a test
2020-07-09 02:54:15 +03:00
Anton Popov
0e4871eec2
fix TTL after renaming column
2020-07-09 02:25:31 +03:00
Alexey Milovidov
35f0e68892
Added a test
2020-07-09 01:41:25 +03:00
tavplubix
33c3545125
Merge pull request #12197 from nikitamikhaylov/csv-file-bugfix
...
Headers for CSVWithNames in StorageFile
2020-07-08 20:42:49 +03:00
alesapin
c2d4b02f5a
Add more tests to skip
2020-07-08 18:26:54 +03:00
alesapin
88ff072da4
More skip checks
2020-07-08 16:00:59 +03:00
alesapin
306bad6b81
Add tests to skip list
2020-07-08 15:05:20 +03:00
alexey-milovidov
df8cde7b54
Merge pull request #12279 from ClickHouse/fix-array-fill
...
Fix arrayFill for empty arrays.
2020-07-08 14:28:15 +03:00
alexey-milovidov
3f0c257389
Merge pull request #12275 from ClickHouse/supertype-low-cardinality
...
Supertype for LowCardinality
2020-07-08 14:27:48 +03:00
alesapin
84f8bf1e14
Merge pull request #10697 from CurtizJ/polymorphic-parts
...
Polymorphic parts (in-memory format)
2020-07-08 13:25:45 +03:00
alexey-milovidov
d0d1590d0d
Merge pull request #12271 from ClickHouse/fix-logical-functions-review
...
Fix minor issues in ternary logic
2020-07-08 05:33:37 +03:00
Alexey Milovidov
cea3de5243
Added a test
2020-07-08 04:58:32 +03:00
alexey-milovidov
b4c2c4906e
Merge pull request #11873 from ClickHouse/initial-explain
...
Initial explain
2020-07-08 01:59:27 +03:00
Alexey Milovidov
3a1ed562db
Merge branch 'master' into initial-explain
2020-07-08 01:58:25 +03:00
Alexey Milovidov
454b0a2678
Update test
2020-07-08 01:58:22 +03:00