Kruglov Pavel
6461391387
Merge pull request #29077 from Avogar/fix-msgpack
...
Improve MsgPack input/output format
2021-09-23 12:46:36 +03:00
Maksim Kita
3d79812427
Merge branch 'master' into full-text-bloom-filter-index-map-data-type
2021-09-23 12:38:03 +03:00
Maksim Kita
0341b99c69
Merge pull request #29280 from kitaisreal/full-text-bloom-filter-added-support-for-array-data-type
...
FullText bloom filter index added support for Array data type
2021-09-23 12:34:06 +03:00
alesapin
941724bc11
Fix test rocksdb
2021-09-23 12:19:30 +03:00
Maksim Kita
d59986f224
Merge pull request #29278 from kitaisreal/bloom-filter-map-added-support-for-has-function
...
Bloom filter map added support for has function
2021-09-23 12:03:56 +03:00
alesapin
d1bb8d666e
Move all yaml tests to clickhouse config
2021-09-23 11:08:40 +03:00
Vasily Nemkov
3b762f10a0
Fixed test
2021-09-23 10:31:59 +03:00
Kseniia Sumarokova
f7ff14b407
Merge pull request #28577 from kssenii/named-collections
...
Predefined connections and other parameters for external data sources
2021-09-23 10:25:23 +03:00
anneji-dev
34055d38c2
Update tests/queries/0_stateless/02028_add_default_database_for_alterquery_on_cluster.sql
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2021-09-23 11:23:55 +08:00
Maksim Kita
ebbefd49c3
FullText bloom filter index added support for Array data type
2021-09-23 02:06:54 +03:00
Vasily Nemkov
cb1ca9b33e
Implemented modifying table comments with ALTER TABLE t MODIFY COMMENT 'value'
2021-09-23 01:14:00 +03:00
Maksim Kita
d5a7e92b97
Bloom filter map added support for has function
2021-09-23 01:10:14 +03:00
Maksim Kita
1bf375e2b7
Merge pull request #29254 from kitaisreal/map-bloom-filter-index-updated
...
Updated bloom filter index for map type to work with mapKeys, mapValues functions
2021-09-23 00:31:14 +03:00
Maksim Kita
2920e124f3
Merge pull request #29267 from kitaisreal/function-has-support-map-type
...
Function has support map type
2021-09-23 00:26:58 +03:00
kssenii
ec24a8f114
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-22 20:46:49 +00:00
mergify[bot]
d69fc35dd9
Merge branch 'master' into compressed_logs
2021-09-22 19:43:16 +00:00
alesapin
65f2395165
Merge pull request #29268 from ClickHouse/add_missed_test
...
Add missed keeper jepsen config
2021-09-22 22:41:58 +03:00
Maksim Kita
7eca0a1486
Merge pull request #29258 from vdimir/fuse-quantileBFloat16Weighted
...
Add NameQuantileBFloat16Weighted to GatherFunctionQuantileVisitor
2021-09-22 20:38:55 +03:00
Maksim Kita
6dc41ad653
Fixed tests
2021-09-22 20:31:49 +03:00
Maksim Kita
93208fca4b
Bloom filter for map data type dded support for IN, mapContains functions
2021-09-22 20:25:10 +03:00
alesapin
dbff8fd03b
Add missed keeper jepsen config
2021-09-22 19:27:11 +03:00
Maksim Kita
c73808615b
Function has support map type
2021-09-22 19:08:08 +03:00
Anton Popov
8943389d03
normalize ASTs in ColumnsDescription
2021-09-22 18:55:20 +03:00
Yatsishin Ilya
f042c8afce
Merge remote-tracking branch 'origin/master' into improve-integration-1
2021-09-22 18:25:57 +03:00
kssenii
a84fc77b52
Fixes
2021-09-22 18:10:25 +03:00
alesapin
3bea8d5201
Fix config root name
2021-09-22 18:00:08 +03:00
Vladimir C
c83e2f6fd4
Merge pull request #29259 from vdimir/test-global-multiproc-fix
2021-09-22 17:47:08 +03:00
tavplubix
ba82781e11
Merge pull request #29061 from ClickHouse/remove_some_trash
...
Fix `system.distributed_ddl_queue`
2021-09-22 16:58:29 +03:00
mergify[bot]
fd39fc58d7
Merge branch 'master' into yandex-to-clickhouse-in-configs
2021-09-22 13:35:20 +00:00
mergify[bot]
c5ef025b64
Merge branch 'master' into fix-msgpack
2021-09-22 13:33:05 +00:00
tavplubix
7712d0e9df
Update clickhouse-test
2021-09-22 16:17:51 +03:00
vdimir
3a42d11b65
Initialize global variables for multiproc in __main__ in clickhouse-test
2021-09-22 16:00:59 +03:00
vdimir
eb1053d931
Add NameQuantileBFloat16Weighted to GatherFunctionQuantileVisitor
2021-09-22 15:53:39 +03:00
mergify[bot]
627a4fea96
Merge branch 'master' into fix-msgpack
2021-09-22 10:14:18 +00:00
Maksim Kita
3b505a15e2
Updated test
2021-09-22 12:48:34 +03:00
Maksim Kita
92fd6b376f
Updated bloom filter index for map type to work with mapKeys function
2021-09-22 12:45:48 +03:00
kssenii
b51840a205
Merge branch 'master' of github.com:ClickHouse/ClickHouse into named-collections
2021-09-22 11:45:22 +03:00
tavplubix
e0ce179aa8
Minor improvements in clickhouse-test ( #29197 )
...
* minor improvements in clickhouse-test
* use enums
* Update clickhouse-test
2021-09-22 11:42:46 +03:00
bharatnc
4a3504a84c
Fix tests
2021-09-21 23:07:12 -07:00
bharatnc
8336847be6
Merge remote-tracking branch 'upstream/master' into ncb/complete-h3-inspection-funcs
2021-09-21 17:43:47 -07:00
bharatnc
208dfc998a
H3 - fix logic to return icosahedron faces
2021-09-21 17:39:59 -07:00
Alexey Milovidov
e9e77b4403
.tech -> .com
2021-09-22 03:22:57 +03:00
Alexey Milovidov
4ade6cc5da
Merge remote-tracking branch 'origin/master' into yandex-to-clickhouse-in-configs
2021-09-22 02:08:29 +03:00
Alexey Milovidov
04962e61ee
Fix integration tests
2021-09-22 02:08:09 +03:00
Maksim Kita
d1498693b3
Merge pull request #29231 from ClickHouse/perf-test-fix
...
Adjust performance test
2021-09-22 01:31:45 +03:00
bharatnc
eb118a09ab
H3 - add tests for h3GetFaces
2021-09-21 14:11:02 -07:00
alexey-milovidov
3203fa4c34
Merge pull request #28914 from ClickHouse/exp-smooth
...
Add aggregate function for exponential smoothing
2021-09-21 23:52:44 +03:00
Alexey Milovidov
91a81fdf3b
Adjust performance test
2021-09-21 22:19:13 +03:00
alexey-milovidov
0880ae2883
Merge branch 'master' into yandex-to-clickhouse-in-configs
2021-09-21 20:17:28 +03:00
Yatsishin Ilya
c1f24cdd5e
ro
2021-09-21 18:31:32 +03:00
Yatsishin Ilya
2f24a93dc1
Merge remote-tracking branch 'origin' into improve-integration-1
2021-09-21 18:11:31 +03:00
alesapin
ac7579f187
Compressed logs for keeper
2021-09-21 17:29:05 +03:00
Maksim Kita
6dadc521fb
MergeTreeIndexFullText updated for data type map
2021-09-21 16:55:48 +03:00
凌涛
32df36abb4
add tests
2021-09-21 16:55:07 +03:00
Anton Popov
ea4fd19e28
Merge pull request #29087 from CurtizJ/asyn-inserts-follow-up
...
Minor enhancements in async inserts
2021-09-21 13:38:52 +03:00
mergify[bot]
a8215b0436
Merge branch 'master' into test_send_crash_reports-fix
2021-09-21 10:21:34 +00:00
Vladimir C
bc7c41efff
Merge pull request #26657 from hexiaoting/fuse_quantile
2021-09-21 12:33:07 +03:00
Vladimir C
9abd8aea6d
Merge pull request #29123 from depressed-pho/csv-custom-null
2021-09-21 11:35:21 +03:00
bharatnc
93e3fe9db1
H3 - tests for h3ResIsClassIII func
2021-09-20 23:34:04 -07:00
bharatnc
772f7c9322
H3 - tests for h3IsPentagon func
2021-09-20 23:19:46 -07:00
Anton Popov
83e45adad6
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-20 20:04:50 +03:00
Anton Popov
55cf857aba
Merge pull request #28707 from azat/max_suspicious_broken_parts_bytes
...
Implement max_suspicious_broken_parts_bytes
2021-09-20 19:55:07 +03:00
Nikolai Kochetov
a790d391c0
Merge branch 'master' into rewrite-pushing-to-views
2021-09-20 19:43:15 +03:00
tavplubix
66bc619c3e
Merge pull request #28983 from ClickHouse/func_zookeeper_session_uptime
...
Add function zookeeperSessionUptime(), fix some flaky tests
2021-09-20 14:47:49 +03:00
tavplubix
922cf7ee20
Merge pull request #28373 from ClickHouse/tables_topsort
...
Resolve table dependencies on metadata loading
2021-09-20 14:46:47 +03:00
alesapin
a249dcc5f5
Merge pull request #28301 from kssenii/materialized-postgresql
...
MaterializedPostgreSQL: allow dynamically adding/deleting tables, altering settings
2021-09-20 14:16:29 +03:00
alexey-milovidov
5f5b96aa57
Merge pull request #28982 from vdimir/issue-28660-pmj-fuzz
...
Add additional checkTypesOfKeys to JoiningTransform::transformHeader
2021-09-20 12:30:00 +03:00
Maksim Kita
c2088678ed
Merge pull request #28803 from kitaisreal/executable-user-defined-functions
...
Executable user defined functions
2021-09-20 12:11:15 +03:00
vdimir
091ce151bf
Avoid cycles in optimizeFuseQuantileFunctions
2021-09-20 11:39:29 +03:00
Yatsishin Ilya
cfa513c490
Merge remote-tracking branch 'origin' into improve-integration-1
2021-09-20 10:29:31 +03:00
kssenii
8d19ed5ee7
Fix remaining tests
2021-09-20 05:39:13 +00:00
Alexey Milovidov
147ef79670
Change website URL, part 1
2021-09-20 01:56:28 +03:00
Alexey Milovidov
ab44e0addb
Change Docker org name
2021-09-20 01:52:21 +03:00
Alexey Milovidov
f0925b3cf6
Changed substitution path name
2021-09-20 01:50:09 +03:00
Alexey Milovidov
e513a5db32
Change <yandex> to <clickhouse> in configs
2021-09-20 01:38:53 +03:00
kssenii
db45363c19
Fix tests
2021-09-19 18:42:45 +00:00
Alexey Milovidov
7d24e110e4
Make something with more sense
2021-09-19 20:23:06 +03:00
Alexey Milovidov
b444d224b0
Merge branch 'master' into exp-smooth
2021-09-19 17:58:57 +03:00
Anton Popov
db50a1027e
Merge pull request #29132 from Avogar/fix-avro
...
Fix segfault in Avro with LowCardinality(Nullable)
2021-09-19 16:13:11 +03:00
Alexander Tokmakov
6bc6ef8f2e
fix test
2021-09-19 01:12:11 +03:00
tavplubix
5fdd2b67ee
Update clickhouse-test
2021-09-19 01:05:17 +03:00
Azat Khuzhin
f242b5e48c
test_send_crash_reports: suppress Fatal messages check (due to explicit SIGSEGV)
...
CI: https://clickhouse-test-reports.s3.yandex.net/0/20d8523a2ebe22c93266e56fc097e273e4c8c68b/integration_tests_(asan).html#fail1
2021-09-19 00:15:35 +03:00
Azat Khuzhin
8f6cb9bd71
test_send_crash_reports: tiny pylint fixes
2021-09-19 00:15:34 +03:00
alexey-milovidov
20d8523a2e
Merge pull request #28888 from azat/mysql-in-fix
...
Fix queries to external databases (i.e. MySQL) with multiple columns in IN ( i.e. `(k,v) IN ((1, 2))` )
2021-09-18 15:53:40 +03:00
alexey-milovidov
2a9c6fb9fc
Merge pull request #29153 from azat/test-2010_lc_native-fix
...
Increase timeout in 2010_lc_native
2021-09-18 15:43:46 +03:00
alexey-milovidov
3eed1f06ea
Merge pull request #28952 from fuzzERot/h3-functions
...
Implementation of h3ToGeoBoundary
2021-09-18 14:27:11 +03:00
Azat Khuzhin
7f5f0e364d
Increase timeout in 2010_lc_native
...
10 seconds it not enough [1]:
2010_lc_native: [ FAIL ] 15.53 sec. - having stderror:
Traceback (most recent call last):
File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 302, in <module>
main()
File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 298, in main
insertLowCardinalityRowWithIndexOverflow()
File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 259, in insertLowCardinalityRowWithIndexOverflow
readException(s)
File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 185, in readException
assert(readVarUInt(s) == 2)
File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 65, in readVarUInt
byte = readStrict(s)[0]
File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 34, in readStrict
cur = s.recv(size)
socket.timeout: timed out
[1]: https://clickhouse-test-reports.s3.yandex.net/29060/7f1160c466a968c680d1bc73e0ad5e9419d0b6d0/functional_stateless_tests_(debug).html#fail1
Server log:
2021.09.17 21:02:53.734388 [ 682 ] {123456} <Trace> ContextAccess (default): Access granted: INSERT(x) ON test_0tmdh4.tab
2021.09.17 21:03:04.835044 [ 682 ] {123456} <Error> executeQuery: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA) (version 21.11.1.8109) (from [::ffff:127.0.0.1]:59512) (in query: insert into test_0tmdh4.tab format TSV settings input_format_defaults_for_omitted_fields=0), Stack trace (when copying this message, always include the lines below):
And according to trace_log the problem is slow unwind:
2021-09-17 21:02:55.103893 libunwind::LocalAddressSpace::get32
2021-09-17 21:02:56.151960 libunwind::LocalAddressSpace::get8
2021-09-17 21:03:03.168447 libunwind::LocalAddressSpace::getULEB128
2021-09-18 10:53:02 +03:00
Amos Bird
6b3cd34cff
Disable projections when ARRAY JOIN is used.
2021-09-18 08:15:59 +08:00
Kruglov Pavel
9fb73af891
Mark test as no-parallel
2021-09-17 23:54:09 +03:00
Kruglov Pavel
5ab8d5beda
Delete grep
2021-09-17 23:52:28 +03:00
Alexander Tokmakov
3bca886174
remove some trash
2021-09-17 22:29:10 +03:00
Azat Khuzhin
a613382d48
Cover max_suspicious_broken_parts/max_suspicious_broken_parts_bytes
2021-09-17 22:06:32 +03:00
Kruglov Pavel
e9f0137340
Update test
2021-09-17 20:14:37 +03:00
Maksim Kita
784a4a33e0
Fixed tests
2021-09-17 18:43:00 +03:00
Maksim Kita
ca3fc352d6
Fixed tests
2021-09-17 18:43:00 +03:00
Maksim Kita
93ecbf3ae4
Added tests
2021-09-17 18:42:59 +03:00
alesapin
4adc4e9152
Merge pull request #28817 from ClickHouse/fix_part_checker
...
Fix rare replicas diverge
2021-09-17 18:06:27 +03:00
Pavel Kruglov
aba86b010b
Update docs, tests and add some fixes
2021-09-17 17:32:23 +03:00
Pavel Kruglov
fe79db79af
Change test
2021-09-17 16:14:33 +03:00
Pavel Kruglov
48a3a2f75c
Fix segfault in Avro with LowCardinality(Nullable)
2021-09-17 16:11:44 +03:00
Maksim Kita
14e4d49601
Merge pull request #29063 from ClickHouse/read-integer-overflow-bug-fix
...
Merging #27963
2021-09-17 16:06:58 +03:00
Nikolai Kochetov
a8c3b02598
Merge branch 'master' into rewrite-pushing-to-views
2021-09-17 15:38:11 +03:00
Vladimir C
333fd323f5
Merge pull request #29062 from Avogar/orc-fixes
2021-09-17 14:48:19 +03:00
anneji
f97f5c5c75
modify test cases 2
2021-09-17 19:28:27 +08:00
anneji
0e224ab449
modify test cases
2021-09-17 19:26:11 +08:00
anneji
41dd55c36a
add test cases
2021-09-17 17:30:17 +08:00
PHO
3c4b1ea9c5
New setting: output_format_csv_null_representation
...
This is the same as output_format_tsv_null_representation but is for CSV output.
2021-09-17 17:58:23 +09:00
mergify[bot]
c23f1fc160
Merge branch 'master' into fix_part_checker
2021-09-17 07:23:12 +00:00
Nikita Mikhaylov
c52b8ec083
Introduced MergeTask and MutateTask ( #25165 )
...
Introduced MergeTask and MutateTask
2021-09-17 00:19:58 +03:00
Kseniia Sumarokova
e9d44d0848
Merge pull request #28797 from kssenii/rabbit-fix
...
Rewrite StorageRabbitMQ a little
2021-09-16 23:58:51 +03:00
Anton Popov
99175f7acc
minor enhancements in async inserts
2021-09-16 20:55:34 +03:00
kssenii
c88dc460d4
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-16 16:13:04 +00:00
Anton Popov
77a995381b
Merge pull request #28975 from ClickHouse/check-what-if-do-not-add-const-agg-keys-with-having
...
Don not add const group by key for query with only having.
2021-09-16 18:33:53 +03:00
Pavel Kruglov
96dba14213
Improve MsgPack input/output format
2021-09-16 17:05:07 +03:00
vdimir
661a54827b
Do not throw LOGICAL_ERROR from fuse quantile for illegal params
2021-09-16 16:06:02 +03:00
Alexey Boykov
6386560a9b
Small update
2021-09-16 15:56:33 +03:00
Alexey Boykov
1215c25bd7
Merge branch 'master' into numeric_tuple_functions
2021-09-16 15:46:18 +03:00
Alexey Boykov
53d7649c33
Constant p
2021-09-16 15:43:10 +03:00
kssenii
432ca1ed93
Fix tests
2021-09-16 10:46:43 +00:00
kssenii
1650c92407
Better
2021-09-16 11:38:26 +03:00
Anton Popov
dfbb1ffec0
Merge pull request #27537 from CurtizJ/merging-20557
...
Merging #20557 (Asynchronous inserts)
2021-09-16 03:08:34 +03:00
Nikita Mikhaylov
6bf5b4cf2d
Merge pull request #28953 from vitlibar/allow-change-server-side-compression-from-client
...
gRPC: Allow change server-side compression from client.
2021-09-16 00:55:06 +03:00
alexey-milovidov
b6b0e442fe
Merge pull request #28723 from azat/test_distributed_load_balancing-fix
...
Increase number of iterations in test_distributed_load_balancing (fixes flakiness)
2021-09-16 00:25:54 +03:00
mergify[bot]
d4ac1fdba0
Merge branch 'master' into h3-functions
2021-09-15 21:24:31 +00:00
Maksim Kita
7a72a765c2
Added tests
2021-09-16 00:01:01 +03:00
mergify[bot]
a8e9450d91
Merge branch 'master' into exp-smooth
2021-09-15 20:55:32 +00:00
Pavel Kruglov
2e9858172e
Allow to input and output LowCardinality columns in ORC format
2021-09-15 22:04:36 +03:00
Alexander Tokmakov
5c605189ac
Merge branch 'master' into func_zookeeper_session_uptime
2021-09-15 21:10:06 +03:00
Anton Popov
f6191b98e7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-15 17:47:22 +03:00
Anton Popov
8970dcdaf5
fix throwing exception for multiple clients in async inserts
2021-09-15 17:19:28 +03:00
Kruglov Pavel
8d1bf1b675
Merge pull request #29008 from vdimir/issue-26980-join-id-alias
...
Do not replaceAliasColumnsInQuery for JOIN OR/USING sections
2021-09-15 16:27:46 +03:00
Nikita Mikhaylov
2684d06b51
Merge pull request #27135 from FArthur-cmd/compressed_output_formats_3473
...
compress INTO OUTFILE with parameter compress
2021-09-15 16:25:13 +03:00
Kruglov Pavel
8a67c3cf44
Merge pull request #28636 from amosbird/nullable-index-fix
...
Fix nullable/lowcardinality primary key with constant conversion
2021-09-15 15:56:19 +03:00
vdimir
cd7fb8132d
Split GatherFunctionQuantileVisitor to h/cpp, fix fuzzed bugs
2021-09-15 15:15:42 +03:00
kssenii
84c8757049
Merge branch 'master' of github.com:ClickHouse/ClickHouse into named-collections
2021-09-15 12:28:31 +03:00
kssenii
710c8d12dd
Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql
2021-09-15 12:28:09 +03:00
Maksim Kita
69e59f34da
Merge pull request #29014 from vdimir/issue-29007-dict-join-strictness
...
Check left join strictness in tryInitDictJoin
2021-09-15 11:11:30 +03:00
mergify[bot]
9b499ed762
Merge branch 'master' into fix_part_checker
2021-09-15 07:39:09 +00:00
Anton Popov
dafc6d32ef
add test to access rights
2021-09-15 01:42:28 +03:00
Anton Popov
fc17936c12
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-14 23:02:30 +03:00
mergify[bot]
fa903ac255
Merge branch 'master' into describe-with-subcolumns
2021-09-14 14:43:29 +00:00
mergify[bot]
4993c7c527
Merge branch 'master' into fix_part_checker
2021-09-14 14:13:52 +00:00
Nikolai Kochetov
0e267c50b4
Merge branch 'master' into rewrite-pushing-to-views
2021-09-14 16:13:54 +03:00
Nikolai Kochetov
fc1456164a
Add test from #28880
2021-09-14 15:50:39 +03:00
vdimir
a3304a87a4
Rename optimize_syntax_fuse_aggregate -> optimize_syntax_fuse_functions
2021-09-14 15:27:12 +03:00
vdimir
a1463d5719
Merge remote-tracking branch 'origin/master' into fuse_quantile
2021-09-14 15:23:06 +03:00
vdimir
5a1aeeb044
Use optimize_syntax_fuse_aggregate
instead of optimize_fuse_sum_count_avg
and optimize_fuse_quantile
2021-09-14 15:21:16 +03:00
vdimir
a3db56f056
Revert "fuse multi setting options into one when Optimize"
...
This reverts commit bbd7799375
.
2021-09-14 15:12:21 +03:00
vdimir
32e8c11cab
Check left join strictness in tryInitDictJoin
2021-09-14 15:04:45 +03:00
Anton Popov
4403847744
Merge pull request #28325 from nicelulu/issues_27763
...
Bit shift operations for FixedString and String data types.
2021-09-14 14:45:29 +03:00
vdimir
3d2d994c5d
Skip JOIN OR/USING sections in replaceAliasColumnsInQuery
2021-09-14 14:13:19 +03:00
Nikolai Kochetov
6847610ed3
Merge pull request #28997 from ClickHouse/fix-num-threads-in-global-in-subquery
...
Fix num threads in global in subquery
2021-09-14 13:53:54 +03:00
hexiaoting
bbd7799375
fuse multi setting options into one when Optimize
2021-09-14 18:51:13 +08:00
Nikolai Kochetov
1b89719462
Update 2015_global_in_threads.sh
2021-09-14 11:53:53 +03:00
Alexander Tokmakov
f03484e0dc
fix test
2021-09-14 11:46:40 +03:00
Nikolay Degterinsky
4204e20f06
Merge pull request #29001 from azat/fix-01150_ddl_guard_rwr
...
Fix 01150_ddl_guard_rwr test
2021-09-14 11:37:23 +03:00
vdimir
1fdbb9509f
Add additional checkTypesOfKeys to JoiningTransform::transformHeader
2021-09-14 11:03:22 +03:00
Vladimir C
6e526aff89
Merge pull request #28969 from vdimir/01115-explicit-db
...
Remove explicit DB in 01115_join_with_dictionary
2021-09-14 10:26:51 +03:00
Kseniia Sumarokova
d3e604e14b
Merge pull request #28603 from kssenii/fix-web-disk-2
...
Some fixes for static files disk
2021-09-14 08:24:24 +03:00
Azat Khuzhin
1792b23a2c
Fix 01150_ddl_guard_rwr test
...
CI report [1]:
2021-09-13 09:55:27 Code: 219. DB::Exception: Received from localhost:9000. DB::Exception: New table appeared in database being dropped or detached. Try again.. (DATABASE_NOT_EMPTY)
2021-09-13 09:55:27 Code: 82. DB::Exception: Received from localhost:9000. DB::Exception: Database test_01150 already exists.. (DATABASE_ALREADY_EXISTS)
[1]: https://clickhouse-test-reports.s3.yandex.net/0/abe314feecd1647d7c2b952a25da7abf5c19f352/functional_stateless_tests_(release,_databaseordinary)/test_run.txt.out.log
2021-09-14 00:30:40 +03:00
alesapin
abe314feec
Merge pull request #28962 from azat/create-settings
...
Apply settings from CREATE AS SELECT queries
2021-09-13 22:14:21 +03:00
Nikolai Kochetov
e8bc0287ff
Add test.
2021-09-13 20:53:31 +03:00
Anton Popov
7ec5c73c9b
Merge branch 'master' into issues_27763
2021-09-13 20:33:29 +03:00
Alexander Tokmakov
8ac19caca9
Merge branch 'master' into tables_topsort
2021-09-13 16:58:39 +03:00
Alexander Tokmakov
be45ed5fde
better check for session expiration in clickhouse-test
2021-09-13 16:36:05 +03:00
mergify[bot]
c54434084f
Merge branch 'master' into fix_part_checker
2021-09-13 13:19:34 +00:00
vdimir
9ebef6e3cf
Remove explicit DB in 01115_join_with_dictionary
2021-09-13 13:06:38 +03:00
mergify[bot]
d731bf6c4d
Merge branch 'master' into compressed_output_formats_3473
2021-09-13 09:14:35 +00:00
Nikita Mikhaylov
4b3c0a95d1
Merge pull request #28046 from syominsergey/fix-build-clang-13-2
...
[WIP] Improve support for build with clang-13
2021-09-13 12:11:38 +03:00
Maksim Kita
6161365b4e
Merge pull request #28540 from azat/fix-zookeeper_mutations_and_insert_quorum_long
...
Fix insert_quorum_timeout in zookeeper_mutations_and_insert_quorum_long
2021-09-13 11:27:11 +03:00
Filatenkov Artur
c23fe5baf6
Improve codec for encr 19896 ( #27476 )
...
* change syntax of encrypted command
* commit all encrypted changes
* correct encryption
* correct config for test
* add tests and correct code style and typos
* correct test
* fix unbundled build
* add log warning messages
* improve code according to review comments
* correct nonce
* correct errors found by fuzzing
* improve codec AES_128_GCM_SIV. Add AES_256_GCM_SIV. Add sections for last in tests. Improve documentation
* Update CompressionCodecEncrypted.h
* Update 01683_codec_encrypted.sql
* correct compression factory after changes in master
* correct behavior with wrong key in data
* correct fuzzer
* add connection for fuzzer with fix for compression_encrypted
* refactor code
* add load from config with throwing errors on server start
* fix typos and check style
* Update Server.cpp
* correct loading and reading
* refactor code. fix uninitialized value
* refactor code
* move defines from server to cpp file
* correct build
* remove repeated code
* correct namespace
* fix code style
2021-09-13 11:25:36 +03:00
Maksim Kita
e9d7dfeeb1
Merge pull request #28863 from kitaisreal/column-default-dict-get-identifier-fix
...
Column default dictGet identifier fix
2021-09-13 10:56:39 +03:00
alexey-milovidov
b73f71fc06
Merge pull request #28906 from Algunenano/sum_fp
...
Improve the performance of SUM of nullable floating point numbers
2021-09-13 10:55:51 +03:00
alesapin
91e10adca5
Merge branch 'master' into fix_part_checker
2021-09-13 10:19:04 +03:00
Azat Khuzhin
dad02452c8
Apply settings from CREATE AS SELECT queries
2021-09-13 10:10:00 +03:00
kssenii
9ec6a9b4c9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-web-disk-2
2021-09-13 08:32:34 +03:00
alexey-milovidov
ad997cf51e
Merge branch 'master' into exp-smooth
2021-09-13 07:29:49 +03:00
alexey-milovidov
b467df98d3
Update 02006_h3_to_geo_boundary.sql
2021-09-13 07:25:46 +03:00
Vitaly Baranov
512786346c
Merge pull request #28909 from vitlibar/convert-skip-list-into-first-line-comments
...
Convert skip_list .json into first line comments
2021-09-13 03:37:39 +03:00
Vitaly Baranov
113ddceabb
gRPC: Allow change server-side compression from client.
2021-09-13 01:07:28 +03:00
kssenii
6fba81191f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-12 21:48:27 +00:00
fuzzERot
dba428c443
Implementation of h3ToGeoBoundary
2021-09-12 23:47:51 +03:00
Nikolay Degterinsky
b02c807346
Merge pull request #27481 from nicelulu/add_sparkbar
...
Add sparkbar aggregate function.
2021-09-12 21:29:24 +03:00
Sergei Semin
12e24a23d3
Merge branch 'master' into fix-build-clang-13-2
2021-09-12 19:30:55 +03:00
Vitaly Baranov
daa5979347
Remove unnecessary files.
2021-09-12 17:15:28 +03:00
Vitaly Baranov
39d73c01b2
Add tags to tests.
2021-09-12 17:15:28 +03:00
Vitaly Baranov
bbb192ee85
Convert skip_list.json into first line comments.
2021-09-12 17:15:23 +03:00
Kseniia Sumarokova
d4823d41b0
Merge pull request #28890 from azat/client-improvements-v2
...
Add query to the exception message in case of error during processing INSERT block on client
2021-09-12 16:07:57 +03:00
alexey-milovidov
aa5c42b7db
Merge pull request #28773 from azat/nth_value-ubsan-fix
...
Fix signed integer overflow for nth_value() window function
2021-09-12 15:57:19 +03:00
alexey-milovidov
60f76d9254
Merge pull request #28759 from nikitamikhaylov/enable-gcc-11
...
Switch CI to GCC-11
2021-09-12 15:56:57 +03:00
alexey-milovidov
cdcfdbec7e
Merge pull request #28873 from CurtizJ/fix-subcolumns-compact-parts
...
Fix reading of subcolumns from compact parts
2021-09-12 15:54:07 +03:00
alexey-milovidov
f066edc43c
Merge pull request #28910 from ClickHouse/fix-trash-optimization
...
Fix bad optimization of ORDER BY in subquery if it contains WITH FILL
2021-09-12 15:27:53 +03:00
alexey-milovidov
ea13a8b562
Merge pull request #28659 from myrrc/improvement/tostring_to_magic_enum
...
Improving CH type system with concepts
2021-09-12 15:26:29 +03:00
Alexey Milovidov
9ea1d443ba
Add exponentialMovingSum aggregate function
2021-09-12 12:26:13 +03:00
alexey-milovidov
1616a0e230
Merge pull request #28887 from Avogar/fix-short-circuit
...
Fix bug with LowCardinality in short-curcuit function evaluation
2021-09-12 09:06:02 +03:00
Alexey Milovidov
797e1f4fd4
Add more tests
2021-09-12 08:37:51 +03:00
Alexey Milovidov
0745631bf7
Add aggregate function for exp smoothing
2021-09-12 08:26:07 +03:00
Alexey Milovidov
7899c6a0f1
One more
2021-09-12 03:00:09 +03:00
Alexey Milovidov
98a25f3ece
Add a test
2021-09-12 02:56:47 +03:00
Alexey Milovidov
8935a70f60
Fix another misoptimization
2021-09-12 01:41:37 +03:00
Alexey Milovidov
d85588210d
Fix bad optimization of ORDER BY in subquery if it contains WITH FILL
2021-09-12 01:24:20 +03:00
Anton Popov
02a7edf902
allow to include subccolumns in describe query
2021-09-12 00:07:33 +03:00
Raúl Marín
50360aa586
Add extra performance tests for Nullable floating point Sum
...
The existing ones aren't that representative since there isn't
any NULL values, so the branch predictor is correct 100% of the time
2021-09-11 22:37:45 +02:00
Azat Khuzhin
c7e5cd7cda
Fix arrayCumSumNonNegative() for consts
2021-09-11 22:39:30 +03:00
Azat Khuzhin
6403cbee46
Fix arrayDifference() for consts
2021-09-11 22:39:30 +03:00
Azat Khuzhin
3c75844a79
Fix SIGSEGV for arrayCompact() with consts
...
arrayCompact() implements useDefaultImplementationForConstants() but it
is a no-op for FunctionArrayMapped, fix this.
CI report [1]:
[1]: https://clickhouse-test-reports.s3.yandex.net/28890/baac2e561cfb05bc174f0bd25571e607d19c7463/fuzzer_asan/report.html#fail1
2021-09-11 22:39:20 +03:00
Azat Khuzhin
2f34ab1717
tests: update 00900_long_parquet_load.reference
2021-09-11 21:59:42 +03:00
kssenii
33ff6ec060
Fix tests
2021-09-11 17:17:48 +00:00
mergify[bot]
267e56df8c
Merge branch 'master' into fix-web-disk-2
2021-09-11 15:45:43 +00:00
Sergei Semin
d2c678928c
remove cases with unspecified behaviour (out of UInt64 range)
2021-09-11 18:14:00 +03:00
mergify[bot]
97fbdec71c
Merge branch 'master' into fix-build-clang-13-2
2021-09-11 15:03:52 +00:00
kssenii
6f04e87bc3
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-11 14:54:57 +00:00
alexey-milovidov
648d561242
Merge pull request #28828 from azat/nested-combinators
...
Relax nested function for If-combinator check (but forbid nested identical combinators)
2021-09-11 15:53:19 +03:00
Azat Khuzhin
976874d57b
tests/01016_input_null_as_default: remove one more tuple nesting
...
CI report [1]:
01016_input_null_as_default: [ FAIL ] - having stderror:
Code: 53. DB::Exception: Bad size of tuple. Expected size: 1, actual size: 2.: While executing ValuesBlockInputFormat: data for INSERT was parsed from stdin. (TYPE_MISMATCH)
[1]: https://clickhouse-test-reports.s3.yandex.net/28888/5ad9cb9b797abe498ae558f9c233e16cd89e41b4/fast_test.html#fail1
2021-09-11 15:38:30 +03:00
Azat Khuzhin
b51c180922
tests/00132_sets: remove one more tuple nesting
...
CI report [1]:
2021-09-11 14:25:31 [5656ccb14ed9] 2021.09.11 14:25:31.498685 [ 18561 ] {6096a73f-2066-4c78-9f99-73f013c96deb} <Error> executeQuery: Code: 43. DB::Exception: Invalid types for IN function: Tuple(UInt8, Tuple(UInt8, UInt8)) and Tuple(Tuple(Tuple(UInt8, Tuple(UInt8, UInt8)), Tuple(UInt8, Tuple(UInt8, UInt8)))).: While processing (1 AS number, (2, 3) AS tuple) IN tuple(((1, (2, 3)), (4, (5, 6)))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 21.11.1.1) (from [::1]:32780) (comment: 00132_sets.sql) (in query: SELECT number, tuple FROM (SELECT 1 AS number, (2, 3) AS tuple) WHERE (number, tuple) IN (((1, (2, 3)), (4, (5, 6))));), Stack trace (when copying this message, always include the lines below):
[1]: https://clickhouse-test-reports.s3.yandex.net/28888/5ad9cb9b797abe498ae558f9c233e16cd89e41b4/fast_test.html#fail1
2021-09-11 15:29:43 +03:00
Azat Khuzhin
5ad9cb9b79
Add test_storage_mysql::test_mysql_in with multiple columns in IN
2021-09-11 14:15:27 +03:00
Pavel Kruglov
9c756fc4b2
Fix bug with LowCardinality in short-curcuit function evaluation
2021-09-11 12:56:25 +03:00
Artur
c77a65f9d5
avoid error with order
2021-09-11 07:28:54 +00:00
Azat Khuzhin
c6b9816d45
tests: mark 00763_lock_buffer as long
...
https://clickhouse-test-reports.s3.yandex.net/28827/58266e4ed6db77109e6237ecd2612d34c0b19516/functional_stateless_tests_flaky_check_(address).html#fail1
2021-09-11 09:15:38 +03:00
Azat Khuzhin
f7540dad56
tests: update 01305_replica_create_drop_zookeeper after client query printing
2021-09-11 09:13:23 +03:00
Mike Kot
c4385a2c40
Simplifying exception messages
2021-09-11 00:40:18 +02:00
Azat Khuzhin
58266e4ed6
tests/queries/0_stateless/01175_distributed_ddl_output_mode_long: use unique tmp file
2021-09-10 23:23:24 +03:00
Azat Khuzhin
4336038711
tests: update more references after client started printing query
2021-09-10 23:19:16 +03:00
Azat Khuzhin
1e7714d56d
Forbid nested identical (only) combinators
...
Nested identical combinators (i.e. uniqCombinedIfIf) is not
supported (since they even don't work -- silently).
But non-identical does supported and works, for example
uniqCombinedIfMergeIf, it is useful in case when the underlying
storage stores AggregateFunction(uniqCombinedIf) and in SELECT you
need to filter aggregation result based on another column for
example.
2021-09-10 21:03:24 +03:00
Azat Khuzhin
60df1e8800
Relax nested function for If-combinator check
...
Second If combinator can be useful to add condition based on another
column, when Merge combinator is applied for example (i.e.
uniqCombinedIfMergeIf(state_of_merge_that_is_stored_in_table, event_date = today())).
2021-09-10 21:03:24 +03:00
Azat Khuzhin
c4a24c7696
tests: update reference after client started printing query
2021-09-10 21:02:55 +03:00
Azat Khuzhin
b383115389
Allow values up to INT64_MAX for nth_value/lagInFrame/leadInFrame
2021-09-10 21:02:06 +03:00
Azat Khuzhin
62a29420bd
Fix signed integer overflow for nth_value() window function
...
CI report [1]:
../src/Processors/Transforms/WindowTransform.cpp:1699:54: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long' Received signal -3 Received signal Unknown signal (-3)
In query:
SELECT
number,
nth_value(number, 2147483648) OVER w,
anyOrNull(number) OVER (ORDER BY -2147483648 - intDiv(number, 1024) DESC NULLS FIRST, number DESC ROWS BETWEEN 65535 FOLLOWING AND UNBOUNDED FOLLOWING),
nth_value(number, 65537) OVER w AS firstValue,
nth_value(number, -9223372036854775808) OVER w AS secondValue,
nth_value(number, 1048576) OVER w AS thirdValue
FROM numbers(1)
WINDOW w AS (ORDER BY number DESC)
ORDER BY number DESC
[1]: https://clickhouse-test-reports.s3.yandex.net/28532/7623af5513e12aa8dfa1bee963caffe00185c31a/fuzzer_ubsan/report.html#fail1
2021-09-10 21:02:04 +03:00
Anton Popov
a63887413c
fix reading of subcolumns from compact parts
2021-09-10 20:19:18 +03:00
Nikolai Kochetov
3a9d88fbc9
Fix more tests.
2021-09-10 17:52:24 +03:00
Maksim Kita
a87ffdff92
Column default dictGet identifier fix
2021-09-10 17:41:09 +03:00
Anton Popov
0bb74f8eaf
Merge pull request #28762 from CurtizJ/fix-nested-1
...
Fix usage of nested columns with non-array columns with the same prefix [2]
2021-09-10 17:34:43 +03:00
Artur
a7c43c3e2d
add compression key-word and some tests
2021-09-10 13:59:22 +00:00
mergify[bot]
e3b3439535
Merge branch 'master' into fix-build-clang-13-2
2021-09-10 12:05:54 +00:00
kssenii
ba1534f1df
Fix checks
2021-09-10 14:16:01 +03:00
Nikita Mikhaylov
d7dafd6d2f
Switch performance and merge contrib
2021-09-10 11:10:45 +00:00
Anton Popov
5cff615eca
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-10 13:40:48 +03:00
mergify[bot]
95be9c3571
Merge branch 'master' into add_sparkbar
2021-09-10 10:19:27 +00:00
Alexander Tokmakov
3f8fb1e562
Merge branch 'master' into tables_topsort
2021-09-10 13:16:41 +03:00
alesapin
6243b64ff5
Merge pull request #28656 from ClickHouse/move_docker_images_to_separate_repo
...
Move docker images to a separate repo
2021-09-10 10:24:21 +03:00
mergify[bot]
937eeb9fed
Merge branch 'master' into enable-gcc-11
2021-09-09 22:44:10 +00:00
Maksim Kita
bdbf0c1967
Merge pull request #28821 from azat/compile-short-circuit-eval
...
Fix expressions compilation with short circuit evaluation
2021-09-10 00:49:00 +03:00
Sergei Semin
b739d1cc92
make changes analog to https://github.com/ClickHouse/ClickHouse/pull/20495/files but for clang-13
2021-09-09 23:51:47 +03:00
Sergei Semin
0f2954ee97
remove extra clang-13 config
2021-09-09 23:51:47 +03:00
Sergei Semin
ff635bcab8
add build with clang-13
2021-09-09 23:51:47 +03:00
alesapin
2359a222ff
Fix more tests
2021-09-09 23:29:42 +03:00
Azat Khuzhin
63e14fc389
Fix expressions compilation with short circuit evaluation
...
Before this patch, you may get the following error:
Column Function is not a contiguous block of memory
Since under short circuit evaluation you may get Function not the
result.
2021-09-09 22:43:11 +03:00
Anton Popov
4eae64b174
add stress test for async inserts
2021-09-09 20:17:19 +03:00
alesapin
099c71f70b
Add test
2021-09-09 19:45:42 +03:00
Alexey Boykov
d63a1fbe40
Add aliases
2021-09-09 18:45:05 +03:00