Commit Graph

9002 Commits

Author SHA1 Message Date
Raúl Marín
b553e51969 Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-20 17:47:57 +01:00
avogar
ba6a513db0 Fix tuple output in CSV format 2021-12-20 19:27:09 +03:00
Antonio Andelic
e65df85412 Use -F flag for tests 2021-12-20 17:05:16 +01:00
Antonio Andelic
ef57b759e0 Add stateless tests for setting hints 2021-12-20 16:57:09 +01:00
Maksim Kita
f9b585fcdf
Merge pull request #32822 from den-crane/test/summap_nullable
test for summap nullable(0)
2021-12-20 16:50:45 +03:00
avogar
e31c18e9f8 Fix hdfs url check 2021-12-20 16:09:48 +03:00
Nikolai Kochetov
93c58b8554
Update 02131_mv_many_chunks_bug.sql 2021-12-20 15:58:55 +03:00
alesapin
5958cac72c
Merge pull request #32493 from azat/fix-02050_client_profile_events
Fix 02050_client_profile_events flakiness
2021-12-20 15:02:02 +03:00
Maksim Kita
20e4ce3314 Short circuit evaluation function throwIf support 2021-12-20 14:49:05 +03:00
Maksim Kita
51826c14a0 Dictionaries added Date32 type support 2021-12-20 13:39:07 +03:00
凌涛
0efc01be05 add test 2021-12-20 13:53:08 +08:00
kssenii
965e2bfb21 Fix 2021-12-20 08:43:07 +03:00
alexey-milovidov
b24d57db1c
Merge pull request #32954 from den-crane/test/base64encode_trailing_bytes1
test for base64encode_trailing_bytes #31797
2021-12-20 04:42:56 +03:00
Denny Crane
393e99e899
Update 02113_base64encode_trailing_bytes_1.sql 2021-12-19 18:48:12 -04:00
Azat Khuzhin
2461cc5f93 tests: add thread_id into 02050_client_profile_events 2021-12-19 23:43:05 +03:00
Azat Khuzhin
b7f18e2333 tests: add more information for 02050_client_profile_events in case of failure
Sometimes [1] the test fails like this:

    2021-12-10 03:41:19 --- /usr/share/clickhouse-test/queries/0_stateless/02050_client_profile_events.reference	2021-12-10 03:23:43.000000000 -0500
    2021-12-10 03:41:19 +++ /tmp/clickhouse-test/0_stateless/02050_client_profile_events.617.stdout	2021-12-10 03:41:19.509611205 -0500
    2021-12-10 03:41:19 @@ -1,4 +1,3 @@
    2021-12-10 03:41:19  0
    2021-12-10 03:41:19 -SelectedRows: 131010 (increment)
    2021-12-10 03:41:19  OK
    2021-12-10 03:41:19  OK
    2021-12-10 03:41:19
    2021-12-10 03:41:19
    2021-12-10 03:41:19 Database: test_73d5o0

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/32493/703213a6444f8014e3324df4b6e44d03fa351294/stateless_tests_flaky_check__address__actions_.html

And I did not find anything strange in server logs (and there was 0
exceptions).
2021-12-19 23:43:05 +03:00
Azat Khuzhin
a34c3511af tests: fix 02050_client_profile_events flakiness
CI: https://s3.amazonaws.com/clickhouse-test-reports/32303/24751e7d45d94541be854c86ce46d65c2e0f66da/stateless_tests__thread__actions_.html
2021-12-19 23:43:05 +03:00
Denny Crane
77c2180394 test for _base64encode_trailing_bytes #31797 2021-12-19 16:04:39 -04:00
Alexey Milovidov
c61885488d Return more tests 2021-12-19 12:46:19 +03:00
Alexey Milovidov
0d6e8e90eb Proper fix for #30245 2021-12-19 12:44:42 +03:00
Alexey Milovidov
0db88e3700 Add a test 2021-12-19 12:11:23 +03:00
alexey-milovidov
cee850b3be
Revert "fix replaceRegexpAll bug" 2021-12-19 11:32:34 +03:00
Vladimir C
778cd76987
Merge pull request #32914 from vdimir/issue_32487 2021-12-18 10:18:51 +03:00
alexey-milovidov
f5b6502dff
Merge pull request #32923 from azat/fasttest-jemalloc-replxx
[RFC] Add replxx/jemalloc into fasttest build of clickhouse
2021-12-18 07:42:55 +03:00
Azat Khuzhin
cb394c95d0 Enable tests that requires completion in fasttest 2021-12-17 22:14:37 +03:00
Kseniia Sumarokova
f872fd185c
Merge pull request #32908 from ClickHouse/kssenii-patch-2
Update 01069_window_view_proc_tumble_watch.py
2021-12-17 21:55:47 +03:00
alexey-milovidov
6b97af4c63
Merge pull request #26869 from taylor12805/grouping-sets-dev
Grouping sets dev
2021-12-17 20:50:15 +03:00
Nikolai Kochetov
ffdcf52a9e
Merge pull request #32858 from ClickHouse/fix-has-column-in-table-subquery-2
Always apply const-condition-if optimization.
2021-12-17 20:39:30 +03:00
Kseniia Sumarokova
efe1478ffe
Update 01069_window_view_proc_tumble_watch.py 2021-12-17 19:12:12 +03:00
Harry-Lee
ef36befd78 Issue 135: Fix null pointer dereference 2021-12-17 10:56:19 -05:00
vdimir
5c487b3bdc
Fix types for topKWeightedState 2021-12-17 17:54:12 +03:00
Nikolai Kochetov
20b88d9b4c Always apply const if optimixation. 2021-12-17 15:31:30 +03:00
alesapin
6bd7e425c6
Merge pull request #22535 from CurtizJ/sparse-serialization
Sparse serialization and ColumnSparse
2021-12-17 15:26:17 +03:00
Kseniia Sumarokova
d465ed0526
Update 01069_window_view_proc_tumble_watch.py 2021-12-17 14:19:54 +03:00
mergify[bot]
785d16d733
Merge branch 'master' into kill_scalar_github 2021-12-17 10:21:54 +00:00
Kseniia Sumarokova
77b3ebe44e
Merge pull request #32734 from kssenii/mysql-fix-timeouts
Allow to control connection timeouts for mysql
2021-12-17 10:13:33 +03:00
alexey-milovidov
7dbdcf91bf
Merge pull request #32814 from ClickHouse/fix_skipped_mutations
Fix skipping of some mutations
2021-12-17 08:53:36 +03:00
Denny Crane
f515f8d988 test for summap_nullable 0 2021-12-16 21:33:11 +00:00
alexey-milovidov
ccd4d2fe3a
Merge pull request #32492 from azat/fix-01675_distributed_bytes_to_delay_insert
Make 01675_distributed_bytes_to_delay_insert less flaky (use http over client)
2021-12-17 00:20:42 +03:00
alexey-milovidov
6cb54b4092
Merge pull request #31965 from azat/connection-drain-pull
Add ability to drain connections synchronously
2021-12-16 23:40:31 +03:00
Nikolai Kochetov
e28bcbfcea Fix MV query with multiple chunk result. 2021-12-16 21:17:05 +03:00
Nikolai Kochetov
4799f07922
Merge branch 'master' into fix-has-column-in-table-subquery-2 2021-12-16 19:02:58 +03:00
Nikolai Kochetov
1b8ed6276a Allow string for constant if consition optmization. 2021-12-16 19:00:59 +03:00
mergify[bot]
4722bc6649
Merge branch 'master' into fix_skipped_mutations 2021-12-16 13:25:00 +00:00
Vladimir C
2f2d98d8be
Merge pull request #32811 from Algunenano/materialized_view_scalar_subqueries 2021-12-16 13:35:22 +03:00
Maksim Kita
33374f8b0a
Merge pull request #31062 from Enmk/Governance/view_comment
Views with comment
2021-12-16 12:27:12 +03:00
Alexey Milovidov
c148718e73 Fix fast test 2021-12-16 07:47:50 +03:00
Alexey Milovidov
e4cab544ab Fix fast test 2021-12-16 07:46:23 +03:00
alexey-milovidov
6083869b5d
Merge pull request #32669 from Algunenano/wip_mv_into_join
Fix LOGICAL_ERROR when the target of a materialized view is a JOIN or a SET table
2021-12-16 02:01:31 +03:00
alexey-milovidov
c7a5fb7582
Merge pull request #32507 from DMokhnatkin/apache-arrow-fix
The proper handler for apache arrow column duplication
2021-12-16 01:55:13 +03:00
alexey-milovidov
d112b30d78
Merge pull request #32291 from cmsxbc/fix-multiply-row-policies-on-same-column
Fix broken select query with multiply row policies on same column
2021-12-16 01:52:12 +03:00
alexey-milovidov
5293555d4d
Merge pull request #31797 from aiven/kmichel-fix-base64encode-too-fast
Fix base64Encode adding trailing bytes on small strings
2021-12-16 01:35:22 +03:00
mergify[bot]
41ae7c8eb1
Merge branch 'master' into fix_IP_conversion 2021-12-15 19:19:47 +00:00
Alexander Tokmakov
1b02136941 fix skipping of some mutations 2021-12-15 21:19:29 +03:00
Raúl Marín
f367634271 Do not use scalar cache when processing MV blocks 2021-12-15 17:25:30 +01:00
vdimir
2c46ede8bb
Add test arrow_duplicate_columns 2021-12-15 18:30:32 +03:00
Maksim Kita
655cc20525
Merge pull request #32758 from kitaisreal/sql-user-defined-functions-support-subqueries
SQLUserDefinedFunctions support subqueries
2021-12-15 15:57:20 +03:00
Anton Popov
ec46cbef20
Merge pull request #32756 from CurtizJ/fix-index-hypothesis
Fix race in skipping index of type `hypothesis`
2021-12-15 15:26:35 +03:00
Raúl Marín
3de002c7c9 Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-15 12:57:57 +01:00
Maksim Kita
8759636afe
Merge pull request #32776 from ClickHouse/add-test-3
Add a test for CAST to named tuple just in case.
2021-12-15 13:21:37 +03:00
Raúl Marín
cd465ca0a0 Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-15 10:55:23 +01:00
Kseniia Sumarokova
5f02cfa595
Update 01293_show_settings.reference 2021-12-15 12:51:48 +03:00
mergify[bot]
bff0424139
Merge branch 'master' into kill_scalar_github 2021-12-15 09:22:58 +00:00
Kseniia Sumarokova
e5c538f157
Merge pull request #32771 from kssenii/add-test-26912
Add test for issue 26912
2021-12-15 10:09:31 +03:00
alexey-milovidov
de66f669b6
Merge pull request #32755 from cmsxbc/fix-fuzzbits-with-multiply-same-fixedstring
fix crash fuzzbits with multiply same fixedstring
2021-12-15 03:58:59 +03:00
mergify[bot]
003aeda627
Merge branch 'master' into fix-multiply-row-policies-on-same-column 2021-12-15 00:05:49 +00:00
Alexey Milovidov
a79b951f23 Add a test 2021-12-15 00:24:16 +03:00
kssenii
1a6fb11679 Add test 2021-12-14 23:36:54 +03:00
mergify[bot]
4300f77532
Merge branch 'master' into fix_IP_conversion 2021-12-14 20:12:34 +00:00
Anton Popov
2e388a72da
Merge pull request #32742 from nautaa/flush_in_memory_part
flush all InMemoryDataParts when wal is not enabled
2021-12-14 23:09:10 +03:00
Kseniia Sumarokova
bf415378be
Merge pull request #32607 from Vxider/watch-events-supports
Events clause support for Window View watch query
2021-12-14 23:08:24 +03:00
tavplubix
2cf5456423
Merge pull request #32511 from ClickHouse/fix_attaching_gdb2
Try to fix attaching gdb 2
2021-12-14 21:10:00 +03:00
mergify[bot]
c915b26a17
Merge branch 'master' into fix-multiply-row-policies-on-same-column 2021-12-14 16:21:35 +00:00
Anton Popov
16312e7e4a Merge remote-tracking branch 'upstream/master' into HEAD 2021-12-14 18:58:17 +03:00
Maksim Kita
c4bc72672e SQLUserDefinedFunctions support subqueries 2021-12-14 18:46:21 +03:00
Anton Popov
84d6715e3d fix race in skipping index of type hypothesis 2021-12-14 18:28:55 +03:00
cmsxbc
0b4a9ebce0
fix fuzzbits with multiply same fixedstring 2021-12-14 23:26:18 +08:00
Raúl Marín
44f3b1c9d2 Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-14 13:05:01 +01:00
Vasily Nemkov
4223553508
Fixed test 2021-12-14 14:57:13 +03:00
mergify[bot]
60a864f91c
Merge branch 'master' into flush_in_memory_part 2021-12-14 11:14:21 +00:00
Anton Popov
bda0cc2f76
Merge pull request #32530 from Avogar/fix-async-inserts
Fix async inserts for some input formats
2021-12-14 14:07:05 +03:00
Anton Popov
bbb981655d
Merge pull request #32695 from CurtizJ/fix-add-ttl
Fix `MATERIALIZE TTL` with `TTL WHERE` and `TTL GROUP BY`
2021-12-14 14:01:15 +03:00
nautaa
0da3881ff4 flush all InMemoryDataParts when wal is not enabled 2021-12-14 16:31:17 +08:00
kssenii
5c7b2b0aaf Update test 2021-12-14 07:59:47 +00:00
Azat Khuzhin
03dbbaca3e Disable 02127_connection_drain to run in parallel 2021-12-14 10:18:57 +03:00
Azat Khuzhin
33ffd343f3 Add ability to drain connections synchronously
This is mostly for testing, to avoid hiding errors.
2021-12-14 10:18:57 +03:00
mergify[bot]
a5599d9fe2
Merge branch 'master' into watch-events-supports 2021-12-14 06:15:58 +00:00
mergify[bot]
96f6915233
Merge branch 'master' into wip_mv_into_join 2021-12-14 01:31:47 +00:00
Kseniia Sumarokova
dadaeabda7
Merge pull request #32670 from CurtizJ/fix-reading-in-order
Fix reading in order of sorting key from `Distributed` and `Merge` tables
2021-12-14 00:42:48 +03:00
Kseniia Sumarokova
9eb2a4fe90
Merge pull request #32643 from nautaa/genarateRandom
support Date32 for genarateRandom engine
2021-12-13 20:38:41 +03:00
alexey-milovidov
fd9d40925a
Merge pull request #32640 from ClickHouse/fix-function-file
Fix surprisingly bad code in function `file`
2021-12-13 19:34:36 +03:00
Vxider
24b7b7b60c fix test 2021-12-13 16:26:01 +00:00
Raúl Marín
1a0e0dba3f Adapt parquet reference 2021-12-13 16:49:22 +01:00
Vxider
1f93d81259 update test 2021-12-13 15:47:37 +00:00
Anton Popov
0b68980977 fix MATERIALIZE TTL with WHERE and GROUP BY 2021-12-13 17:21:05 +03:00
Anton Popov
2f620fb6ac Merge branch 'test/issue_28280' of git://github.com/den-crane/ClickHouse into fix-add-ttl 2021-12-13 16:59:49 +03:00
Kruglov Pavel
52328f6abc
Merge pull request #32490 from ClickHouse/quote-more-identifiers
Fix issue with ambiguous query formatting in distributed queries.
2021-12-13 16:41:01 +03:00
Raúl Marín
589b5a1fdc Merge remote-tracking branch 'blessed/master' into wip_mv_into_join 2021-12-13 14:05:46 +01:00
Anton Popov
745fd4fc16 fix reading in order from Distributed and Merge tables 2021-12-13 15:35:25 +03:00
Anton Popov
a241103714
Merge pull request #32359 from CurtizJ/fix-non-materialized-skip-index
Fix usage of non-materialized skip indexes
2021-12-13 14:43:58 +03:00
mergify[bot]
fa8f9671f4
Merge branch 'master' into fix-async-inserts 2021-12-13 11:13:20 +00:00
Raúl Marín
b25cfa0b4d InterpreterInsertQuery::buildChain: Make sure to keep the context alive 2021-12-13 11:50:46 +01:00
mergify[bot]
77be64f1f4
Merge branch 'master' into genarateRandom 2021-12-13 09:18:52 +00:00
Nikolai Kochetov
22e6fc1685
Merge pull request #32067 from amosbird/projection-fix23
Fix detaching parts with projections
2021-12-13 12:00:17 +03:00
nautaa
7cb3d24847 support Date32 for genarateRandom engine 2021-12-13 15:52:12 +08:00
mergify[bot]
47b18c959f
Merge branch 'master' into fix-non-materialized-skip-index 2021-12-13 07:03:02 +00:00
Alexey Milovidov
b5f175252d Add more tests 2021-12-13 08:52:10 +03:00
Alexey Milovidov
c188fc3244 Update test 2021-12-13 08:35:40 +03:00
Vxider
02ed0e46d6 update test 2021-12-13 04:20:39 +00:00
Vxider
caad9f6c79 small update 2021-12-12 17:30:44 +00:00
Vxider
6e23e9f5ca Ping CI 2021-12-12 15:37:56 +00:00
Vxider
3f6fc6ce08 add window view watch events test 2021-12-12 11:46:40 +00:00
cmsxbc
8f9b6710df remove useless multiply restrictive row policies test 2021-12-12 09:54:07 +00:00
cmsxbc
fab1e53489 fix tests for multiply row policies on same column 2021-12-12 09:54:07 +00:00
cmsxbc
e4b405716f fix multiply row policies on same column 2021-12-12 09:54:07 +00:00
alexey-milovidov
b202bfac52
Merge pull request #32588 from ClickHouse/fix-bad-test-3
Fix bad test #32571
2021-12-12 12:13:36 +03:00
alexey-milovidov
26d606c158
Merge pull request #32456 from ClickHouse/fix-29890
Fix arraySlice with null args.
2021-12-12 06:38:17 +03:00
alexey-milovidov
71df622b1f
Merge pull request #31888 from ClickHouse/fix-31114
Remove LowCardinality from window function args.
2021-12-12 06:37:55 +03:00
alexey-milovidov
151834d743
Merge pull request #32417 from azat/local-atomic-db-fix
clickhouse-local: fix CREATE DATABASE with Atomic engine
2021-12-12 04:33:59 +03:00
alexey-milovidov
33674cbe58
Merge pull request #32535 from azat/avg-ubsan
Suppress UBSan errors for avg() function
2021-12-12 04:32:44 +03:00
alexey-milovidov
b8a15b666d
Merge pull request #32571 from azat/mv-non-phys-table
Fix LOGICAL_ERROR for MATERIALIZED VIEW over table functions (i.e. numbers())
2021-12-12 03:55:51 +03:00
Alexey Milovidov
e58e69923c Fix bad test 2021-12-12 03:55:23 +03:00
Alexey Milovidov
d25b8f4147 Update tests 2021-12-12 03:45:21 +03:00
Alexey Milovidov
58ffe89643 Merge branch 'master' into quote-more-identifiers 2021-12-12 03:33:20 +03:00
Kseniia Sumarokova
3084d5eac0
Merge pull request #32503 from Vxider/fix-flaky-window-view-tests
Fix flaky window view tests
2021-12-11 17:11:26 +03:00
Vitaly Baranov
abe9dd3368
Merge pull request #32531 from vitlibar/fix-nested-array-sizes-for-missing-columns
Improve handling nested structures with missing columns while reading protobuf
2021-12-11 11:08:34 +03:00
Azat Khuzhin
ca9c5dc4eb Fix LOGICAL_ERROR for MATERIALIZED VIEW over table functions (i.e. numbers())
Replace LOGICAL_ERROR with QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW
in this case.
2021-12-11 11:04:47 +03:00
Kseniia Sumarokova
9ede6beca7
Merge pull request #32534 from azat/local-file-table-fix
Fix processing initial table (--table/stdin) in clickhouse-local
2021-12-11 10:45:19 +03:00
Vxider
add1e8302e Ping CI 2021-12-11 04:39:13 +00:00
mergify[bot]
f4bcd87382
Merge branch 'master' into fix-flaky-window-view-tests 2021-12-11 02:13:24 +00:00
alexey-milovidov
c90e588e24
Merge pull request #32506 from ClickHouse/fix-has-column-in-table-subquery
Fix queries with hasColumnInTable constant condition and non existing column
2021-12-11 02:50:06 +03:00
alexey-milovidov
17e5f5ccfe
Merge pull request #32508 from vdimir/issue_32458
Handle const column in JoinCommon::removeColumnNullability
2021-12-11 01:21:10 +03:00
Anton Popov
37837f3881
Merge pull request #32453 from kssenii/disable-optimizations-for-window-functions
Disable some optimizations for window functions
2021-12-11 00:37:24 +03:00
Alexander Tokmakov
dfa31a6577 fix 2021-12-10 22:38:34 +03:00
Azat Khuzhin
837ff82312 Suppress UBSan errors for avg() function
CI: https://s3.amazonaws.com/clickhouse-test-reports/0/dd2ccd3b17e7c59ed9c8184f00f8dae85ee87d1f/fuzzer_astfuzzerubsan,actions//report.html
2021-12-10 22:23:39 +03:00
Azat Khuzhin
fa6090f588 Fix processing initial table (--table/stdin) in clickhouse-local
This patch will:
- fix the issue when table had been tried to create multiple times for
  --queries-files
- create these table for --interactive mode (before it works only if you
  had some queries already, i.e. when it run interactive after
  non-interactive)

This will also make ClientBase interface a little bit cleaner, by
removing one abstract method getQueryTextPrefix()
2021-12-10 22:08:03 +03:00
Azat Khuzhin
b1bc5c37c9 tests: split sum_ubsan into avg_ubsan 2021-12-10 21:51:43 +03:00
Azat Khuzhin
9aeaa339c6 Make 01675_distributed_bytes_to_delay_insert less flaky (use http over client)
client is too heavy in debug builds, switching to http reduces test time
from 22s to 9s overall.

And also drop `_long` suffix form file name, since `clickhouse-test`
support `Tags` in tests.

CI: https://s3.amazonaws.com/clickhouse-test-reports/32303/24751e7d45d94541be854c86ce46d65c2e0f66da/stateless_tests__debug__actions_.html

v2: relax pattern
2021-12-10 21:43:45 +03:00
Vitaly Baranov
73092942ea Take into account nested structures while filling missing columns while reading protobuf. 2021-12-10 21:11:06 +03:00
vxider
8e3529818e update window view tests 2021-12-10 18:01:54 +00:00
avogar
1be84d80d4 Fix async inserts for some input formats 2021-12-10 20:54:08 +03:00
Vxider
9b88794d82 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix-flaky-window-view-tests 2021-12-10 23:16:56 +08:00
kssenii
3e28581ea4 Extend test 2021-12-10 18:09:02 +03:00
alesapin
751b2f3a7c
Merge pull request #32479 from Algunenano/01950_increase_timeout
01950_kill_large_group_by_query: Increase timeout
2021-12-10 16:38:36 +03:00
tavplubix
9867d75fec
Merge pull request #32464 from ClickHouse/fix-31538
Fix crash in case of MATERIALIZE COLUMN with no default expression.
2021-12-10 16:27:53 +03:00
vdimir
ed4ea6fe3a
Handle const column in JoinCommon::removeColumnNullability 2021-12-10 15:57:36 +03:00
Nikolai Kochetov
7bf5c83561 Fix queries with hasColumnInTable constant condition and non existing column. 2021-12-10 15:45:04 +03:00
Mikhail f. Shiryaev
6cfb117732
Merge pull request #32421 from ClickHouse/test-16171
Add a test #16171
2021-12-10 13:23:29 +01:00
alexey-milovidov
13a3f85ece
Merge pull request #32497 from amosbird/replxxtest1
Add test for clickhouse-client history navigation
2021-12-10 15:11:04 +03:00
vxider
9aa98d7b99 fix flaky window view tests 2021-12-10 11:09:04 +00:00
tavplubix
79b1fdfee5 disable flaky tests 2021-12-10 13:14:45 +03:00
Amos Bird
7638ce558f
Add test 2021-12-10 17:18:21 +08:00
Raúl Marín
6487201bea Adapt 01504_rocksdb 2021-12-09 23:40:03 +01:00
Alexey Milovidov
f1f66b7862 Add a test 2021-12-10 01:00:56 +03:00
Raúl Marín
10ce56c8b5 Avoid flakyness due to print order 2021-12-09 19:55:38 +01:00
Raúl Marín
ebdcf7e38e 01950_kill_large_group_by_query: Increase timeout 2021-12-09 19:26:29 +01:00
Raúl Marín
c155de5819 02122_parallel_formatting: Address grep binary warnings 2021-12-09 19:00:08 +01:00
Raúl Marín
10f18b8d7b Adapt tests to count properly 2021-12-09 18:15:11 +01:00
Raúl Marín
3fc4167c54 Rework how progress is reported in views 2021-12-09 17:08:29 +01:00
Nikolai Kochetov
e41974fabf
Merge branch 'master' into fix-31538 2021-12-09 19:00:22 +03:00
Nikolai Kochetov
272c0bb35a Fix crash in case of MATERIALIZE COLUMN with no default expression. 2021-12-09 18:58:28 +03:00
Kruglov Pavel
ef42cd6821
Merge pull request #32138 from Avogar/fix-apply-lambda
Fix 'APPLY lambda' parsing
2021-12-09 17:09:11 +03:00
Nikolai Kochetov
b3bd9e6a37 Fix arraySlice with null args. 2021-12-09 16:31:13 +03:00
Kseniia Sumarokova
2091008c15
Merge pull request #32324 from Vxider/rename-window-functions
Rename window functions in WindowView
2021-12-09 16:19:21 +03:00
kssenii
0bf7330ddc Update test 2021-12-09 15:40:14 +03:00
kssenii
40c9ffdfff Disable 2021-12-09 14:15:23 +03:00
Nikita Mikhaylov
dbf5091016
Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
Raúl Marín
180055b577 Test that scalar queries can be killed 2021-12-09 10:02:32 +01:00
mergify[bot]
b11a1ded8d
Merge branch 'master' into rename-window-functions 2021-12-09 08:10:41 +00:00
Alexey Milovidov
e52851d0ed Add a test #16171 2021-12-09 01:15:35 +03:00
Kruglov Pavel
fc382afacb Update test 2021-12-08 21:29:50 +03:00
avogar
417bd12629 Fix 'APPLY lambda' parsing 2021-12-08 21:29:50 +03:00
Azat Khuzhin
5fad4f6204 clickhouse-local: fix CREATE DATABASE with Atomic engine
Before it fails to create due to "metadata" directory had not been
created, since metadata_path is different for Atomic database, see
InterpreterCreateQuery.cpp.
2021-12-08 21:23:00 +03:00
Anton Popov
d8367334a3 Merge remote-tracking branch 'upstream/master' into HEAD 2021-12-08 18:26:19 +03:00
Mikhail f. Shiryaev
03927f5fc6
Revert "graphite: split tagged/plain rollup rules (for merges perfomance)"
This reverts commit 303552f515.
2021-12-08 15:49:21 +01:00
Nikita Mikhaylov
9a6a1379fd
Merge pull request #32358 from nikitamikhaylov/mutation-livelock
Fixed empty mutations livelock
2021-12-08 15:43:19 +03:00
Anton Popov
ef58a43c4f better test 2021-12-08 15:36:19 +03:00
Nikolai Kochetov
4e6bf2456c
Merge pull request #32327 from ClickHouse/revert-32326-revert-32122-add-test-with-many-mutations
Revert "Revert "Add a test with 20000 mutations in one query""
2021-12-08 14:23:39 +03:00
Nikolai Kochetov
07b2d69ea2 Another try. 2021-12-08 14:22:43 +03:00
Kruglov Pavel
e0a8c5a4ac
Merge pull request #32348 from CurtizJ/fix-materialize-column
Add cast to `MATERIALIZE COLUMN`
2021-12-08 11:13:17 +03:00
mergify[bot]
ed0c36bf32
Merge branch 'master' into rename-window-functions 2021-12-07 21:04:53 +00:00
Nikolai Kochetov
2c6cb902c4 Revert "Better fix."
This reverts commit f07fc08a49.
2021-12-07 20:54:49 +03:00
Anton Popov
dd7387729b fix usage of non-materialized skip indexes 2021-12-07 20:21:27 +03:00
Nikita Mikhaylov
76f91c2c6c Done 2021-12-07 16:50:57 +00:00
Anton Popov
ef7ae7cb75 fix MATERIALIZE COLUMN in case when data type of expression is not equal to data type of column 2021-12-07 16:45:30 +03:00
Nikolai Kochetov
877716b2b0
Update 02125_many_mutations.sh 2021-12-07 15:46:19 +03:00
tavplubix
6c16348faa
Fix division by zero in avgWeighted with Decimal argument (#32303)
* fix division by zero

* Update src/AggregateFunctions/AggregateFunctionAvg.h

Co-authored-by: Dmitry Novik <n0vik@clickhouse.com>

* remove trash

* Update AggregateFunctionAvg.h

Co-authored-by: Dmitry Novik <n0vik@clickhouse.com>
2021-12-07 13:32:26 +03:00
Nikolai Kochetov
deb6a06ce4
Update 02125_many_mutations.sh 2021-12-07 12:18:26 +03:00
Mikhail f. Shiryaev
5fc20b3e6a
Merge pull request #25122 from msaf1980/rollup_rules_type
GraphiteMergeTree Rollup rules type
2021-12-07 10:18:08 +01:00
Nikolai Kochetov
5717458f0c
Revert "Revert "Add a test with 20000 mutations in one query"" 2021-12-07 12:12:41 +03:00
Nikolai Kochetov
9b9d524359
Revert "Add a test with 20000 mutations in one query" 2021-12-07 12:12:20 +03:00
vxider
c4c517bb8a rename window functions 2021-12-07 08:14:00 +00:00
dongyifeng
9df664e1c9
fix bug when remove unneeded columns in subquery (#32289) 2021-12-07 11:09:39 +03:00
Kseniia Sumarokova
e2cf5c6075
Merge pull request #32232 from Vxider/fix-window-view-parser
Fix window view parser
2021-12-06 23:33:43 +03:00
Nikolai Kochetov
ca5b6ce654
Merge pull request #32122 from ClickHouse/add-test-with-many-mutations
Add a test with 20000 mutations in one query
2021-12-06 22:09:26 +03:00
Nikolai Kochetov
f07fc08a49 Better fix. 2021-12-06 22:08:32 +03:00
Nikolai Kochetov
ce568bff90 Merge branch 'master' into fix-31114 2021-12-06 19:47:13 +03:00
msaf1980
303552f515
graphite: split tagged/plain rollup rules (for merges perfomance) 2021-12-06 16:49:08 +01:00
vxider
ee8a160790 enable window view tests 2021-12-06 14:26:39 +00:00
vxider
2f4f2d9d5e Merge branch 'master' of https://github.com/ClickHouse/ClickHouse 2021-12-06 14:06:00 +00:00