Commit Graph

13672 Commits

Author SHA1 Message Date
Kevin Michel
edbeeaf6ec
Fix invalid JSON in column names
If the column name contains invalid UTF-8 sequences
and the output data types are all considered safe,
then the output will not be sanitized and the generated
JSON will be invalid.

A minimal reproduction case is :
`SELECT length('\x80') FORMAT JSONCompact`
where we auto-generate a non-UTF-8 column name with only
integer outputs, whereas :
`SELECT '\x80' FORMAT JSONCompact`
would be sanitized because the column type is String and
will trigger UTF-8 sanitization over the entire document.
2021-11-20 12:35:41 +01:00
Azat Khuzhin
71a691e9ab Make 01114_database_atomic more stable in debug builds
By reducing number of clickhouse-client invocation, since it is pretty
heavy in debug builds.
2021-11-20 14:27:34 +03:00
kssenii
29978f9707 Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view 2021-11-20 12:13:39 +03:00
Azat Khuzhin
fbaa6804c2 Fix 02010_lc_native flakiness (Query with id = 123456 is already running) 2021-11-20 10:25:12 +03:00
Azat Khuzhin
c70cc62b5f Add more checks in 02010_lc_native 2021-11-20 10:25:10 +03:00
Azat Khuzhin
686eba761c github actions: compress .log. too 2021-11-19 21:33:48 +03:00
alesapin
9179c10d14 Fix style 2021-11-19 18:42:56 +03:00
alesapin
466df39bd4 Followup 2021-11-19 18:24:39 +03:00
alesapin
d69c9f951e Fix 2021-11-19 18:09:18 +03:00
alesapin
f62a34e808 Fix typo 2021-11-19 17:56:54 +03:00
alesapin
308cc722f3 Push tests results to CI database 2021-11-19 17:47:04 +03:00
Kruglov Pavel
eb1cc834dc
Merge branch 'master' into custom-with-names-and-types 2021-11-19 16:51:25 +03:00
alesapin
583c9a5720
Update shell_config.sh 2021-11-19 16:36:13 +03:00
alesapin
c2221b3462 Merge branch 'add_4_letter_words_commands' of github.com:JackyWoo/ClickHouse into JackyWoo_add_4_letter_words_commands 2021-11-19 16:03:26 +03:00
alesapin
587a1a622d Fix tests 2021-11-19 16:03:01 +03:00
Constantine Peresypkin
315e793e6c remove hardcoded CI values 2021-11-19 14:58:26 +02:00
JackyWoo
0c0aba5ed2 add new line to new xml file tail 2021-11-19 19:04:54 +08:00
alesapin
7b7df05e33
Update shell_config.sh 2021-11-19 13:49:04 +03:00
SuperDJY
dd2972b8c3
return fake create query when executing show create table on system's tables. (#31391)
* clarify that cannot show create table of system's tables

* clarify that cannot show create table of system's tables in the document

* bypass test style-check for required `database=currentDatabase()` because `show create table` do not have condition

* rename supportsShowCreateTable to isSystemStorage

* build fake create query for show create table of system's tables

* fix tests for show create table on system's table:

1. only build fake create query when cannot get real query
2. only test rocksdb when it's enabled.

* fix test for show create table system.tables

* fix test for ASTCreateQuery set table and database

* change to LOGICAL_ERROR when cannot get in_memory metadata

Co-authored-by: tavplubix <tavplubix@gmail.com>

* implement common getCreateQueryFromStorage

Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-11-19 13:25:55 +03:00
tavplubix
9114bc8b9a
Update conftest.py 2021-11-19 12:48:08 +03:00
alesapin
3f8f08e816 Slightly better 2021-11-19 12:30:58 +03:00
Amos Bird
c47ec31617
fix 2021-11-19 11:51:05 +08:00
alexey-milovidov
12a471507e
Merge pull request #31169 from sundy-li/notlike-fix
ISSUES-30801: Remove not like function into RPNElement
2021-11-18 23:40:57 +03:00
alexey-milovidov
b30f9124c0
Merge pull request #31008 from kssenii/sql-json-fix-2
Improve usability of JSON_VALUE
2021-11-18 23:39:17 +03:00
alesapin
dcec086573 Small refactoring 2021-11-18 23:17:22 +03:00
Amos Bird
d1a14d76f1
fix 2021-11-19 02:29:35 +08:00
Amos Bird
c988a4e770
fix again 2021-11-18 23:09:17 +08:00
Anton Popov
69559a4fd9 fix convertion to CNF 2021-11-18 17:54:07 +03:00
kssenii
6a39d871b2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view 2021-11-18 17:29:11 +03:00
Stig Bakken
ff46e8bb51 Drop support for DatabaseOrdinary in MaterializedMySQL
1. Dropped support for DatabaseOrdinary for MaterializeMySQL. It
   is marked as experimental, and dropping support makes the code
   more maintaible, and speeds up integration tests by 50%.

2. Get rid of thread name logic for StorageMaterializeMySQL wrapping,
   use setInternalQuery instead (similar to MaterializedPostgreSQL).
2021-11-18 11:46:51 +01:00
kssenii
11ab1f1ae5 Fix 2021-11-18 08:46:31 +00:00
kssenii
4016530b99 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into sql-json-fix-2 2021-11-18 08:33:50 +00:00
Vladimir C
0a3a43c017
Merge pull request #30984 from qieqieplus/untuple-func-alias 2021-11-18 10:42:20 +03:00
Ivan Blinkov
864761b1be
[ci] whitelist codyrobert 2021-11-18 02:05:41 +03:00
Nikolay Degterinsky
fc9ef14a73
Merge pull request #29219 from evillique/log_lz4_streaming
Add LZ4 stream compression of logs
2021-11-17 21:22:57 +03:00
Kruglov Pavel
f27fcf8372
Merge pull request #31004 from Avogar/output-formats
Small refactoring in formats
2021-11-17 20:44:46 +03:00
alesapin
31d4e16bd9
Merge pull request #31443 from ClickHouse/trying_to_debug_integration_tests
Trying to debug integration tests
2021-11-17 20:19:27 +03:00
Anton Popov
dfb9bc2a01 minor fixes in constraints 2021-11-17 18:43:02 +03:00
Amos Bird
feb3a12d34
fix 2021-11-17 23:11:23 +08:00
avogar
4b332aea21 Temporary test fix 2021-11-17 17:54:15 +03:00
Amos Bird
7b9a19f066
enhance minmax_count projection 2021-11-17 22:05:57 +08:00
Nikolay Degterinsky
15a8100be2 Try to fix test 2021-11-17 12:08:57 +00:00
alesapin
5f3eca4cd1 Merge branch 'master' into JackyWoo_add_4_letter_words_commands 2021-11-17 12:59:20 +03:00
alesapin
eef8022473
Merge pull request #31448 from ClickHouse/tavplubix-patch-5
Try increase `snapshot_distance` for functional tests
2021-11-17 10:35:44 +03:00
alexey-milovidov
0ea843949e
Merge pull request #29806 from qoega/integration--7
Integration test improvements
2021-11-17 10:23:53 +03:00
mergify[bot]
41fa94f482
Merge branch 'master' into notlike-fix 2021-11-17 07:14:21 +00:00
alexey-milovidov
4f5745108e
Merge pull request #31456 from azat/client-editor
Fix waiting of the editor during interactive query editing
2021-11-17 10:13:04 +03:00
Kseniia Sumarokova
d1374481df
Merge pull request #31457 from azat/local-pager
Add --pager support for clickhouse-local
2021-11-17 09:29:56 +03:00
Nikolay Degterinsky
ddef6d86ca Minor fixes 2021-11-16 23:02:47 +00:00
Nikolay Degterinsky
2ae79233e4 Better 2021-11-16 23:02:47 +00:00
Nikolay Degterinsky
f1adde1b5f
Merge pull request #28668 from evillique/query_parameters
Add support for `Identifier` query parameters
2021-11-17 01:52:38 +03:00
Nikolay Degterinsky
eafd3ddfac Add lz4 stream compression 2021-11-16 22:30:29 +00:00
Azat Khuzhin
e26d755b9b Fix 01610_client_spawn_editor
quotes are superfluous, and after shell wrapper had been removed it had
been broken:

    24484 execve("/src/ch/clickhouse/tests/queries/0_stateless\"/01610_client_spawn_editor_open.editor\"", ["/src/ch/clickhouse/tests/queries/0_stateless\"/01610_client_spawn_editor_open.editor\"", "clickhouse_replxx_GWyu5Y.sql"], 0x7fffffffcf90 /* 100 vars */) = -1 ENOENT (No such file or directory)
    24484 write(1, "Cannot execute /src/ch/clickhouse/tests/queries/0_stateless\"/01610_client_spawn_editor_open.editor\": errno: 2, strerror: No such file or directory\n", 147) = 147
    24484 exit_group(-1)                    = ?
2021-11-16 23:40:05 +03:00
Azat Khuzhin
7a22b8f3d4 Add a test for --pager in clickhouse-local/clickhouse-client 2021-11-16 22:25:32 +03:00
tavplubix
7a4c02b3c8
Merge pull request #31451 from ClickHouse/minor_improvement_test_replicated_fetches_bandwidth
Minor improvement for test_replicated_fetches_bandwidth
2021-11-16 21:45:10 +03:00
avogar
8e9783388b Add formats CustomSeparatedWithNames/WithNamesAndTypes 2021-11-16 17:10:30 +03:00
Alexander Tokmakov
d8a7ffaa65 minor improvement for test_replicated_fetches_bandwidth 2021-11-16 16:02:07 +03:00
Nikolay Degterinsky
dd3b0e4140 Merge branch 'master' into query_parameters 2021-11-16 12:42:26 +00:00
tavplubix
c5ec95a196
Update keeper_port.xml 2021-11-16 15:03:01 +03:00
tavplubix
33122597fe
Merge pull request #31410 from stigsb/materialized-mysql-create-table-like
Handle CREATE TABLE LIKE in MaterializedMySQL
2021-11-16 14:10:58 +03:00
Nikolay Degterinsky
2f6a565b06 Merge branch 'master' into query_parameters 2021-11-16 10:37:58 +00:00
Yatsishin Ilya
0811c0ef3a revert strange change 2021-11-16 12:23:46 +03:00
alesapin
e426078344 Trying to debug integration tests 2021-11-16 11:59:38 +03:00
tavplubix
710fbebafc
Merge pull request #30977 from ClickHouse/check_dependencies_on_drop
Check dependencies on DROP TABLE
2021-11-16 11:38:42 +03:00
alesapin
d683b1e36b
Merge pull request #31413 from ClickHouse/turn_on_more_ci_checks
Turn on more CI checks
2021-11-16 10:32:52 +03:00
Nikolay Degterinsky
417b12d0d8 Fix test 2021-11-15 21:02:09 +00:00
Nikolay Degterinsky
ba50e8387d Merge branch 'master' into query_parameters 2021-11-15 19:55:54 +00:00
Nikolay Degterinsky
5c5897c1cd Apply suggestions from code review
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2021-11-15 17:57:26 +00:00
Kseniia Sumarokova
b040890fcf
Merge pull request #31420 from kssenii/fix-positional-args-bug
Fix group by with positional args
2021-11-15 20:42:58 +03:00
Kruglov Pavel
23c36f125e
Update 02115_write_buffers_finalize.sh 2021-11-15 18:19:54 +03:00
Yatsishin Ilya
2f8b8596a2 better 2021-11-15 17:07:08 +03:00
Stig Bakken
3eac620d4d Handle CREATE TABLE LIKE in MaterializedMySQL 2021-11-15 14:43:50 +01:00
tavplubix
c3219a00aa
Merge pull request #31333 from azat/global-ctx-tmp-tables
Do not try to resolve temporary tables from global context
2021-11-15 16:35:02 +03:00
alesapin
5df1c080c9 Binary release 2021-11-15 16:20:48 +03:00
Kruglov Pavel
d28989b00e
Update 02115_write_buffers_finalize.sh 2021-11-15 16:08:16 +03:00
kssenii
6fe803e31e Fix 2021-11-15 15:09:04 +03:00
avogar
8f7be52ac4 Update test, remove commented code 2021-11-15 14:58:18 +03:00
Alexander Tokmakov
416a82b99a Merge branch 'master' into check_dependencies_on_drop 2021-11-15 13:35:45 +03:00
alesapin
fe0cbd6036
Merge pull request #31340 from ClickHouse/get_rid_of_build_number
Remove some copypaste from CI
2021-11-15 12:46:07 +03:00
Azat Khuzhin
fa317e96e8 Do not try to resolve temporary tables from global context 2021-11-15 10:32:19 +03:00
alesapin
6bd5540395 Fixes 2021-11-15 10:07:03 +03:00
qieqieplus
b6aa781c9b add dot separator 2021-11-15 14:47:34 +08:00
Kseniia Sumarokova
846fbd059b
Merge pull request #31403 from kssenii/fix-client-output
Fix client
2021-11-14 15:01:30 +03:00
kssenii
9ea8408d8d Add test 2021-11-14 07:58:19 +00:00
alexey-milovidov
5712f9077d
Merge pull request #31393 from azat/fix-stderr-before-reopen
Check stderr is writable before reopining it (to avoid losing errors)
2021-11-14 01:44:08 +03:00
alexey-milovidov
e323b83f6a
Merge pull request #30876 from pmed/backslash_letter_interactive_input
add aliases for `\<letter>` interactive client commands
2021-11-14 01:43:13 +03:00
Azat Khuzhin
ed4b5c7640 Check stderr is writable before reopining it (to avoid losing errors) 2021-11-13 22:26:05 +03:00
Kseniia Sumarokova
59d4eb99c2
Merge pull request #31291 from kssenii/update-async-reads-setting
Make remote_filesystem_read_method=threadpool by default
2021-11-13 19:19:35 +03:00
kssenii
f18dcd2287 Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers 2021-11-13 14:38:57 +03:00
kssenii
7c2315638c Remove checks for profile events because they are not updated the same way with async reads 2021-11-13 13:37:00 +03:00
mergify[bot]
5d0306ed0c
Merge branch 'master' into notlike-fix 2021-11-12 22:35:10 +00:00
alesapin
63a4d0b6a2 Debugging broken checks 2021-11-12 22:57:26 +03:00
Yatsishin Ilya
4d0a3ee283 better test_dictionaries_dependency 2021-11-12 22:42:23 +03:00
alesapin
aae000372f Fix build config 2021-11-12 16:43:13 +03:00
alesapin
78c44976a4 Fix ci config 2021-11-12 16:34:33 +03:00
alesapin
17f2e61cd6 Underscores everywhere 2021-11-12 16:16:17 +03:00
alesapin
43c70c1c36 Fix build check 2021-11-12 16:08:06 +03:00
alesapin
40c323af5f Fix style 2021-11-12 16:01:41 +03:00
alesapin
d139ed5663 Fix 2021-11-12 15:50:56 +03:00
Kruglov Pavel
051a9e7c69
Merge pull request #31249 from vitlibar/fix-show-grants
Fix SHOW GRANTS when partial revokes are used.
2021-11-12 15:49:12 +03:00
alesapin
373fda6eb8 More fixes 2021-11-12 15:36:25 +03:00
tavplubix
8916d3bebf
Merge pull request #31305 from ClickHouse/rename_support_ifexists
Merging #31081
2021-11-12 15:22:43 +03:00
alesapin
2e6da9ea71 Fixes 2021-11-12 15:13:13 +03:00
Anton Popov
7769ed76ce
Merge pull request #31261 from CurtizJ/tuple-element-to-subcolumn
Optimize tupleElement to reading of subcolumn
2021-11-12 15:00:53 +03:00
alesapin
7a62338b0e Remove moar 2021-11-12 14:39:00 +03:00
alesapin
dc9a8f55c5 Add missed config 2021-11-12 14:12:42 +03:00
alesapin
45410b7032 Remove duplicated from CI 2021-11-12 14:11:44 +03:00
kssenii
6f895036e6 Disable for hdfs until tested, adjust tests with profile events 2021-11-12 14:09:19 +03:00
alesapin
9a437980e8 Merge branch 'master' into get_rid_of_build_number 2021-11-12 14:08:09 +03:00
alesapin
c1c1985e36 Get rid of build number 2021-11-12 14:07:54 +03:00
Vitaly Baranov
79a93c819f
Merge pull request #31262 from vitlibar/initial-user-role-row-policy
Initial user's roles are used now to find row policies
2021-11-12 13:51:20 +03:00
alesapin
8d7e500c5d
Merge pull request #31299 from ClickHouse/add_compatibility_check
Add split build check
2021-11-12 13:42:36 +03:00
alesapin
e94b359bca Remove 2021-11-12 12:40:33 +03:00
alesapin
864f02dfc5 Fix run log 2021-11-12 12:33:22 +03:00
Kseniia Sumarokova
ccbe110857
Merge pull request #31316 from kssenii/debug-rabbit--test
Debug rabbitmq tests
2021-11-12 11:29:37 +03:00
kssenii
d346d3d92a Remove possible culprit 2021-11-11 20:33:50 +00:00
alesapin
8dc137abcd Fix check 2021-11-11 22:42:59 +03:00
Anton Popov
4c6c80b9a2
Merge pull request #31044 from kssenii/fix-storage-merge-with-aliases-and-where
Fix StorageMerge with aliases and where
2021-11-11 21:46:02 +03:00
Kseniia Sumarokova
b3bacac021
Merge pull request #29894 from kssenii/retriable-http
Make http read buffer retriable
2021-11-11 19:50:50 +03:00
alesapin
3fe15245b8 Fix special build number 2021-11-11 19:18:24 +03:00
alesapin
5046b39d58 Download tgz 2021-11-11 18:45:20 +03:00
alesapin
2a2549eb9b Add split build check 2021-11-11 16:57:17 +03:00
Yatsishin Ilya
cc109a7e4a fix 2021-11-11 16:36:10 +03:00
Yatsishin Ilya
d6048f0c18 fix 2021-11-11 16:28:50 +03:00
Yatsishin Ilya
9345b93486 fix killall. better test_different_user 2021-11-11 16:28:29 +03:00
Nikolay Degterinsky
7b5954b736 Merge branch 'master' into query_parameters 2021-11-11 11:43:00 +00:00
alesapin
c4480b366f Merge branch 'master' into add_compatibility_check 2021-11-11 14:38:25 +03:00
tavplubix
dd720ec9b4
Merge pull request #31252 from ClickHouse/warning_for_obsolete_settings
Show warning if some obsolete setting changed
2021-11-11 13:41:49 +03:00
kssenii
0dda1f280b Update setting remote_filesystem_read_method 2021-11-11 13:19:49 +03:00
alesapin
e5d44befbe
Merge pull request #31287 from ClickHouse/download_ccache_in_builds
Followup to ccache build
2021-11-11 13:09:19 +03:00
alesapin
8cb3c5cb57
Merge pull request #31248 from ClickHouse/add_flaky_check
Add flaky check to new CI
2021-11-11 12:44:36 +03:00
alesapin
b059cc4f22 Followup 2021-11-11 11:53:20 +03:00
Kseniia Sumarokova
e20cb0c10a
Merge branch 'master' into retriable-http 2021-11-11 11:52:06 +03:00
alesapin
17ffd0e17b
Merge pull request #31227 from ClickHouse/download_ccache_in_builds
Download ccache if not exists in builds
2021-11-11 11:50:21 +03:00
alesapin
2f42a5137d Trying flaky check 2021-11-11 11:44:53 +03:00
Nikolai Kochetov
b062c8ca51
Merge pull request #31031 from cmsxbc/throw-exception-offset-fetch-without-order-by
improve error message while using OFFSET FETCH clause without ORDER BY
2021-11-11 11:37:16 +03:00
Yatsishin Ilya
ad2376c03b wip 2021-11-11 11:12:54 +03:00
Yatsishin Ilya
14c14dcd00 Merge remote-tracking branch 'origin' into integration--7 2021-11-11 10:41:50 +03:00
Yatsishin Ilya
b7c6a7bf8e wip 2021-11-11 10:41:48 +03:00
alesapin
68ed04afe4 Build check 2021-11-11 10:33:44 +03:00
Vladimir C
b85710a673
Merge pull request #31105 from abel-cheng/fix-rewrite-in-local-in 2021-11-11 10:02:52 +03:00
cmsxbc
07708e99a5
fix ErrorCode in test because of confilict 2021-11-11 08:22:57 +08:00
cmsxbc
bb0f929a39
add test for offset fetch without order by 2021-11-11 08:20:47 +08:00
avogar
c521a9131a Small refactoring of WriteBiffer-s 2021-11-11 02:11:18 +03:00
alexey-milovidov
e3650b865a
Merge pull request #30965 from kssenii/intersect-except-fix
Fix cases when intersect / except is not checked
2021-11-11 01:59:59 +03:00
Kseniia Sumarokova
c916f24a06
Merge pull request #31224 from kssenii/rename-setting
Rename setting value read_threadpool to threadpool
2021-11-11 01:04:58 +03:00
Kseniia Sumarokova
c119feeb8c
Merge pull request #31225 from kssenii/relax-test
Relax test 02026_storage_filelog_largefile.sh
2021-11-11 01:04:12 +03:00
Kseniia Sumarokova
852be4b6a8
Merge pull request #31250 from ClickHouse/kssenii-fix-test-1
Fix test
2021-11-11 01:03:21 +03:00
kssenii
62c70ce5cf Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http 2021-11-10 21:16:11 +00:00
Anton Popov
47e19a4cd9 optimize tupleElement to reading of subcolumn 2021-11-10 22:24:28 +03:00
Vitaly Baranov
b4791f1431 Add test. 2021-11-10 22:21:59 +03:00
Anton Popov
833652e8f4 Merge branch 'nikvas0/simple_optimizations' of git://github.com/nikvas0/ClickHouse into merging-constraints 2021-11-10 19:35:28 +03:00
kssenii
a2326f5035 Fix 2021-11-10 19:03:54 +03:00
Alexander Tokmakov
9d83832bde show warning if some obsolete setting changed 2021-11-10 18:49:13 +03:00
mergify[bot]
9b0f0e5f3d
Merge branch 'master' into download_ccache_in_builds 2021-11-10 15:30:40 +00:00
Vitaly Baranov
1579bcfd20
Merge pull request #31178 from vitlibar/backup-engines-and-improvements
Backup engines and improvements
2021-11-10 18:20:41 +03:00
Yatsishin Ilya
52cc2fa547 Merge remote-tracking branch 'origin' into integration--7 2021-11-10 18:19:02 +03:00
Kseniia Sumarokova
f3dc7c0e5d
Update test.py 2021-11-10 17:21:25 +03:00
Kseniia Sumarokova
a18fd8bdfc
Fix 2021-11-10 17:20:25 +03:00
mergify[bot]
6ac1821377
Merge branch 'master' into download_ccache_in_builds 2021-11-10 14:15:14 +00:00
Vitaly Baranov
b74999b6bd Fix SHOW GRANTS when partial revokes are used. 2021-11-10 17:03:02 +03:00
alesapin
349f266c1a Add flaky check 2021-11-10 16:49:19 +03:00
Anton Popov
9538dcf0c7
Merge pull request #31218 from CurtizJ/map-contains-to-subcolumn
Optimize `mapContains` to reading of subcolumn
2021-11-10 16:34:26 +03:00
alesapin
0cdc1307b8 Ongoing fix 2021-11-10 16:33:18 +03:00
alesapin
32a2493b39 Better 2021-11-10 16:31:28 +03:00
alesapin
9792b87028 Add smoke test 2021-11-10 16:28:12 +03:00
alesapin
6649881f85 Fix style: 2021-11-10 16:09:23 +03:00
Vladimir C
19e2cbcabc
Apply suggestions from code review 2021-11-10 14:44:35 +03:00
alesapin
959fad161a Fix 2021-11-10 14:13:34 +03:00
alesapin
b105dab3a4 Remove ccache 2021-11-10 14:08:42 +03:00
alesapin
fc04b658bf Add compatibility check 2021-11-10 13:17:19 +03:00
alesapin
0e02ed3b89 Followup 2021-11-10 12:10:42 +03:00
alesapin
7920724a81 Moar logging 2021-11-10 12:08:43 +03:00
abel-wang
3b82c36049 add tests 2021-11-10 16:38:01 +08:00
Vitaly Baranov
71359433dd Add parameters "backups.allowed_path" and "backups.allowed_disk" to config. 2021-11-10 11:03:09 +03:00
Vitaly Baranov
508fb6f54f Use external dirs in the integration test to make test not flaky. 2021-11-10 11:03:09 +03:00
Vitaly Baranov
606e94f4cc Fix backup of database. 2021-11-10 11:03:09 +03:00
kssenii
d2319e59a1 Relax test 2021-11-10 07:55:49 +00:00
kssenii
618c332f9c Rename read_threadpool to threadpool 2021-11-10 07:46:18 +00:00
alesapin
2174a3d348
Merge pull request #31177 from ClickHouse/add_cherry_pick_on_actions
Debug cherry-pick CI
2021-11-10 10:28:22 +03:00
abel-wang
4ad729c7d4 add tests 2021-11-10 14:38:40 +08:00
Anton Popov
c2eb9e7e78 optimize mapContains to subcolumn 2021-11-10 00:44:51 +03:00
Vitaly Baranov
cf77c0b3fc New syntax for BACKUP/RESTORE: set backup engine explicitly. 2021-11-09 23:16:40 +03:00
Alexander Tokmakov
4f542ab019 add test 2021-11-09 23:11:02 +03:00
alesapin
f2eb48fe5c Fix 2021-11-09 20:56:44 +03:00
alesapin
54f953f26c Fix 2021-11-09 20:40:23 +03:00
alesapin
d4cb8dad94
Merge pull request #31175 from ClickHouse/add_unit_tests
Add unit tests to CI
2021-11-09 20:18:35 +03:00
sundy-li
45cab9f3b0 Add stable order by tests result 2021-11-09 21:31:31 +08:00
Kruglov Pavel
17085183bf
Merge pull request #31042 from Avogar/hdfs-bad-url
Add additional hdfs url check
2021-11-09 16:23:59 +03:00
Kruglov Pavel
868dc9c6c5
Merge pull request #31036 from Avogar/hdfs-fixes
Fix assert in hdfs, add test
2021-11-09 16:23:11 +03:00
alesapin
829dcc9a56 Trying to cheat 2021-11-09 16:09:34 +03:00
alesapin
2cfa97782c Use robot token 2021-11-09 15:40:03 +03:00
kssenii
bfde7fd36c Better 2021-11-09 12:06:43 +00:00
Dmitry Novik
406bb4d997
Merge pull request #28965 from nicelulu/issues_28774
128bit hash-functions accepting arbitrary list of arguments
2021-11-09 14:40:25 +03:00
alesapin
da196c7a71 More retries 2021-11-09 14:34:08 +03:00
kssenii
ee9ceaf7d4 Better 2021-11-09 14:27:17 +03:00
alesapin
5674a7df3a Fix relative imports 2021-11-09 14:14:30 +03:00
alesapin
6af1a2ee6a Trying other way 2021-11-09 14:10:57 +03:00
alesapin
dc1964aa9a Add unit tests to CI 2021-11-09 13:15:22 +03:00
JackyWoo
c71fb3337f add more 4lwd commands 2021-11-09 17:39:28 +08:00
alesapin
fefac35bef
Merge pull request #31158 from ClickHouse/add_cherry_pick_on_actions
Add cherry-pick on github actions
2021-11-09 10:50:56 +03:00
alesapin
3d8ef4ae95
Merge branch 'master' into trying_actions 2021-11-09 10:35:55 +03:00
Kseniia Sumarokova
581986c0d3
Merge pull request #30997 from kssenii/rabbitmq-fixes
RabbitMQ: fix one issue and add more tests
2021-11-09 10:15:01 +03:00
sundy-li
3a981de643 ISSUES-30801: Remove not like function into RPNElement 2021-11-09 10:57:37 +08:00
alesapin
1aad042d0e
Merge pull request #31156 from ClickHouse/add_pvs_studio_to_actions
Add pvs studio to actions
2021-11-08 23:23:27 +03:00
alesapin
364968b3cf Fixes 2021-11-08 19:25:00 +03:00
alesapin
85662523b6
Merge pull request #31139 from ClickHouse/approve_lambda
Add lambda  for approve
2021-11-08 18:55:39 +03:00
alesapin
ea4474861e
Update app.py 2021-11-08 18:50:33 +03:00
mergify[bot]
f55e1439cb
Merge branch 'master' into output-formats 2021-11-08 15:33:45 +00:00
alesapin
7fb9a42b11 Fix style 2021-11-08 17:45:19 +03:00
mergify[bot]
244812af2b
Merge branch 'master' into add_pvs_studio_to_actions 2021-11-08 14:44:46 +00:00
alesapin
05f3cfdefd Add cherry-pick on github actions 2021-11-08 17:30:27 +03:00
alesapin
2c02f0aebb Add PVS check to github actions 2021-11-08 16:52:50 +03:00
alesapin
1fcd7cedf4 Restart docker 2021-11-08 16:23:14 +03:00
kssenii
dead99011b Merge branch 'master' of github.com:ClickHouse/ClickHouse into intersect-except-fix 2021-11-08 16:15:33 +03:00
vdimir
56bc802ee2
Support join on constant 2021-11-08 15:44:13 +03:00
Yatsishin Ilya
660bfbd754 Merge remote-tracking branch 'origin' into integration--7 2021-11-08 15:41:12 +03:00
avogar
f10dfbe61a fix tests 2021-11-08 14:12:37 +03:00
alesapin
25006bcef3 Revert accident changes 2021-11-08 13:16:07 +03:00
Amr Alaa
ad81977ace
Skip max_partition_size_to_drop check in case of ATTACH PARTITION ... FROM (#30995)
* Skip checkPartitionCanBeDropped check in case of ATTACH PARTITION ... FROM

* Add integration test

* Fix syntax error

* Fix integration test

* Fix integration test

* Fix integration test

* Skip max_partition_size_to_drop for MOVE PARTITION
2021-11-08 13:07:14 +03:00
alesapin
0ee8bb3c00 Fixes in approve lambda 2021-11-08 13:05:59 +03:00
kssenii
ab44123f49 Fix 2021-11-08 13:00:42 +03:00
vicgao
8e7023cdb4 rename database/table/dictionary support IF EXISTS syntax 2021-11-08 16:27:10 +08:00
alesapin
96cb483d60 Fix report one more time 2021-11-08 10:10:11 +03:00
Kseniia Sumarokova
908d78febe
Merge pull request #30851 from kssenii/clickhouse-local-improve
Allow delayed interactive mode
2021-11-08 10:07:29 +03:00
alesapin
fd23b5b3bc Use literal eval 2021-11-07 23:11:04 +03:00
alesapin
7edef11fd3 Fix report 2021-11-07 23:09:43 +03:00
kssenii
be88441cd6 Much better 2021-11-06 18:46:39 +03:00
alesapin
a582fc4acf Followup 2021-11-06 17:27:11 +03:00
tavplubix
94a66f724e
Merge pull request #30135 from FArthur-cmd/add_parallel_reading_from_infile
Add parallel file reading `FROM INFILE` in client
2021-11-06 15:54:27 +03:00
alesapin
5f29e8a803 Trying to run with sudo 2021-11-06 12:29:37 +03:00
abel-wang
53341acdeb Add global keywords in subqueries. 2021-11-06 11:07:33 +08:00
kssenii
03c16117b3 Tiny fix 2021-11-05 20:12:34 +00:00
alesapin
2a7e246021 Don't try to restart docker 2021-11-05 21:49:40 +03:00
Artur
93b8863cee Add test for settings 2021-11-05 18:33:50 +00:00
Artur
ae13237c55 remove check for settings from test 2021-11-05 11:07:31 +00:00
Artur
f6e7fe67c4 improve tests 2021-11-05 10:44:41 +00:00
alesapin
dd9446d8d3 Fix ci runner 2021-11-05 11:56:06 +03:00
alesapin
a1a6d3876b Iptables fix 2021-11-04 23:22:13 +03:00
alesapin
2cc0b9723e Use temp path 2021-11-04 18:53:45 +03:00
alesapin
c11042da80 Fix approve lambda 2021-11-04 18:47:35 +03:00
Vitaly Baranov
78e9af8f0a
Merge pull request #31013 from vitlibar/no-sessions-in-clickhouse-dictionary-source
Disable using session log for the local session inside Clickhouse dictionary source
2021-11-04 18:04:22 +03:00
alesapin
5b98b3f93d Don't delete runners in metrics lambda 2021-11-04 17:49:58 +03:00
kssenii
4bc2a29345 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http 2021-11-04 14:41:24 +00:00
kssenii
b95f0738fb Fix 2021-11-04 14:39:53 +00:00
vicgao
ec2c70ab75 rename/exchange database/table/dictionary support IF EXISTS syntax 2021-11-04 22:35:34 +08:00
kssenii
824c5b27da Add test with emoji 2021-11-04 17:11:01 +03:00
alesapin
767e20f02d Fix packages 2021-11-04 14:21:01 +03:00
kssenii
26c4affc18 Fixes 2021-11-04 11:00:35 +00:00
kssenii
26f6a697b5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql-fix 2021-11-04 13:25:48 +03:00
kssenii
9cfa2c4578 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sql-json-fix-2 2021-11-04 13:04:00 +03:00
alesapin
e259d259a8 Fix logs upload 2021-11-04 12:13:18 +03:00
alexey-milovidov
e5b811f96d
Merge pull request #31028 from azat/perf-drop-table
perf: add missing DROP TABLE queries
2021-11-04 00:31:19 +03:00
alexey-milovidov
74cac98739
Merge pull request #31030 from azat/tests-log-tables
Remove metric_log/part_log overrides in tests (enabled by default)
2021-11-04 00:30:43 +03:00
alesapin
b4657dd932 Forward env 2021-11-03 23:48:23 +03:00
avogar
2dd4393ca1 Small refactoring in formats 2021-11-03 20:07:05 +03:00
alesapin
0693ab2751 Obvious fix 2021-11-03 18:27:03 +03:00
alesapin
4f8ac2b557 Approve lambda fixes 2021-11-03 18:25:15 +03:00
Alexander Tokmakov
23e8cc24b5 fix tests 2021-11-03 18:06:19 +03:00
Vitaly Baranov
15280df08d Fix integration test "test_dictionaries_dependency_xml/". 2021-11-03 17:11:43 +03:00
kssenii
35a4be601a Select query commit only with settings 2021-11-03 15:43:58 +03:00
vdimir
08545795b5
Separate option for enabling fuse syntax for sum, avg, count 2021-11-03 15:13:09 +03:00
kssenii
b1c4a48d94 Update test 2021-11-03 14:40:35 +03:00
kssenii
ae8a451cef Merge branch 'master' of github.com:ClickHouse/ClickHouse into sql-json-fix-2 2021-11-03 14:37:50 +03:00
alesapin
3beb1e4e7a Fix style 2021-11-03 14:34:52 +03:00
kssenii
ec11179f91 Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers 2021-11-03 14:33:31 +03:00
kssenii
45ea820297 Reduce memory usage for some formats 2021-11-03 14:30:03 +03:00
alesapin
06bb20dc70 Add integration test on top of github actions 2021-11-03 14:27:49 +03:00
Yatsishin Ilya
046e0d9249 Merge remote-tracking branch 'origin' into integration--7 2021-11-03 14:21:23 +03:00
kssenii
38466cb76f Storage merge fix aliases with where 2021-11-03 14:17:11 +03:00
Kruglov Pavel
77f5ef476a
Merge branch 'master' into hdfs-bad-url 2021-11-03 14:08:55 +03:00
avogar
3839d521a0 Add additional hdfs url check 2021-11-03 14:01:50 +03:00
Kruglov Pavel
5b60497e51
Update 02113_hdfs_assert.sh 2021-11-03 13:39:37 +03:00
avogar
f2652051e3 Fix assert in hdfs, add test 2021-11-03 12:53:33 +03:00
Kruglov Pavel
327a34e9da
Merge pull request #30497 from Avogar/null-deserialization
Add custom null representation support for TSV/CSV input formats, fix Nullable(String) deserializing in some formats
2021-11-03 11:30:25 +03:00
Kruglov Pavel
a22ab40468
Merge pull request #24539 from ildus/map_combinator
add Map combinator for the Map type
2021-11-03 11:25:23 +03:00
Kruglov Pavel
2f950ee138
Merge pull request #30927 from CurtizJ/with-fill-interval
Support `INTERVAL` type in `STEP` clause for `WITH FILL` modifier
2021-11-03 11:23:21 +03:00
alesapin
343a41f225 Delete outdated runners in metrics lambda 2021-11-03 10:53:16 +03:00
alesapin
c274782aeb
Merge pull request #31002 from ClickHouse/trying_actions
Add fuzzer check to actions
2021-11-03 10:51:47 +03:00
Azat Khuzhin
0047d2eb4f Remove metric_log/part_log overrides in tests (enabled by default) 2021-11-03 08:39:36 +03:00
Azat Khuzhin
82d6fead89 perf: add missing DROP TABLE queries 2021-11-03 08:26:52 +03:00
Anton Popov
2a617e6a5a
Merge pull request #31003 from kssenii/sql-json-fix
Allow spaces in JSONPath.
2021-11-03 00:59:54 +03:00
mergify[bot]
1ba871a664
Merge branch 'master' into fix-format-row 2021-11-02 21:56:44 +00:00
kssenii
feb3d8bc75 Merge branch 'master' of github.com:ClickHouse/ClickHouse into clickhouse-local-improve 2021-11-02 20:01:15 +00:00
Kseniia Sumarokova
065106c299
Merge pull request #30690 from kssenii/partitioned-write
Partitioned write for file, hdfs, url storages and table functions
2021-11-02 22:58:16 +03:00
alesapin
94f0214a8f Remove paths 2021-11-02 22:29:58 +03:00
kssenii
79bb4fdba4 Fix 2021-11-02 21:57:36 +03:00
Ilya Yatsishin
d897a13cc3
Merge pull request #30963 from qoega/less-parallel 2021-11-02 21:42:11 +03:00
alesapin
cd77f26826 Fix fuzzer check 2021-11-02 18:37:55 +03:00
kssenii
f662c1829d Fix 2021-11-02 18:08:10 +03:00
Yatsishin Ilya
d5138e1427 Merge remote-tracking branch 'origin' into integration--7 2021-11-02 17:41:40 +03:00
Alexander Tokmakov
c4108ab672 support alter 2021-11-02 17:30:22 +03:00
Kruglov Pavel
1cb708fd1b
Update 02113_format_row_bug.sql 2021-11-02 17:13:58 +03:00
kssenii
01684ad05a Fix 2021-11-02 16:53:47 +03:00
alesapin
bc2c5c6033 Add fuzzer check to actions 2021-11-02 16:38:55 +03:00
avogar
62c5951dd7 Fix segfault in formatRow function 2021-11-02 16:26:14 +03:00
Alexander Tokmakov
56aeff734a Merge branch 'master' into check_dependencies_on_drop 2021-11-02 16:15:30 +03:00
Alexander Tokmakov
598dbe04db fix tests, support rename 2021-11-02 15:58:45 +03:00
alesapin
f50e7b5cf2 Add approve lambda for pull requests 2021-11-02 13:59:25 +03:00
Kruglov Pavel
901ebcede6
Merge pull request #30351 from arenadata/ADQM-335
output_format_avro_rows_in_file
2021-11-02 12:25:27 +03:00