alexey-milovidov
885c4daf94
Merge pull request #30191 from azat/aio-O_DIRECT-fix
...
Fix pread_fake_async/pread_threadpool with min_bytes_to_use_direct_io
2021-10-18 22:29:31 +03:00
Azat Khuzhin
4e3910e564
Add a test for adjusting last granula with max_read_buffer_size=0
2021-10-18 21:19:34 +03:00
Anton Popov
1d9cfc04ef
improve performance of aggregation in order of primary key
2021-10-18 18:32:09 +03:00
kssenii
b7a53df9de
Send columns description in clickhouse-local
2021-10-18 14:53:42 +00:00
tavplubix
837670fd85
Merge pull request #30320 from azat/clickhouse-test-longer-wait
...
Increase default wait of the server start in clickhouse-test
2021-10-18 15:11:32 +03:00
feng lv
b2976fadb0
fix test
2021-10-18 11:57:03 +00:00
Vladimir C
4a4700424e
Merge pull request #30230 from vdimir/CLOUDSUPPORT-92764
2021-10-18 14:46:02 +03:00
Kruglov Pavel
003955b59f
Merge branch 'master' into clickhouse-local
2021-10-18 14:24:08 +03:00
avogar
a28b048415
Fix test
2021-10-18 14:22:27 +03:00
vdimir
042e61febf
Allow identifiers staring with numbers in multiple joins
2021-10-18 13:41:40 +03:00
lhuang0928
a6937a21cf
fix a bug:reference file without a newline at the end
2021-10-18 09:58:53 +00:00
Anton Popov
1131a3ebe8
fix test
2021-10-18 12:15:08 +03:00
alesapin
6d24ca4c3a
Review fixes
2021-10-18 12:13:24 +03:00
lhuang0928
37441fe44e
Merge remote-tracking branch 'origin/master'
2021-10-18 08:57:25 +00:00
lhuang0928
109e664188
fix date32 comparison with datetime/datetime64
2021-10-18 08:53:25 +00:00
kssenii
1cc511789d
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix-local-less-threads
2021-10-18 08:30:59 +00:00
Azat Khuzhin
09b782a52e
Increase default wait of the server start in clickhouse-test
...
Set --server-check-retries to 90 (and this is ~45 seconds), since right
now sometimes it is not enough [1].
[1]: https://clickhouse-test-reports.s3.yandex.net/30191/0e34a9d550cfe6924fe575871f36c44dd44acdaa/functional_stateless_tests_(memory).html#fail1
And the reason I guess is clickhouse-test had been rewritten to
http.client in #30065 , and since now it does not need to execute
clickhouse-client binary, which in debug/sanitizers builds can take also
sometime.
That said that with clickhouse-client for hung check it was not 15
seconds, but more (each clickhouse-client requires 0.6sec with
sanitizers for simple SELECT 1, while w/o 0.1second, also too much
should be optimized)
2021-10-18 10:46:02 +03:00
feng lv
1e3df5780c
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine
2021-10-18 07:33:11 +00:00
Kseniia Sumarokova
ec6b778501
Update 02051_symlinks_to_user_files.sh
2021-10-18 10:29:57 +03:00
feng lv
6cf82f859c
fix
2021-10-18 07:27:37 +00:00
alesapin
f1fe96e194
Merge branch 'master' into debug_keeper
2021-10-18 10:16:07 +03:00
alesapin
158b4c26b7
Merge pull request #30134 from ClickHouse/fix-network-bytes-test
...
Fix flaky test 01939_network_send_bytes_metrics
2021-10-18 10:11:59 +03:00
feng lv
a32abda322
fix
2021-10-18 07:08:37 +00:00
feng lv
074e02eb14
fix
2021-10-18 06:38:47 +00:00
Azat Khuzhin
14baed927f
Add extensive test for various read settings
...
The following settings had been covered:
- min_bytes_to_use_direct_io
- local_filesystem_read_method
- local_filesystem_read_prefetch
- read_priority
- max_read_buffer_size
2021-10-17 23:54:58 +03:00
Kseniia Sumarokova
a8a7ba9005
Update 02051_symlinks_to_user_files.sh
2021-10-17 22:09:17 +03:00
alexey-milovidov
7beffb04ad
Merge pull request #29495 from ClickHouse/improvement_for_strange_mutations
...
Minor improvement for strange mutations
2021-10-17 20:57:06 +03:00
alexey-milovidov
0ce1462f1c
Merge pull request #30295 from traceon/misc-install-fixes
...
Various fixes to install procedure
2021-10-17 20:55:08 +03:00
alexey-milovidov
f4bfed9d3a
Merge pull request #29586 from evillique/log_levels_update
...
Add log levels updates
2021-10-17 20:54:46 +03:00
Alexey Milovidov
301caa8091
Update test
2021-10-17 20:52:21 +03:00
Kseniia Sumarokova
5dab184d8b
Update 02051_symlinks_to_user_files.sh
2021-10-17 18:21:43 +03:00
Nikolai Kochetov
2a95d7fc87
Merge pull request #29918 from amosbird/projection-improve5
...
Add primary key to minmax_count_projection
2021-10-17 14:04:18 +03:00
Kseniia Sumarokova
e1969e2693
Merge pull request #30288 from kssenii/fix-local-syntax-exception
...
Fix throwing syntax exception in clickhouse-local
2021-10-17 12:16:40 +03:00
kssenii
059fc1de69
Allow symlinks in file storage
2021-10-17 09:11:06 +00:00
alexey-milovidov
3e9cf0b5ba
Merge pull request #30243 from Algunenano/multiIf_shortcircuit_fix
...
Fix crash with shortcircuit and LowCardinality in multiIf
2021-10-17 06:16:09 +03:00
Alexey Milovidov
04d8f611d2
Merge branch 'master' into clickhouse-obfuscator-2
2021-10-17 05:52:13 +03:00
alexey-milovidov
b253f6122a
Merge pull request #30218 from azat/clickhouse-test-fix-hung-check
...
Fix --hung-check in clickhouse-test
2021-10-17 03:15:51 +03:00
Maksim Kita
0dd8c70d28
Merge pull request #30242 from kitaisreal/added-hashed-array-dictionary
...
Added HashedArray dictionary
2021-10-17 01:18:43 +03:00
kssenii
8b0359584a
Update test
2021-10-16 19:08:37 +00:00
Raúl Marín
662b5d40e9
Adjust the tests to do less work
2021-10-16 20:35:41 +02:00
Denis Glazachev
329d81a0ef
Various fixes to install procedure
2021-10-16 20:03:45 +03:00
alexey-milovidov
3d2fb2f67b
Merge pull request #30275 from kssenii/fix-local-query-stage
...
--stage for clickhouse-local
2021-10-16 18:42:28 +03:00
WangZengrui
6752be4c4e
fix bug and add test
2021-10-16 23:11:45 +08:00
Azat Khuzhin
612a21cc97
clickhouse-test: do not propagate CLICKHOUSE_PORT_HTTP to clickhouse-client
2021-10-16 17:59:56 +03:00
Azat Khuzhin
c6e61e9497
clickhouse-test: use splitlines() over split('\n')
2021-10-16 17:59:56 +03:00
Azat Khuzhin
3102d24872
Fix --hung-check in clickhouse-test
...
JSONEachRow cannot be parsed with a simple json.loads(), instead it
should be passed to json.loads() line by line.
Fixes : #30065
2021-10-16 17:59:56 +03:00
Anton Popov
1a947d30bf
add perf test
2021-10-16 16:43:10 +03:00
alesapin
9418eda122
Merge pull request #30111 from ClickHouse/remove_trash
...
Remove trash from MergeTreeReadPool
2021-10-16 15:41:41 +03:00
kssenii
c79c0526ff
Fix clickhouse-local syntax exception
2021-10-16 12:20:14 +00:00
kssenii
e127fa6976
Add test
2021-10-16 11:48:19 +00:00
Raúl Marín
c5b09b4907
Tag resource heavy tests as no-parallel
2021-10-16 13:03:51 +02:00
kssenii
9525437499
Less threads in local, fix Ok. printing
2021-10-16 10:25:39 +00:00
Amos Bird
77a2022cf5
Add primary key to minmax_count_projection
2021-10-16 18:13:41 +08:00
kssenii
6c0eaf76da
Query stage for local
2021-10-16 08:43:18 +00:00
feng lv
8b7721ae6f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine
2021-10-16 05:14:11 +00:00
alexey-milovidov
8359a82a0d
Merge pull request #30149 from azat/disable-fsync_metadata-on-ci
...
Disable fsync_metadata on CI
2021-10-15 23:01:00 +03:00
Maksim Kita
fceb763228
Fixed test
2021-10-15 23:00:30 +03:00
Raúl Marín
01fbd52758
Fix crash with shortcircuit and locardinality in multiIf
2021-10-15 18:52:23 +02:00
Maksim Kita
33ef3edcfa
Updated tests
2021-10-15 18:54:41 +03:00
Maksim Kita
c9638bacbf
Added HashedArray dictionary
2021-10-15 18:53:17 +03:00
avogar
be4fc79d32
Better handling exceptions, update tests
2021-10-15 18:30:32 +03:00
mergify[bot]
477ea62257
Merge branch 'master' into remove-sample-by
2021-10-15 15:14:17 +00:00
kssenii
72a1b928cf
Update install.sh
2021-10-15 14:04:31 +00:00
kssenii
7b81766168
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into remote-connection
2021-10-15 12:36:44 +00:00
Nikita Mikhaylov
d1138a8a25
Merge pull request #29691 from azat/fix-merge-mutate-memory-tracking
...
Fix memory tracking for merges and mutations
2021-10-15 13:53:52 +03:00
Maksim Kita
27fdeef4b6
Merge pull request #29650 from kitaisreal/add-default-database-visitor-support-dict-get
...
AddDefaultDatabaseVisitor support dictGet
2021-10-15 12:28:58 +03:00
liang.huang
f82d79854c
Merge branch 'ClickHouse:master' into master
2021-10-15 16:11:15 +08:00
lhuang09287750
766e08567c
complete date32 comparison with date/datetime/string and give a test file
2021-10-15 08:09:37 +00:00
alesapin
4ab6f7d771
Finally fix test
2021-10-15 10:39:31 +03:00
Maksim Kita
8db2c844d3
Fixed test
2021-10-15 02:07:52 +03:00
Azat Khuzhin
ae980fcd62
Move 01200_mutations_memory_consumption out from bugs
2021-10-15 01:43:27 +03:00
Azat Khuzhin
5d5f94f456
Mark 01200_mutations_memory_consumption as long and allow run in fasttest
2021-10-15 01:43:27 +03:00
Azat Khuzhin
a063097fdf
Fix INSERT SELECT incorrectly fills MATERIALIZED column based of Nullable column
...
Required columns of the default expression should not be converted to NULL,
since this map value to default and MATERIALIZED values will not work.
Consider the following structure:
- A Nullable(Int64)
- X Int64 materialized coalesce(A, -1)
With recursive_null_as_default=true you will get:
_CAST(coalesce(A, -1), 'Int64') AS X, NULL AS A
And this will ignore default expression.
Fixes : #23524 (Cc: @kssenii)
Fixes : #29729 (Cc: @tavplubix)
Backport: 21.7+
2021-10-15 01:36:09 +03:00
Azat Khuzhin
bb8105951f
Disable fsync_metadata on CI
...
Sometimes we see that pretty simple queries like CREATE DATABASE can
take > 30 seconds, let's try to disable fsync.
CI: https://clickhouse-test-reports.s3.yandex.net/30065/e5bc573250d3d6938937739b05d6f8cf618722db/functional_stateless_tests_(address).html#fail1
CI: https://clickhouse-test-reports.s3.yandex.net/30065/e5bc573250d3d6938937739b05d6f8cf618722db/functional_stateless_tests_(release).html#fail1
2021-10-15 00:53:34 +03:00
Maksim Kita
a51ab78c68
Fixed style check
2021-10-14 23:13:41 +03:00
Maksim Kita
83879415b4
Fixed tests
2021-10-14 22:12:06 +03:00
Azat Khuzhin
d030e08d05
Make test_MemoryTracking::test_http not flaky
...
By comparing only megabytes in the memory changes, instead of bytes as
before, since it may be tricky at least due to max_untracked_memory and
how thread pool handle it.
It should be safe, since originally it was written in #16121 which fixes
issue #15932 , which has ~4MB consumption of memory per request.
2021-10-14 21:06:39 +03:00
Azat Khuzhin
56ab0e31e6
Add description for test_MemoryTracking
2021-10-14 21:06:22 +03:00
Dmitry Novik
4ebb2455d8
Delete 01939_network_send_bytes_metrics test
2021-10-14 17:56:34 +03:00
mergify[bot]
92dd528c78
Merge branch 'master' into remove_trash
2021-10-14 14:14:07 +00:00
Anton Popov
476d7a411f
allow to remove SAMPLE BY expression
2021-10-14 17:05:20 +03:00
avogar
5daed60eae
Skip test in case of replicated database
2021-10-14 16:43:23 +03:00
Kruglov Pavel
9b909f3f30
Try to fix test
2021-10-14 16:43:23 +03:00
avogar
5d16dc7f9a
Try to fix tests, update capnp lib to eliminate problem with UB sanitizer
2021-10-14 16:43:23 +03:00
avogar
f88a2ad653
Handle exception when cannot extract value from struct, add test for it
2021-10-14 16:43:23 +03:00
Kruglov Pavel
17ed293470
Fix test
2021-10-14 16:43:22 +03:00
avogar
ed8818a773
Fix style, better check in enum comparison
2021-10-14 16:43:22 +03:00
Kruglov Pavel
c97f375728
Fix style
2021-10-14 16:43:22 +03:00
avogar
ce22f534c4
Add CapnProto output format, refactor CapnProto input format
2021-10-14 16:43:22 +03:00
Nikolay Degterinsky
f29261741c
Add test
2021-10-14 16:34:30 +03:00
avogar
a1a4df2501
Fix handling exception 'unrecognised option' in clickhouse-local and client
2021-10-14 16:34:05 +03:00
Maksim Kita
4ed28d8e52
Merge pull request #29981 from kitaisreal/added-function-tokens
...
Added function tokens
2021-10-14 15:36:06 +03:00
Anton Popov
4d020c96e0
support nullable arguments in function initializeAggregation
2021-10-14 15:09:06 +03:00
Anton Popov
6c1da023f7
Merge pull request #30142 from kitaisreal/polygon-dictionary-support-read
...
Polygon dictionary support read
2021-10-14 15:03:10 +03:00
Anton Popov
5802037f1e
Merge pull request #29916 from ucasfl/format-alter
...
Format improvement of AlterQuery
2021-10-14 14:30:08 +03:00
Denny Crane
6a0ee3d23e
test for rename atomic hanging ( #30080 )
...
* test for rename atomic hanging
* test for rename atomic hanging
* Update 02096_rename_atomic_hang.sql
* Update 02096_rename_atomic_hang.sql
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-10-14 13:31:34 +03:00
alesapin
90ff7f05fd
Start keeper asynchronously if has connection to other nodes
2021-10-14 13:21:41 +03:00
Maksim Kita
96bee8d241
Fixed test
2021-10-14 13:20:52 +03:00
Maksim Kita
6c6dd7a0c8
Merge pull request #30056 from orloffv/orloffv.JSONExtractKeys
...
Add JSONExtractKeys function
2021-10-14 12:50:19 +03:00
alesapin
01ac2fea79
Update 00167_read_bytes_from_fs.sql
2021-10-14 12:44:41 +03:00
Maksim Kita
f589084a94
Merge pull request #29899 from Enmk/Governance/dictionary_comment
...
Governance/dictionary comment
2021-10-14 12:35:10 +03:00
Maksim Kita
baf75065e3
Update 02024_create_dictionary_with_comment.sql
2021-10-14 12:34:52 +03:00
Maksim Kita
8d544a55b7
Merge pull request #30075 from kitaisreal/sql-user-defined-functions-fix-alias
...
SQL user defined functions fix alias
2021-10-14 11:15:32 +03:00
alesapin
386d47cb22
Fix typo
2021-10-14 10:49:29 +03:00
feng lv
21f7ecbd9f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine
2021-10-14 02:09:51 +00:00
Maksim Kita
e6bca4d928
Updated test
2021-10-14 00:08:16 +03:00
Maksim Kita
90bac4c318
Fixed tests
2021-10-14 00:08:16 +03:00
Maksim Kita
66f2163b60
Added function tokens
2021-10-14 00:08:15 +03:00
Maksim Kita
62c5c48a3f
Updated tests
2021-10-14 00:02:27 +03:00
mergify[bot]
b3c2229ad9
Merge branch 'master' into remove_trash
2021-10-13 19:57:27 +00:00
mergify[bot]
f29ea07b1c
Merge branch 'master' into clickhouse-test-http-interface
2021-10-13 16:46:26 +00:00
Maksim Kita
5802213722
PolygonDictionary support read method
2021-10-13 19:31:59 +03:00
Maksim Kita
ab5826eb40
System data skipping indices size fix test names
2021-10-13 19:19:51 +03:00
Maksim Kita
84eddf2498
Added tests
2021-10-13 18:12:56 +03:00
alesapin
2473bc5aff
Fix test
2021-10-13 18:12:04 +03:00
alesapin
1801ea4955
Merge branch 'master' into remove_trash
2021-10-13 18:10:31 +03:00
Dmitry Novik
a8fa3914b5
Fix 01939_network_send_bytes_metrics
2021-10-13 17:54:46 +03:00
Vitaly Orlov
573076588d
Fix reference
2021-10-13 16:04:08 +03:00
alesapin
d2dfbb5ab6
Remove trash from MergeTreeReadPool
2021-10-13 15:25:44 +03:00
Nikolai Kochetov
3ac2766c13
Merge pull request #30086 from ClickHouse/fix-global-in-with-totals
...
Add test with GLOBAL IN and totals.
2021-10-13 15:12:54 +03:00
tavplubix
7742b96497
Remove metadata leftovers on drop database ( #30054 )
...
* remove metadata leftovers on drop database
* Update InterpreterDropQuery.cpp
* Update DatabaseCatalog.cpp
2021-10-13 13:34:18 +03:00
Nikolai Kochetov
038ca829e4
Add test with GLOBAL IN and totals.
2021-10-13 12:07:58 +03:00
mergify[bot]
cfda5592fe
Merge branch 'master' into fix-writing-storage-log-marks
2021-10-13 07:18:33 +00:00
Alexey Milovidov
798d8c7c17
Fix test
2021-10-13 03:16:09 +03:00
Alexey Milovidov
0ad20e6613
Fix test
2021-10-13 03:14:44 +03:00
Azat Khuzhin
e5bc573250
clickhouse-test: fix hung check in stress test by using system database
2021-10-13 00:19:16 +03:00
Vitaly Orlov
4d2b34a7f0
Review fixes
2021-10-13 00:08:00 +03:00
Azat Khuzhin
8d7798fa2e
clickhouse-test: do not guard CREATE DATABASE with try/catch
...
Since it will not configure testcase args and fail eventually, and later
we have a try/catch anyway, this should be enough.
2021-10-12 22:39:43 +03:00
Azat Khuzhin
40d210367f
clickhouse-test: fix catching of timeouts
2021-10-12 22:33:41 +03:00
Azat Khuzhin
427c428a27
clickhouse-test: process some options regardless --client
2021-10-12 22:30:34 +03:00
Azat Khuzhin
8dc8674298
clickhouse-test: process --client-option
2021-10-12 22:30:16 +03:00
Azat Khuzhin
fe90c979b5
clickhouse-test: fix redirect to stderr
...
Before #29856 `CREATE DATABASE` overwrites it.
Reported-by: @amosbird
2021-10-12 22:18:39 +03:00
Azat Khuzhin
50b95bd89d
clickhouse-test: passthrough log_comment for DROP DATABASE too
2021-10-12 21:09:48 +03:00
Azat Khuzhin
e2e62ce273
clickhouse-test: replace clickhouse-driver with http interface (via http.client)
...
Cons of clickhouse-driver:
- it is one more extra dependency
- it does not have correct timeouts (only for socket operations, and
this is not the same, so we need to set timeout by ourself)
- it is one more thing which can break (@alesapin)
2021-10-12 21:08:33 +03:00
feng lv
b2a17cb320
fix build and conflict
2021-10-12 16:50:50 +00:00
Kseniia Sumarokova
bb15b57753
Merge pull request #30016 from ucasfl/sample-by-tuple
...
Fix crash of sample by tuple()
2021-10-12 19:46:21 +03:00
Vitaly Orlov
65c6605c2c
Add JSONExtractKeys function
2021-10-12 18:00:25 +03:00
Nikita Mikhaylov
7c67d764c0
Merge pull request #29934 from ClickHouse/remove-bayes-ab
...
Remove function bayesAB
2021-10-12 18:00:25 +03:00
avogar
9c7bef4c9d
Remove unused headers and handle exception 'unrecognised option' in clickhouse-local
2021-10-12 17:11:43 +03:00
alexey-milovidov
9a1f930b2f
Merge pull request #30010 from ClickHouse/ppc64le
...
Add cross-build for PowerPC 64le
2021-10-12 16:17:41 +03:00
Nikolai Kochetov
c36bb9206e
Merge pull request #29879 from amosbird/queryidholderfix
...
Fix potential leak of query_id_holder
2021-10-12 15:42:02 +03:00
Vitaly Baranov
4a4d913cfd
Merge pull request #29954 from vitlibar/fix-flaky-test_grpc_protocol
...
gRPC: Fix releasing query ID and session ID at the end of query processing
2021-10-12 13:32:27 +03:00
Vladimir C
969999ff10
Merge pull request #29544 from Algunenano/join_deadlock
2021-10-12 12:34:04 +03:00
Vladimir C
cb176cf9ad
Add long
tag to 02033_join_engine_deadlock_long
2021-10-12 12:33:54 +03:00
tavplubix
984cf391cc
Merge pull request #30007 from azat/00992_system_parts_race_condition_zookeeper_long
...
Ignore parallel removing warning in 00992_system_parts_race_condition_zookeeper_long
2021-10-12 12:27:10 +03:00
Maksim Kita
ec898f1a94
Merge pull request #28633 from darkkeks/normalize-utf8-nfc
...
Add normalizeUTF8 function with NFC normalization
2021-10-12 12:25:07 +03:00
Vladimir C
11e37e7640
Merge pull request #28746 from amosbird/allowalias
2021-10-12 12:17:58 +03:00
Maksim Kita
91a48e9651
Merge pull request #29896 from kitaisreal/system-data-skipping-indices-added-size
...
System table data skipping indices added size
2021-10-12 12:16:57 +03:00
alesapin
2b3a0c892d
Merge pull request #29992 from ClickHouse/more_timeouts_in_scripts
...
More timeouts in test scripts
2021-10-12 10:14:21 +03:00
feng lv
b5d69d599e
fix sample by tuple()
...
add tests
fix
fix
fix
2021-10-12 05:19:32 +00:00