Anton Popov
82bff416f6
Merge remote-tracking branch 'upstream/master' into HEAD
2021-10-19 16:48:47 +03:00
Vladimir C
49685f0b9a
Merge pull request #30292 from Joeywzr/trim_dev
2021-10-19 14:49:43 +03:00
Nikita Mikhaylov
ea2a647724
Merge pull request #30192 from azat/granula-adjust-LOGICAL_ERROR-fix
...
Fix reading from MergeTree with max_read_buffer_size=0
2021-10-19 13:25:55 +03:00
Ilya Yatsishin
4396daeb1f
Merge pull request #30064 from azat/client-print-profile-events
2021-10-19 12:42:09 +03:00
vdimir
3dfbc80f0b
Add cases to test replaceRegexpAll_bug
2021-10-19 12:38:11 +03:00
Kruglov Pavel
1e2ceeb2e7
Merge pull request #29291 from Avogar/capnproto
...
Add CapnProto output format, refactor CapnProto input format
2021-10-19 11:54:55 +03:00
Kruglov Pavel
de2b75abf0
Merge pull request #30053 from Avogar/clickhouse-local
...
Remove unused headers and handle exception 'unrecognised option' in clickhouse-local
2021-10-19 11:52:15 +03:00
Azat Khuzhin
424bf6fcf4
client: add ability to print raw profile events
...
This can be useful for debugging and for testing (since you will not
need to obtain query_id and look at query_log).
v2:
- mark test as long
- add option to docs
- add type of profile event into logs too
v3:
- resolve conflicts
- and fix onProfileEvents callback
v4:
- add --print-profile-events separate switch
2021-10-19 00:54:38 +03:00
Nikita Mikhaylov
75c16b8f89
Merge pull request #30284 from Algunenano/sequential_tests
...
Adjust resource heavy tests
2021-10-18 22:42:14 +03:00
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
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
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
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
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
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
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
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
WangZengrui
6752be4c4e
fix bug and add test
2021-10-16 23:11:45 +08:00
kssenii
c79c0526ff
Fix clickhouse-local syntax exception
2021-10-16 12:20:14 +00:00
Raúl Marín
c5b09b4907
Tag resource heavy tests as no-parallel
2021-10-16 13:03:51 +02: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
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
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
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
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
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
Dmitry Novik
4ebb2455d8
Delete 01939_network_send_bytes_metrics test
2021-10-14 17:56:34 +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