Alexander Kuzmenkov
8b9105bf39
Merge pull request #18446 from azat/constant-folding
...
Fix constant folding when the result is unknown
2021-01-22 13:26:24 +03:00
Alexey Milovidov
56d09886e2
Fix MSan report in AES functions
2021-01-22 04:08:10 +03:00
alexey-milovidov
4e11e7cfa9
Merge pull request #18772 from azat/optimize-memory-tracking-fix
...
[RFC] Fix memory tracking for OPTIMIZE TABLE/merges
2021-01-22 03:48:06 +03:00
Alexey Milovidov
14adc2d5f0
Fix UBSan report in quantileExactWeighted
2021-01-22 03:05:45 +03:00
Alexey Milovidov
e38ff3517d
Fail fast in incorrect usage of extractAllGroups
2021-01-22 02:48:26 +03:00
Alexey Milovidov
79229ef25a
Skip Arcadia
2021-01-22 02:01:17 +03:00
Alexey Milovidov
117708abc6
Skip Arcadia
2021-01-22 01:59:56 +03:00
Alexey Milovidov
afc6f2fd8e
Add http_referer to client info
2021-01-22 01:55:45 +03:00
Alexey Milovidov
056b44b64f
Add a test
2021-01-22 01:49:37 +03:00
alexey-milovidov
1883bc546a
Merge pull request #19357 from ClickHouse/values-ubsan
...
Fix potential nullptr dereference in table function VALUES
2021-01-21 23:34:41 +03:00
alexey-milovidov
37c345f55e
Merge pull request #19347 from ClickHouse/array-element-ubsan
...
Avoid UBSan report in arrayElement
2021-01-21 23:34:19 +03:00
Alexander Kuzmenkov
71e663701d
update the tests
2021-01-21 22:56:28 +03:00
Alexey Milovidov
d9cb1c1bdd
Avoid UBSan report in aggregate function sum
2021-01-21 22:52:00 +03:00
Alexey Milovidov
cc160813ce
Add a test
2021-01-21 21:44:48 +03:00
Azat Khuzhin
82e7e7d9cb
Fix constant folding for expressions depends from subqueries result
...
Do not use subquery result, when value is unknown, for constant folding.
v2: fix simple subqueries, fixes 00597_push_down_predicate.
v3:
- use identity over introducing yet another cast analog (as suggested by @akuzm)
- simpler suitable_for_const_folding check
v4: use identity(cast()) since only cast() can provide corrent type (for
data types that does not have it's own type, i.e. DateTime)
v5: do not optimize consts if only_analyze isset, regardless the block
content
2021-01-21 21:26:50 +03:00
Azat Khuzhin
44011061b5
Add missing DROP TABLE at the beginning of 01268_mv_scalars test
2021-01-21 21:22:23 +03:00
Azat Khuzhin
95c9e57ec1
Add 01600_parts_types_metrics
2021-01-21 21:17:01 +03:00
Azat Khuzhin
974f0daeb9
Add set database_atomic_wait_for_drop_and_detach_synchronously=1 for 01600_parts_states_metrics
...
Without this setting the test will pass only when the table will be
actually removed by the background worker of the Atomic engine.
In CI this is not required since
database_atomic_wait_for_drop_and_detach_synchronously is set explicitly
in via tests/users.d.
2021-01-21 21:17:01 +03:00
Azat Khuzhin
926b0ddc59
Rename 01600_count_of_parts_metrics to 01600_parts_states_metrics
2021-01-21 21:17:00 +03:00
Nikita Mikhaylov
b93732e441
Merge pull request #18788 from hexiaoting/map_functions
...
Introduce mapContains, mapKeys, mapValues functions for Map data type
2021-01-21 21:02:03 +03:00
Alexander Kuzmenkov
eb7b87ee8d
update tests
2021-01-21 21:01:32 +03:00
Alexander Kuzmenkov
36a42a1f96
update tests
2021-01-21 18:30:51 +03:00
Alexander Kuzmenkov
ec8ff21526
Reconnect after client errors
2021-01-21 17:28:46 +03:00
vdimir
2f11fdf4df
Fix default value in join types with non-zero default ( close #18197 )
2021-01-21 16:49:44 +03:00
Alexey Milovidov
375db8ce7e
Update reference
2021-01-21 16:42:47 +03:00
alexey-milovidov
7370335f87
Merge pull request #19339 from ClickHouse/fix-ipv4-formatting
...
Fix bad formatting of IPv4 addresses
2021-01-21 15:20:24 +03:00
Alexey Milovidov
56012402e2
Fix potential nullptr dereference in table function VALUES
2021-01-21 15:19:00 +03:00
alexey-milovidov
08dc5ebfa7
Merge pull request #19343 from ucasFL/sleep
...
fix sleep with infinite input
2021-01-21 15:04:30 +03:00
Ildus Kurbangaliev
47a0f4e162
Add tuple argument support for argMin and argMax
2021-01-21 16:47:51 +05:00
Alexey Milovidov
2cd04e8923
Fix UBSan report in arraySum
2021-01-21 14:43:33 +03:00
flynn
e75b116466
Rewrite sum(if())
and sumIf
to countIf
in special cases ( #17041 )
...
Co-authored-by: vdimir <vdimir@yandex-team.ru>
2021-01-21 12:01:35 +03:00
Alexey Milovidov
110089086b
Fix UBSan report in GatherUtils #19287
2021-01-21 11:41:19 +03:00
Alexey Milovidov
1bb8cc5c9a
Avoid UBSan report in arrayElement
2021-01-21 11:10:46 +03:00
feng lv
2094eae23d
fix sleep with infinite input
2021-01-21 04:49:35 +00:00
Alexey Milovidov
2d87e52b3a
Fix bad formatting of IPv4 addresses
2021-01-21 03:24:44 +03:00
tavplubix
165fc1a260
Merge pull request #19091 from ClickHouse/update_cassandra
...
Update Cassandra driver library
2021-01-20 22:05:34 +03:00
Alexander Kuzmenkov
8663d04b7f
Merge pull request #19298 from ClickHouse/aku/parallel-tests
...
Avoid mixing output from parallel test runs
2021-01-20 20:22:42 +03:00
Alexander Tokmakov
6560ec3ed5
fix segfault on aggregation when MV has unexpected structure
2021-01-20 19:36:18 +03:00
Daniel Qin
25d8c047c5
Add a check to avoid exception when long alias equals to column ( #18968 )
...
* Add a check to avoid exception when long alias equas to column
* try fix with add an underlying table name, add function test
* format code
Co-authored-by: Ling Qin <lqin@freewheel.com>
2021-01-20 18:34:17 +03:00
Alexander Tokmakov
0507a38ec6
Merge branch 'master' into update_cassandra
2021-01-20 14:15:53 +03:00
alesapin
ab325f5d0c
Fix test
2021-01-20 13:31:47 +03:00
Nikolai Kochetov
1e4b32aa30
Merge pull request #19273 from CurtizJ/map-subcolumns
...
Support 'keys' and 'values' subcolumns in type Map
2021-01-20 13:13:01 +03:00
Alexander Kuzmenkov
33b941b216
not sure why it doesn't like my f-strings
2021-01-20 10:01:26 +03:00
Alexander Kuzmenkov
107d83b654
Avoid mixing output from parallel test runs.
...
Also mark some tests as sequential-only.
2021-01-20 08:31:41 +03:00
Alexander Kuzmenkov
4d16dead0f
Merge remote-tracking branch 'origin/master' into HEAD
2021-01-19 20:34:01 +03:00
Alexander Kuzmenkov
f5931a2289
Merge pull request #19236 from ClickHouse/aku/echo-leading
...
Make `-- { echo }` hint preserve leading comments
2021-01-19 20:20:58 +03:00
alesapin
bc3b792912
Merge pull request #19250 from ClickHouse/trying_to_enable_tsan
...
Remove tsan supression
2021-01-19 18:58:25 +03:00
Alexander Tokmakov
e2467427d1
Merge branch 'master' into update_cassandra
2021-01-19 14:10:15 +03:00
Anton Popov
bc796ec391
support 'keys' and 'values' subcolumns in type Map
2021-01-19 14:05:21 +03:00
alexey-milovidov
ee4cc94e6c
Merge pull request #19235 from ClickHouse/redundant-test-for-banner-system
...
Add redundant test for Yandex banner system
2021-01-19 13:29:52 +03:00
alesapin
6ea13be651
Merge branch 'master' into trying_to_enable_tsan
2021-01-19 10:28:00 +03:00
Nikita Mikhaylov
b8fcd75de7
Merge pull request #19200 from den-crane/tests/18839_Expand_macros_for_fetchPartition
...
test for #18839 Expand_macros_for_fetchPartition
2021-01-19 02:54:20 +03:00
Anton Popov
dbc10b2024
Merge pull request #19063 from CurtizJ/exists-view
...
Support operations with views in ANTLR parser
2021-01-19 01:15:12 +03:00
Alexander Kuzmenkov
d0922e2985
Merge remote-tracking branch 'origin/master' into tmp
2021-01-18 23:23:49 +03:00
Alexander Kuzmenkov
c1b35da714
old flaky test
2021-01-18 23:22:20 +03:00
Kruglov Pavel
937fb25739
Merge pull request #19224 from zhangjmruc/master
...
Support %Q in function formatDateTime in #19163
2021-01-18 20:48:43 +03:00
Alexander Kuzmenkov
b07d6c5132
old flaky test
2021-01-18 20:15:58 +03:00
alesapin
db4b18f923
Remove tsan supression
2021-01-18 19:04:21 +03:00
Nikita Mikhaylov
8f5d5ebbff
Update arcadia_skip_list.txt
2021-01-18 16:14:30 +03:00
Alexander Kuzmenkov
c153268da7
Make -- { echo }
hint preserve leading comments.
2021-01-18 15:15:46 +03:00
Alexey Milovidov
37a17752e8
Add redundant test for Yandex banner system
2021-01-18 15:03:26 +03:00
Alexey Milovidov
897d51b6e7
Usability improvement of clickhouse-test
2021-01-18 14:38:44 +03:00
Alexander Kuzmenkov
cafc6a492d
Update jit_large_requests.xml
2021-01-18 14:00:24 +03:00
Alexander Kuzmenkov
f3e112766f
cleanup
2021-01-18 12:49:56 +03:00
jianmei zhang
b90b38fd4e
add a new line
2021-01-18 12:20:15 +08:00
jianmei zhang
e967b6bf49
add a %Q replacement for formatDateTime
2021-01-18 12:16:32 +08:00
hexiaoting
28436a73b7
Merge remote-tracking branch 'origin/master' into map_functions
2021-01-18 10:20:36 +08:00
Alexey Milovidov
19dc5239fa
Add more Fuzzer tasks
2021-01-17 21:14:57 +03:00
alexey-milovidov
15f4ae26c2
Merge pull request #17310 from CurtizJ/multiple-nested
...
Allow nested with multiple nesting and subcolumns of complex types
2021-01-17 15:00:26 +03:00
Alexey Milovidov
be253e3d68
Skip test for ANTLR
2021-01-17 15:00:00 +03:00
Denis Zhuravlev
04dcc9523a
test for #18839 Expand_macros_for_fetchPartition
2021-01-16 18:26:43 -04:00
alexey-milovidov
d2366b5c6c
Merge pull request #18233 from vitlibar/fix-access-rights-for-select-count
...
Fix access rights for SELECT count()
2021-01-17 00:12:08 +03:00
alexey-milovidov
7de745ce77
Merge pull request #18554 from kssenii/pg2ch
...
Add PostgreSQL table function, dictionary source, database engine
2021-01-16 23:55:05 +03:00
Alexander Tokmakov
e57e242482
fix
2021-01-16 22:56:07 +03:00
alexey-milovidov
3737ef253f
Merge pull request #19164 from azat/COMPLEX_KEY_SSD_CACHE-dictHas-fix
...
Add missing type check in dictHas for COMPLEX_KEY_SSD_CACHE layout
2021-01-16 20:55:08 +03:00
Alexey Milovidov
24c8e53440
Merge branch 'master' into multiple-nested
2021-01-16 16:28:40 +03:00
alexey-milovidov
a15092eeb7
Merge pull request #18264 from ucasFL/insert-cluster
...
Support insert into table function cluster
2021-01-16 13:22:49 +03:00
Azat Khuzhin
1b901b368f
Add missing type check in dictHas for COMPLEX_KEY_SSD_CACHE layout
2021-01-16 12:33:36 +03:00
alexey-milovidov
ecf9b9c392
Merge pull request #19154 from ClickHouse/aku/faster-perf
...
speed up some perf tests (for other machines)
2021-01-16 12:22:46 +03:00
Alexey Milovidov
015e392bb7
Disable TestFlows due to low reliability
2021-01-16 11:58:23 +03:00
alexey-milovidov
8d20b34992
Merge pull request #19155 from azat/integration-tests/dist-different-header
...
Cover distributed send with different headers
2021-01-16 11:57:19 +03:00
alexey-milovidov
32ceafc038
Merge pull request #19007 from ClickHouse/add-tests-from-15889
...
Add tests from #15889
2021-01-16 11:03:39 +03:00
alexey-milovidov
6ed14ba0b6
Merge pull request #19134 from ClickHouse/fix-read-orc-from-fd
...
Fix reading from fd for ORCBlockInputFormat.
2021-01-16 11:03:26 +03:00
alesapin
67fd381034
Merge pull request #19123 from ClickHouse/additional_check_in_writer
...
Fix max granules size in MergeTreeDataWriter
2021-01-16 10:17:44 +03:00
Azat Khuzhin
7135faf672
Cover distributed send with different headers
2021-01-16 00:45:11 +03:00
Alexander Kuzmenkov
9d6730a846
small fixes
2021-01-16 00:33:53 +03:00
alexey-milovidov
5f189c5756
Merge pull request #19122 from ClickHouse/data-part-better-code
...
Add metrics for part number in MergeTree in ClickHouse
2021-01-16 00:20:15 +03:00
alexey-milovidov
e09ec9fed5
Merge pull request #18373 from amosbird/fix-18364
...
Fix 2-arg functions with constant in PK analysis
2021-01-16 00:20:03 +03:00
Alexander Kuzmenkov
979d23208e
speed up some perf tests (for other machines)
2021-01-16 00:15:06 +03:00
Alexander Kuzmenkov
765aa4d4e3
rewrote everything again
2021-01-15 23:30:44 +03:00
Alexey Milovidov
b293d56a63
Merge branch 'master' into kssenii-pg2ch
2021-01-15 22:32:03 +03:00
alesapin
751efca3eb
Merge pull request #18974 from ClickHouse/add_integration_tests_msan
...
Add config for integration tests msan
2021-01-15 22:07:30 +03:00
alesapin
184dbedb06
Fix stupid error
2021-01-15 21:50:30 +03:00
alexey-milovidov
b97beea22a
Merge pull request #19101 from ClickHouse/check_compression_codec_read
...
Fix compression codec read for empty files
2021-01-15 20:55:58 +03:00
Nikolai Kochetov
142bcd4142
Update test
2021-01-15 20:44:16 +03:00
alexey-milovidov
83c5539df6
Update 01651_bugs_from_15889.sql
2021-01-15 20:39:32 +03:00
alexey-milovidov
f8830e0f11
Merge pull request #19107 from ClickHouse/bar-nan
...
Fix fuzz test for function `bar`.
2021-01-15 20:38:02 +03:00
feng lv
dbb3c89b50
Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster
2021-01-15 15:37:56 +00:00
Alexey Milovidov
a19e7edd14
Merge branch 'master' into kssenii-pg2ch
2021-01-15 17:33:19 +03:00
alexey-milovidov
2cdc5319c0
Merge pull request #19017 from MyroTk/tfs_rbac_alter_fetch_fix_and_new_tests
...
Enabling TestFlows RBAC tests and adding new tests for SYSTEM privileges.
2021-01-15 17:31:45 +03:00