Commit Graph

13830 Commits

Author SHA1 Message Date
michael1589
082105faa9 for test url auth 2021-11-28 21:22:23 +08:00
alexey-milovidov
d1e1255e38
Merge pull request #31707 from ClickHouse/fix-decrypt-nullable
Fix exception on some of the applications of "decrypt" function on Nullable columns
2021-11-28 16:21:49 +03:00
alesapin
9be8e21529 Add json type to changes in documentation 2021-11-28 15:55:23 +03:00
alesapin
91ff4caba4
Merge pull request #31861 from ClickHouse/more_clear_build_paths
Get rid of build numbers and simplify builds paths in S3
2021-11-28 15:33:41 +03:00
Alexey Milovidov
e865b49293 Merge branch 'master' into fix-decrypt-nullable 2021-11-28 06:12:06 +03:00
vxider
14ba0ef1bf update tests 2021-11-27 18:11:52 +00:00
michael1589
26a117c4c1 add test file for url basic auth 2021-11-27 23:54:33 +08:00
michael1589
dbfe637f7b
Merge branch 'ClickHouse:master' into master 2021-11-27 23:30:25 +08:00
Anton Popov
120cb79bac
Merge pull request #31826 from CurtizJ/fix-uncompressed-cache
Fix reading with uncompressed cache
2021-11-27 17:36:52 +03:00
Alexander Tokmakov
2fb00172a9 try parse partition key value from partition_id 2021-11-27 15:07:08 +03:00
kssenii
be3b4ca8fe Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-27 09:44:31 +00:00
kssenii
515261f5dd Better 2021-11-27 09:40:46 +00:00
vxider
eef0a93b31 fix test 2021-11-27 06:36:42 +00:00
vxider
cfddc7ec55 fix test 2021-11-27 01:28:39 +00:00
alexey-milovidov
9a61bc64f7
Merge pull request #31889 from ClickHouse/try-fix-flacky-test
Try to fix flacky test.
2021-11-27 03:24:32 +03:00
alexey-milovidov
d9292395e8
Merge pull request #31832 from ClickHouse/strange-code-typelist
Fix the issue that LowCardinality of Int256 cannot be created.
2021-11-27 00:36:56 +03:00
alexey-milovidov
75ac0f72bc
Merge pull request #31883 from CurtizJ/fix-empty-uuid
Fix function `empty` with `UUID` type
2021-11-27 00:23:47 +03:00
Vxider
71d9d80275 timezone support for Tumble/Hop Start/End 2021-11-26 18:03:41 +00:00
Nikolai Kochetov
e6515c2a4a Try to fix flacky test. 2021-11-26 18:03:14 +03:00
Anton Popov
7237343fd6 fix function 'empty' with uuid type 2021-11-26 17:39:29 +03:00
alesapin
c2d7731544
Update ci_config.py 2021-11-26 16:37:46 +03:00
Nikolai Kochetov
185c20cf88 Support toUInt8/toInt8 for if constant condition optimization. 2021-11-26 15:38:32 +03:00
Kruglov Pavel
af998af710
Merge pull request #31489 from Avogar/parallel-formatting
Support parallel formatting almost for all text formats
2021-11-26 15:21:22 +03:00
kssenii
56bcfc2877 Fix some tests 2021-11-26 14:11:27 +03:00
tavplubix
b68f0df8b4
Merge pull request #31849 from ClickHouse/tavplubix-patch-5
Update 01155_rename_move_materialized_view.sql
2021-11-26 14:09:56 +03:00
alesapin
d5fb056b18 Remove accident change: 2021-11-26 14:00:54 +03:00
alesapin
464b943b38 fix comment 2021-11-26 13:59:38 +03:00
alesapin
081bfdfe82 Get rid of build numbers and simplify builds paths in S3 2021-11-26 13:57:36 +03:00
Raúl Marín
be60759e68 Merge remote-tracking branch 'blessed/master' into pull_timeout 2021-11-26 11:37:19 +01:00
alesapin
6c5746a067
Merge pull request #31850 from ClickHouse/fix-style
Fix style.
2021-11-26 12:54:46 +03:00
Kruglov Pavel
efe26ddefa
Merge pull request #31804 from Avogar/fix-tskv
Fix possible Assertion '!hasPendingData()' failed in TSKV format
2021-11-26 12:30:45 +03:00
Vladimir C
41c9067f48
Merge pull request #31706 from yandd/master 2021-11-26 12:29:09 +03:00
Nikolai Kochetov
573e3b3888 Fix style. 2021-11-26 12:05:36 +03:00
tavplubix
87c7786011
Update 01155_rename_move_materialized_view.sql 2021-11-26 11:55:45 +03:00
Nikita Mikhaylov
696c871e47
Add ubsan suppression for protobuf (#31835) 2021-11-26 11:36:36 +03:00
Vladimir Chebotarev
fae71279e7
Windowed time decay functions (#29799) 2021-11-26 11:29:26 +03:00
Nikolai Kochetov
260928cb95
Merge pull request #31724 from ClickHouse/add-another-ci-database
Try to push data into another ci database.
2021-11-26 11:22:56 +03:00
Raúl Marín
c346708f31 Make count performance tests longer 2021-11-26 09:06:37 +01:00
Kseniia Sumarokova
c786c0a52a
Merge pull request #31749 from kssenii/clickhouse-dictionary-conf
ClickHouse dictionary source support named collections
2021-11-26 10:55:03 +03:00
Nikolai Kochetov
bda8cb6b7e
Merge pull request #31805 from ClickHouse/fix-31349
Check time limit sending data for global in.
2021-11-26 10:41:13 +03:00
alesapin
3562264404
Merge pull request #31803 from ClickHouse/faster_tests
Shorter stress and fuzzer tests
2021-11-26 10:17:26 +03:00
Azat Khuzhin
5fafeea763 Recreate system.*_log tables in case of different engine/partition_by.
- Mark getCreateTableQuery() non virtual to call it from ctor
- Make check for CREATE TABLE simpler (by caching result)
- Extend error message.

v2: at SystemLog tables has not been initialized yet, so SHOW CREATE
cannot be obtained for the existing table, move the check to the
prepareTable() call.
v3: reset UUID and SETTINGS of MergeTree in CREATE TABLE query
v4: fix re-creating table with the same UUID
2021-11-26 10:05:20 +03:00
loneylee
56307bb2fa issue #29730 2021-11-26 10:05:31 +08:00
Azat Khuzhin
1c7aaa5fbe Cover query_views_log 2021-11-26 01:13:55 +03:00
kssenii
223048d395 Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view 2021-11-26 01:06:06 +03:00
kssenii
c28acefaa7 Add timezones to tests 2021-11-26 01:01:19 +03:00
alexey-milovidov
6b8f7ad03f
Merge pull request #31798 from ClickHouse/fix-31748
Fix stylecheck for tests/ci/push_to_artifactory.py
2021-11-26 00:11:32 +03:00
Alexey Milovidov
6bf2a986c2 Add a test 2021-11-25 23:56:29 +03:00
Anton Popov
c3f076fd84 fix reading with uncompressed cache 2021-11-25 21:20:03 +03:00
alesapin
55b9724fe7
Merge pull request #31821 from ClickHouse/fix_sender_check
Fix check in approve lambda
2021-11-25 19:26:32 +03:00
alesapin
bc5dcaf59c Fix check in approve lambda 2021-11-25 19:25:29 +03:00
Mikhail f. Shiryaev
4c6df59f52
Fix style check 2021-11-25 17:06:37 +01:00
Maksim Kita
df3ac768db Fix recursive user defined functions crash 2021-11-25 19:03:56 +03:00
alesapin
8a418aee9b More lightweight tests 2021-11-25 18:58:39 +03:00
alesapin
71ae890c59
Merge pull request #31544 from azat/ci-actions-fixes
Remove duplicated not compressed logs from CI (actions)
2021-11-25 18:43:44 +03:00
Nikolai Kochetov
8a92202c55 Chack time limit sending data for global in. 2021-11-25 18:41:50 +03:00
Raúl Marín
a22f7c159e Implement AggregateFunctionCountNotNullUnary::addBatchSinglePlace 2021-11-25 16:41:48 +01:00
alesapin
6a76b6fbae Remove redundant zero 2021-11-25 18:33:06 +03:00
alesapin
3929f00fd1 Remove very long test 2021-11-25 18:28:43 +03:00
alesapin
daf0636e4e Less checks 2021-11-25 18:25:46 +03:00
alesapin
2cda01b8e5 Less iterations 2021-11-25 18:24:12 +03:00
alesapin
c301c1a5f1 Stricter check for docs 2021-11-25 18:23:00 +03:00
alesapin
4e0deef015 Shorter sql fuzzy 2021-11-25 18:09:43 +03:00
alesapin
9e261e6d39 Disable 00534 in debug build 2021-11-25 18:08:32 +03:00
avogar
aa2da98844 Add test 2021-11-25 18:06:46 +03:00
alesapin
f60fdc7a8b
Merge pull request #31767 from ClickHouse/fail_fasttest_if_some_tests_was_not_successful
Fail fasttest, builds and functional checks if some tests was not successful
2021-11-25 17:47:12 +03:00
alesapin
8890dc675e
Merge pull request #31782 from ClickHouse/use_git_version_number_for_builds
Use version from git describe in builds
2021-11-25 17:45:35 +03:00
Vladimir Chebotarev
863f3565ad Test fixes. 2021-11-25 17:11:28 +03:00
Vladimir Chebotarev
0da55ca03e Better tests. 2021-11-25 17:11:28 +03:00
Vladimir Chebotarev
407c1aab9a Improved diagnostics in tests. 2021-11-25 17:11:28 +03:00
Vladimir Chebotarev
aa3eecbd6d Fixed bug with frozen mutations. 2021-11-25 17:11:27 +03:00
Vladimir Chebotarev
6599124dba Attempt to skip mutations of different partitions in StorageMergeTree. 2021-11-25 17:10:11 +03:00
alesapin
e6e4c485bc More simple 2021-11-25 16:41:38 +03:00
alesapin
a911e65b34
Update tests/ci/version_helper.py
Co-authored-by: Mikhail f. Shiryaev <felixoid@clickhouse.com>
2021-11-25 16:25:09 +03:00
Raúl Marín
b398a7bab6 Avg: Use countBytesInFilter 2021-11-25 13:50:04 +01:00
alesapin
3d811aeec1 Use version from git describe in builds 2021-11-25 14:19:26 +03:00
Kruglov Pavel
b39c19399f
Merge pull request #31691 from kssenii/testing-1
Allow named_collections for kafka / rabbit
2021-11-25 14:06:31 +03:00
alesapin
dc6afadea3 Fix default keeper port 2021-11-25 14:01:30 +03:00
Kruglov Pavel
f28130193a
Merge branch 'master' into fix-whole-text-serialization 2021-11-25 14:00:20 +03:00
Kruglov Pavel
5d1520be72
Merge pull request #31736 from Avogar/fix-json-with-progress
Fix race in JSONEachRowWithProgress output format
2021-11-25 13:58:41 +03:00
Haavard Kvaalen
fa7b547212 Always quote table name
This fixes an issue if the database contained a table named 'table'.
We would previously generate a query that ClickHouse could not parse.
2021-11-25 11:49:23 +01:00
Mikhail f. Shiryaev
cddccfbfff
Merge pull request #31748 from ClickHouse/migrate-to-artifactory
Add script for pushing deb and rpm packages to artifactory
2021-11-25 11:48:01 +01:00
Mikhail f. Shiryaev
3e6bc6796c
Finish the script
- add logging to rpm and deb deployment
- fix art_client name
- use dowload_build_with_progress function
- move the script to tests/ci
2021-11-25 11:36:00 +01:00
alesapin
a6a44cf8b6 Fix style 2021-11-25 13:11:47 +03:00
Alexander Tokmakov
1ab8b5d4df fix segfault on attach parititon 2021-11-25 13:04:39 +03:00
alesapin
c09feaf2a8 Also fail builds and functional tests 2021-11-25 13:01:29 +03:00
alesapin
b687d9515b Fail fast test check 2021-11-25 12:23:45 +03:00
alesapin
81942b8128
Merge pull request #31765 from ClickHouse/fix_diff_for_backports
Fix diff for backports.
2021-11-25 12:01:03 +03:00
alesapin
27ff9d1fc7 Trying to fix pr info for backport
(cherry picked from commit 811e0be749)
2021-11-25 12:00:19 +03:00
Nikolai Kochetov
ddcaac441a Fix style. 2021-11-25 11:52:00 +03:00
alesapin
fe7f21acf9
Merge pull request #31697 from ClickHouse/fix_31686
Fix parsing of domain data types
2021-11-25 11:31:41 +03:00
Raúl Marín
5662a94921 Reduce size of some performance tests 2021-11-25 09:31:02 +01:00
alesapin
072b4a3ba6
Merge pull request #31714 from Algunenano/02112_timezone
Make 02112_with_fill_interval independent of the server timezone
2021-11-25 11:30:29 +03:00
Kseniia Sumarokova
93cf66df12
Merge pull request #30936 from kssenii/seekable-read-buffers
Reduce memory usage for some formats when reading with s3/url/hdfs
2021-11-25 11:19:24 +03:00
Raúl Marín
78656f4956 Merge remote-tracking branch 'blessed/master' into speedup_avg_sumcount 2021-11-25 09:17:10 +01:00
kssenii
d39b5ec844 Merge branch 'clickhouse-dictionary-conf' of github.com:kssenii/ClickHouse into clickhouse-dictionary-conf 2021-11-25 11:13:12 +03:00
Vladimir C
e835671c88
Merge pull request #31624 from nicelulu/fix_sparkbar 2021-11-25 11:01:25 +03:00
alesapin
02c238ba92
Merge pull request #31654 from ClickHouse/fixes_in_ci
Integration tests flaky check and small fixes
2021-11-25 10:29:51 +03:00
kssenii
afbd964034 Update test 2021-11-25 09:50:36 +03:00
yandd
f1914bb423
Added function ngrams test for utf8 characters 2021-11-25 10:18:47 +08:00
alexey-milovidov
4082c6c4e5
Merge pull request #31713 from Algunenano/02050_clean_files
02050: Use CLICKHOUSE_TMP and delete files when finished
2021-11-25 05:02:34 +03:00
alexey-milovidov
02c270663b
Merge pull request #31720 from Algunenano/02010_lc_native_ids
02010_lc_native: Generate a new id for each query
2021-11-25 05:01:08 +03:00
alexey-milovidov
99a40d171d
Merge pull request #31721 from Algunenano/flaky_00623
00623_replicated_truncate_table_zookeeper_long: Wait for truncate in replicas
2021-11-25 05:00:53 +03:00
alexey-milovidov
423d497b27
Merge pull request #31742 from CurtizJ/fix-map
Fix usage of `Buffer` table engine with type `Map`
2021-11-25 04:56:37 +03:00
Kseniia Sumarokova
5cc0448b9e
Update 02124_clickhouse_dictionary_with_predefined_configuration.sql 2021-11-25 01:55:47 +03:00
kssenii
20c59b66f9 ClickHouse dictionary support named collections 2021-11-25 01:51:38 +03:00
Anton Popov
37350e007c fix mutate of ColumnMap 2021-11-25 00:05:08 +03:00
kssenii
038bdcf9b9 Fix 2021-11-24 23:56:36 +03:00
Alexey Milovidov
a4e57228cf Add a test from #31662 2021-11-24 23:09:50 +03:00
Kruglov Pavel
e822a3b43b
Merge pull request #31695 from Avogar/perf-test-valid-utf8
Add perf test for writing valid UTF8
2021-11-24 22:38:42 +03:00
Kruglov Pavel
949c16f7f8
Update test 2021-11-24 22:31:34 +03:00
avogar
e4ba685d15 Fix race in JSONEachRowWithProgressRowOutputFormat 2021-11-24 22:29:43 +03:00
kssenii
46d2fdc5e6 Update 2021-11-24 21:53:53 +03:00
Nikolai Kochetov
3714112d57 Update helpers 2021-11-24 21:18:49 +03:00
Nikolai Kochetov
060e0d0605 Try to push data into another ci database. 2021-11-24 21:04:11 +03:00
tavplubix
bebee01b34
Merge pull request #31638 from ClickHouse/fix_rename_dictionary
Fix rename dictionary
2021-11-24 20:25:35 +03:00
Raúl Marín
1f0292cf7b Add performance test for avg over floating points 2021-11-24 18:22:19 +01:00
Raúl Marín
b6c4683e68 00623_replicated_truncate_table_zookeeper_long: Wait for truncate in replicas 2021-11-24 17:40:46 +01:00
Raúl Marín
c65d904d37 02010_lc_native: Generate a new id for each query 2021-11-24 17:19:59 +01:00
Raúl Marín
a94140725a Make 02112_with_fill_interval independent of the server timezone 2021-11-24 16:59:58 +01:00
mergify[bot]
9ce9aef40a
Merge branch 'master' into parallel-formatting 2021-11-24 15:40:01 +00:00
Raúl Marín
8b36d18186 02050: Use CLICKHOUSE_TMP and delete files when finished 2021-11-24 16:07:49 +01:00
alesapin
2f87975621 Fix set serialization 2021-11-24 17:43:17 +03:00
avogar
f5447a5e74 Fix tests, support parallel formatting for Template format 2021-11-24 16:42:07 +03:00
michael1589
8b99138701
Merge branch 'ClickHouse:master' into master 2021-11-24 21:35:36 +08:00
mergify[bot]
2ab091a85b
Merge branch 'master' into fix-whole-text-serialization 2021-11-24 12:44:53 +00:00
Alexander Tokmakov
e5972e6f71 fix 2021-11-24 15:44:04 +03:00
avogar
2cabfd22d1 Add perf test for writing valid UTF8 2021-11-24 15:37:02 +03:00
alexey-milovidov
2da5c6b71b
Merge pull request #31651 from ClickHouse/blinkov-patch-23
[ci] add flickerbox-tom to whitelist
2021-11-24 15:35:21 +03:00
kssenii
980c87c466 Add named collection for kafka / rabbit 2021-11-24 14:53:01 +03:00
Raúl Marín
b6b75c28dd Add some tests for sumCount 2021-11-24 11:58:58 +01:00
alesapin
94ae17a3f7 Add changed files 2021-11-24 13:51:03 +03:00
alesapin
646cf38213
Merge pull request #28981 from JackyWoo/add_4_letter_words_commands
Add four letter commands to keeper
2021-11-24 13:32:36 +03:00
Raúl Marín
8e19fd0345 Some extra perf tests around sumCount 2021-11-24 11:14:31 +01:00
Raúl Marín
c4c31fd946 Add some performance tests for avg 2021-11-24 11:14:31 +01:00
Raúl Marín
75ed1a507a Add some avg tests to make sure the additions look good 2021-11-24 11:14:31 +01:00
kssenii
29579962cb Update test, tiny changes 2021-11-24 12:55:36 +03:00
alexey-milovidov
a79a0fa265
Update run_check.py 2021-11-24 00:34:57 +03:00
alexey-milovidov
155ed1d4cb
Update run_check.py 2021-11-24 00:33:48 +03:00
Alexander Tokmakov
9237b251d5 allow rename dict in Ordrinary, fix another issue 2021-11-23 20:53:45 +03:00
avogar
6ba8291809 Remove temporary files 2021-11-23 19:56:45 +03:00
avogar
4470365fb3 Fix 2021-11-23 19:56:44 +03:00
avogar
af48bafa5b Add test 2021-11-23 19:56:43 +03:00
avogar
f460e94180 Fix tests 2021-11-23 17:26:30 +03:00
Raúl Marín
15dc86bd37 Fix 00613_shard_distributed_max_execution_time flakyness 2021-11-23 14:50:23 +01:00
Kruglov Pavel
b63b47f0f0
Merge pull request #31265 from Avogar/fix-write-buffers
Fix and refactor WriteBiffer-s a little
2021-11-23 16:46:09 +03:00
michael1589
2bbb90e6c8
Merge branch 'ClickHouse:master' into master 2021-11-23 20:21:47 +08:00
alexey-milovidov
341f705419
Merge pull request #30599 from ClickHouse/zlib-ng-own-cmake
Use our own CMakeLists for `zlib-ng`, `cassandra`, `mariadb-connector-c` and `xz`, `re2`, `sentry`, `gsasl`, `arrow`, `protobuf`.
2021-11-23 13:33:29 +03:00
Ivan Blinkov
726fc659fa
Update run_check.py 2021-11-23 13:21:57 +03:00
alesapin
d843f8f1a6 Remove event 2021-11-23 13:07:02 +03:00
alesapin
b13022b5fb Add some changes to test 2021-11-23 13:06:00 +03:00
alesapin
dc288a95b4 Small fixes in CI 2021-11-23 12:43:49 +03:00
alesapin
9efaa753be Fix images 2021-11-23 12:43:26 +03:00
tavplubix
7a43a87f5b
Use shard and replica name from Replicated database arguments (#31488)
* fix another issue

* use shard and replica name from Replicated database

* fix

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-23 12:41:54 +03:00
Ivan Blinkov
41c4ac7ac6
[ci] add flickerbox-tom to whitelist 2021-11-23 12:34:31 +03:00
Raúl Marín
146c4a1157 Only print one distinct error per command 2021-11-23 09:23:22 +01:00
Raúl Marín
c6d3065885 Check max_execution_time in the pipeline and pulling executors 2021-11-23 09:23:22 +01:00
alesapin
2bef313f75
Merge pull request #31617 from ClickHouse/fix_unit_tests_build
Fix build requirements for unit tests
2021-11-23 10:45:37 +03:00
michael1589
75b0c0abd5
Merge branch 'master' into master 2021-11-23 11:37:46 +08:00
michael1589
1ca6f7bd03 HTTP/HTTPS basic access authentication test 2021-11-23 09:27:28 +08:00
kssenii
7fae3b1cc9 Update tests 2021-11-22 20:57:31 +03:00
tavplubix
667dbef4a0
Merge branch 'master' into fix_rename_dictionary 2021-11-22 18:48:22 +03:00
Alexander Tokmakov
d56950a207 fix rename dictionary 2021-11-22 18:41:35 +03:00
alesapin
35de9e42d9
Merge branch 'master' into add_4_letter_words_commands 2021-11-22 18:02:02 +03:00
alesapin
ef6079633d
Merge pull request #31605 from vitlibar/fix-cleanup-in-integration-tests
Fix cleanup in integration tests
2021-11-22 17:58:47 +03:00
mergify[bot]
2adaf54d33
Merge branch 'master' into fix-whole-text-serialization 2021-11-22 14:00:51 +00:00
mergify[bot]
a9c1fd1647
Merge branch 'master' into fix-write-buffers 2021-11-22 13:59:31 +00:00
Anton Popov
43cfa4467b
Merge pull request #31476 from CurtizJ/merging-constraints
Merging #18787 (Constraints)
2021-11-22 15:57:59 +03:00
avogar
f0a0c70528 Fix tests 2021-11-22 15:21:15 +03:00
MaxWk
dac41b0d75 fix read string from different format 2021-11-22 20:21:12 +08:00
avogar
9bee988e16 Fix tests 2021-11-22 14:26:48 +03:00
avogar
ec9e87aff1 Fix deserializeWholeText 2021-11-22 14:26:48 +03:00
mergify[bot]
a7ba3e23a0
Merge branch 'master' into fix-write-buffers 2021-11-22 11:24:27 +00:00
tavplubix
dc6d48ff83
Merge pull request #31292 from stigsb/materialized-mysql-atomic-only
Drop support for DatabaseOrdinary in MaterializedMySQL
2021-11-22 14:03:50 +03:00
Kruglov Pavel
814a36ba69
Merge pull request #31434 from Avogar/custom-with-names-and-types
Add formats CustomSeparatedWithNames/WithNamesAndTypes
2021-11-22 13:24:00 +03:00
zhangxiao871
5f10159a7d Fix sparkbars are not aligned. 2021-11-22 18:07:08 +08:00
Nikolai Kochetov
b814f54f50
Merge pull request #31474 from amosbird/projection-improve6
Allow partition column to be used for minmax_count projection
2021-11-22 13:01:57 +03:00
alesapin
841141440b Fix search for PR 2021-11-22 12:56:13 +03:00
alesapin
589bb9eb92 Trying to use push event 2021-11-22 12:39:45 +03:00
Vitaly Baranov
6f5f72738b Fix cleanup in integration tests. 2021-11-22 12:05:52 +03:00
alesapin
2f11ad7241 Add workflow run for release branches 2021-11-22 11:33:52 +03:00
alesapin
c2b90eeb16 Fix in old CI too 2021-11-22 11:09:21 +03:00
alesapin
8fd5ff7452 Fix build requirements for unit tests 2021-11-22 11:06:42 +03:00
Anton Popov
afe8d3c424 refactor merged index conditions 2021-11-21 22:49:34 +03:00
tavplubix
14cff8cb91
Merge pull request #31527 from ClickHouse/tavplubix-patch-5
Do not clean iptables rules in session-scope fixture
2021-11-21 15:05:58 +03:00
Alexey Milovidov
d604cf5573 Remove the infamous "unbundled" build 2021-11-21 13:58:26 +03:00
alexey-milovidov
faae69f631
Merge pull request #31534 from aiven/kmichel-fix-json-colum-name-encoding
Fix invalid JSON in column names
2021-11-21 11:34:33 +03:00
alexey-milovidov
6ef001fce5
Merge pull request #31556 from azat/fix-02010_lc_native
Fix 02010_lc_native flakiness (Query with id = 123456 is already running)
2021-11-21 11:33:35 +03:00
alexey-milovidov
4cdb40e3cd
Merge pull request #31565 from azat/fix-MySQLWire
Fix MySQLWire format (this will also fix performance tests)
2021-11-21 11:32:53 +03:00
Ilya Yatsishin
571502354d
Merge pull request #31540 from ClickHouse/push_data_to_ci_db 2021-11-21 09:53:31 +03:00
Kruglov Pavel
d9c1a0c8ec
Merge branch 'master' into fix-write-buffers 2021-11-20 17:48:24 +03:00
Azat Khuzhin
6aa94ae032 Fix MySQLWire format (in case of multiple writes)
In case of multiple writes File() engine will set doNotWritePrefix(),
and this will avoid serializations initilization, move this to do this
always.

Fixes: #31004
2021-11-20 15:26:21 +03:00
kssenii
ff969b4605 Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers 2021-11-20 15:03:13 +03:00
kssenii
f29ef7d18b Add one more test 2021-11-20 15:01:45 +03:00
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
MaxWk
f17d5b02e4 use bool representation 2021-11-19 14:30:22 +08: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
93294734d3
Better clickhouse-client multiline input 2021-11-17 22:11:30 +08: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