Commit Graph

8919 Commits

Author SHA1 Message Date
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
Alexey Milovidov
f1f66b7862 Add a test 2021-12-10 01:00:56 +03: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
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
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
Kruglov Pavel
007e323515
Merge pull request #31820 from kitaisreal/fix-recursive-user-defined-functions-crash
Fix recursive user defined functions crash
2021-12-06 13:52:56 +03:00
Kruglov Pavel
64263a043a
Merge pull request #32190 from Avogar/fix-parsing-quoted-null
Fix parsing error in NaN deserialization for Quoted escaping rule.
2021-12-06 12:29:02 +03:00
Kruglov Pavel
cc71c537bc
Merge pull request #32204 from Avogar/skip-quoted-values
Improve skiping unknown fields with Quoted escaping rule in Template/CustomSeparated formats
2021-12-06 12:28:14 +03:00
alexey-milovidov
50c23a9fd6
Merge pull request #31123 from amosbird/repl-improvement
Better clickhouse-client multiline input
2021-12-06 12:22:13 +03:00
vxider
5bab484422 increase sleep time in tests 2021-12-06 08:50:10 +00:00
Nikolai Kochetov
91c4c89c66
Merge pull request #31636 from Algunenano/pull_timeout
Check max_execution_time in the pipeline and pulling executors
2021-12-06 11:33:39 +03:00
Kseniia Sumarokova
cf2c602374
Merge pull request #32257 from kssenii/disable-window-view-sqltests
Disable window view tests temporarily because still flacky
2021-12-06 11:18:40 +03:00
kssenii
2220d1784c Disable 2021-12-06 10:49:44 +03:00
Azat Khuzhin
428e34d811 Fix versioning of aggregate functions (fixes performance tests) 2021-12-05 21:45:07 +03:00
Vitaly Baranov
d709782088
Merge pull request #31988 from vitlibar/fix-skipping-columns-while-writing-protobuf
Fix skipping columns while writing protobuf
2021-12-05 18:01:11 +03:00
Denny Crane
bee41ee39a test for #28280 2021-12-04 21:15:53 -04:00
Vitaly Baranov
15e3dbe3f2 Fix skipping columns in Nested while writing protobuf. 2021-12-04 18:00:02 +03:00
vxider
c522c06755 fix windowview parser 2021-12-04 12:30:04 +00:00
Kseniia Sumarokova
ae214ffc5b
Merge pull request #32222 from kssenii/fix-remaining-window-tests
Add missing timezones to some tests
2021-12-04 12:29:06 +03:00
alexey-milovidov
d4c7f24744
Merge pull request #32203 from Algunenano/master_i32186
Add test for #32186
2021-12-04 00:54:21 +03:00
kssenii
1cc5dd7979 Fix 2021-12-03 23:36:35 +03:00
Kseniia Sumarokova
d38d2ba14f
Merge pull request #32178 from kssenii/fix-window-view-tests
Fix window view tests
2021-12-03 18:45:44 +03:00
Raúl Marín
d1f0b249d3 Fix style 2021-12-03 14:50:33 +01:00
mergify[bot]
ca59d823cf
Merge branch 'master' into fix-parsing-quoted-null 2021-12-03 13:39:27 +00:00
avogar
7549619b25 Improve skiping unknown fields with Quoted escaping rule in Template/CustomSeparated formats 2021-12-03 16:25:35 +03:00
Raúl Marín
0c1e89b043 Add test 2021-12-03 14:18:01 +01:00
kssenii
adaa32b41b Fix inner table name 2021-12-03 15:52:57 +03:00
avogar
4f136cb30c Fix NaN deserialization for Quoted escaping rule 2021-12-03 15:37:39 +03:00
kssenii
0470525ea3 Fix 2021-12-03 13:39:27 +03:00
Maksim Kita
ca2a70cd8d
Merge pull request #32080 from azat/cast-fix-ubsan
Fix CAST from Nullable with cast_keep_nullable
2021-12-03 13:05:38 +03:00
Kruglov Pavel
17d6f539b3
Merge pull request #32019 from azat/dist-desc
Fix excessive DESC TABLE for remote() over identifier
2021-12-03 12:15:05 +03:00
Maksim Kita
74979a5f01
Merge pull request #31095 from amosbird/addprojection
Function name normalization for ALTER queries
2021-12-03 12:07:07 +03:00
SuperDJY
5d7dfc6eb9
fix storage join settings with persistency (#32066) 2021-12-03 12:06:58 +03:00
Kruglov Pavel
3d047747ed
Merge pull request #32123 from Avogar/fix-tests
Change test 02117_custom_separated_with_names_and_types
2021-12-03 12:06:50 +03:00
Azat Khuzhin
344298f403 Fix CAST from Nullable with cast_keep_nullable
UBsan report [1]:

    SELECT toUInt32OrDefault(toNullable(0)) SETTINGS cast_keep_nullable = 1

    ../src/Common/assert_cast.h:50:12: runtime error: downcast of address 0x000029461170 which does not point to an object of type 'const DB::ColumnNullable'
    0x000029461170: note: object is of type 'DB::ColumnVector<unsigned int>'
     00 00 00 00  a0 51 3d 09 00 00 00 00  01 00 00 00 00 00 00 00  a0 3f 4e 29 00 00 00 00  a4 3f 4e 29
                  ^~~~~~~~~~~~~~~~~~~~~~~
                  vptr for 'DB::ColumnVector<unsigned int>'
        0 0x1e3e279d in DB::ColumnNullable const& assert_cast<DB::ColumnNullable const&, DB::IColumn const&>(DB::IColumn const&) obj-x86_64-linux-gnu/../src/Common/assert_cast.h:50:12
        1 0x1e3e279d in DB::ColumnNullable::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) obj-x86_64-linux-gnu/../src/Columns/ColumnNullable.cpp:167:43
        2 0x12db4507 in DB::FunctionCastOrDefault::executeImpl() const (/src/ch/tmp/32019/clickhouse-ubsan+0x12db4507)

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/32019/9e1222a50b1805f696f4205e451365f8acdbc8a5/fuzzer_astfuzzerubsan,actions//report.html

And w/o -fsanitize=undefined:

    SELECT toUInt32OrDefault(toNullable(1), toNullable(toUInt32(1))) SETTINGS cast_keep_nullable = 1

    Received exception:
    Code: 12. DB::Exception: Parameters start = 0, length = 1 are out of bound in ColumnVector<T>::insertRangeFrom method (data.size() = 0).: While processing toUInt32OrDefault(toNullable(1), toNullable(toUInt32(1))). (PARAMETER_OUT_OF_BOUND)
2021-12-03 02:02:42 +03:00
Anton Popov
f6be3d16fd
Merge pull request #24820 from kssenii/versioning
Versioning of aggregate function states
2021-12-03 01:41:44 +03:00
Kruglov Pavel
afd74aa166
Update 02117_custom_separated_with_names_and_types.sh 2021-12-02 18:15:50 +03:00
Raúl Marín
37572f7362 02122_join_group_by_timeout: Unify max process timeouts 2021-12-02 14:57:42 +01:00
Nikolai Kochetov
4d10762727 Remove 02116_global_in_time_limit. 2021-12-02 16:05:06 +03:00
avogar
27e6e063d0 Change test 02117_custom_separated_with_names_and_types 2021-12-02 15:06:15 +03:00
Nikolai Kochetov
6f5064e7bf Add a test with 20000 mutations in one query 2021-12-02 14:53:14 +03:00
Kruglov Pavel
049b2c0c14
Merge pull request #31072 from MaxWk/feature-support-bool-type
Feature support bool type
2021-12-02 14:50:29 +03:00
Anton Popov
a79dbb6b6a
Merge pull request #32079 from Avogar/parse-plus-in-float
Allow plus before Float32/Float64
2021-12-02 14:03:48 +03:00
Maksim Kita
9bb0663841 Fixed tests 2021-12-02 13:13:58 +03:00
Maksim Kita
a426ed0a5a
Merge pull request #31800 from kitaisreal/dict-get-with-type-nullable-fix
Function dictGet with type Nullable fix
2021-12-02 12:27:47 +03:00
mergify[bot]
0f19807b97
Merge branch 'master' into Governance/view_comment 2021-12-02 08:19:03 +00:00
kssenii
8edf146687 Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-12-02 07:57:14 +00:00
Azat Khuzhin
f74d5750eb Update 01455_opentelemetry_distributed reference 2021-12-01 22:52:20 +03:00
Azat Khuzhin
4535232f4a Fix excessive DESC TABLE for remote() over identifier
Fixes: #14228
2021-12-01 22:52:20 +03:00
Anton Popov
bb12e064af fix test 2021-12-01 21:21:38 +03:00
avogar
e2eea4f361 Allow plus before Float32/Float64 2021-12-01 21:20:00 +03:00
tavplubix
77c946d307
Merge pull request #32050 from ClickHouse/fix_test_00925
Fix flaky test 00925
2021-12-01 20:38:30 +03:00
Anton Popov
f0691e21b1 fix test 2021-12-01 18:31:19 +03:00
Amos Bird
8dbc7a8dae
Fix detaching parts with projections 2021-12-01 23:21:17 +08:00
Alexander Tokmakov
4c7fba49e1 fix test 2021-12-01 17:59:26 +03:00
Anton Popov
54f51444c0 Merge remote-tracking branch 'upstream/master' into HEAD 2021-12-01 15:49:02 +03:00
tavplubix
b623a387af
Merge pull request #31887 from ClickHouse/fix_cannot_create_empty_part
Parse partition key value from `partition_id` when need to create part in empty partition
2021-12-01 15:38:46 +03:00
Kruglov Pavel
cbfd77a394
Merge pull request #31839 from loneylee/master
Fix a bug about function transform with decimal args
2021-12-01 12:56:41 +03:00
Maksim Kita
0cba91f63d SQLUserDefinedFunctionVisitor updated exception message 2021-12-01 11:41:44 +03:00
Maksim Kita
44ff739854 Added test 2021-12-01 11:32:42 +03:00
Kseniia Sumarokova
3ab014d796
Merge pull request #31648 from michael1589/master
basic access authentication for http/https
2021-12-01 09:47:55 +03:00
alexey-milovidov
1f9b542ee9
Merge pull request #32003 from cmsxbc/support-postgresql-style-alter-modify-column
Support PostgreSQL style ALTER MODIFY COLUMN
2021-12-01 04:10:41 +03:00
Anton Popov
21c0aa4a1b
Merge pull request #31823 from amosbird/fixnullablekey
Fix invalid cast of nullable type when nullable primary key is used
2021-11-30 21:44:27 +03:00
MaxWk
02ce70f738 fix ci check 2021-12-01 00:13:11 +08:00
Kseniia Sumarokova
3c348a2998
Merge pull request #8331 from Vxider/window-view
Support for Stream Processing
2021-11-30 18:20:12 +03:00
cmsxbc
366ee3deba
Support PostgreSQL style ALTER MODIFY COLUMN 2021-11-30 21:07:14 +08:00
Anton Popov
53559523da
Merge pull request #31694 from Algunenano/speedup_avg_sumcount
Speedup avg and sumCount aggregate functions
2021-11-30 15:55:15 +03:00
michael1589
92feada9e6
Merge branch 'ClickHouse:master' into master 2021-11-30 20:48:10 +08:00
Kseniia Sumarokova
18e200b1e2
Merge pull request #31967 from ucasfl/fix-filelog
Fix FileLog engine unnesessary create meta data directory when create table failed
2021-11-30 15:38:05 +03:00
fanzhou
3bcf915541 update test reference 2021-11-30 14:58:56 +03:00
fanzhou
5526c1cc35 update test reference 2021-11-30 14:58:56 +03:00
fanzhou
b94f8878ff 1. refactor ExpressionAnalyzer
2. Update formatAST to support grouping sets query with distributed table
3. modify astExpression to support function in grouping sets
2021-11-30 14:58:55 +03:00
mergify[bot]
d729cd50b3
Merge branch 'master' into fixnullablekey 2021-11-30 11:44:35 +00:00
tavplubix
78224ef273
Merge pull request #31738 from ClickHouse/fix_segfault_on_attach_partition
Fix segfault on attach parititon
2021-11-30 14:32:50 +03:00
Kseniia Sumarokova
a515767c51
Merge pull request #31741 from kssenii/fix-positional-args-setting
Fix aliases with positional args enabled
2021-11-30 13:17:45 +03:00
michael1589
93efc75dc7
Merge branch 'ClickHouse:master' into master 2021-11-30 15:05:24 +08:00
feng lv
2c51b10ff3 add tests 2021-11-30 06:31:40 +00:00
feng lv
0efabb39cf Fix FileLog engine unnesessary create meta data directory when create table failed.
fix style
2021-11-30 04:39:55 +00:00
alexey-milovidov
bab8ea144b
Merge pull request #31866 from ClickHouse/fix-31687
Support toUInt8/toInt8 for if constant condition optimization.
2021-11-30 05:54:58 +03:00
mergify[bot]
c8533aab07
Merge branch 'master' into fix-positional-args-setting 2021-11-29 20:53:55 +00:00
Alexander Tokmakov
2cf4b51029 fix 2021-11-29 21:54:46 +03:00
Raúl Marín
a7ae715950 Merge remote-tracking branch 'blessed/master' into pull_timeout 2021-11-29 19:51:18 +01:00
Raúl Marín
f3a22166a1 Merge remote-tracking branch 'blessed/master' into speedup_avg_sumcount 2021-11-29 19:50:28 +01:00
fanzhou
43db4594ba some changes 2021-11-29 19:35:33 +03:00
fanzhou
ac6f08edf3 correct test case results 2021-11-29 18:59:15 +03:00
fanzhou
07a986fbf1 fix bug when no data in grouping sets transformer 2021-11-29 18:59:15 +03:00
fanzhou
534160b0d4 grouing sets transformer instead of fork processor in aggregating transformer 2021-11-29 18:59:15 +03:00
Kseniia Sumarokova
c7a8ad69c4
Merge pull request #31825 from azat/query_views_log-test
Cover query_views_log
2021-11-29 16:10:56 +03:00
Amos Bird
29c87b2f44
Fix nullable key 2021-11-29 20:49:01 +08:00
mergify[bot]
8d5460b469
Merge branch 'master' into feature-support-bool-type 2021-11-29 11:50:18 +00:00
Maksim Kita
05da57f7a6 Fix identity user defined function 2021-11-29 13:19:54 +03:00
MaxWk
beaa5b5596 support TRUE/FALSE for vaules 2021-11-29 18:05:15 +08:00
loneylee
496c3acd1c
Merge branch 'ClickHouse:master' into master 2021-11-29 15:15:23 +08:00
loneylee
fb159c0227 fix pr's bug @31839 2021-11-29 15:14:27 +08:00
michael1589
b54caf9d32 delete old test files 2021-11-29 14:19:29 +08:00
michael1589
082105faa9 for test url auth 2021-11-28 21:22:23 +08:00
Alexey Milovidov
e865b49293 Merge branch 'master' into fix-decrypt-nullable 2021-11-28 06:12:06 +03:00
vxider
14ba0ef1bf update tests 2021-11-27 18:11:52 +00:00
michael1589
26a117c4c1 add test file for url basic auth 2021-11-27 23:54:33 +08:00
michael1589
dbfe637f7b
Merge branch 'ClickHouse:master' into master 2021-11-27 23:30:25 +08:00
Anton Popov
120cb79bac
Merge pull request #31826 from CurtizJ/fix-uncompressed-cache
Fix reading with uncompressed cache
2021-11-27 17:36:52 +03:00
Alexander Tokmakov
2fb00172a9 try parse partition key value from partition_id 2021-11-27 15:07:08 +03:00
kssenii
be3b4ca8fe Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-27 09:44:31 +00:00
vxider
eef0a93b31 fix test 2021-11-27 06:36:42 +00:00
vxider
cfddc7ec55 fix test 2021-11-27 01:28:39 +00:00
alexey-milovidov
9a61bc64f7
Merge pull request #31889 from ClickHouse/try-fix-flacky-test
Try to fix flacky test.
2021-11-27 03:24:32 +03:00
alexey-milovidov
d9292395e8
Merge pull request #31832 from ClickHouse/strange-code-typelist
Fix the issue that LowCardinality of Int256 cannot be created.
2021-11-27 00:36:56 +03:00
alexey-milovidov
75ac0f72bc
Merge pull request #31883 from CurtizJ/fix-empty-uuid
Fix function `empty` with `UUID` type
2021-11-27 00:23:47 +03:00
MaxTheHuman
d425cbe588 make grouping sets work with total 2021-11-26 23:26:13 +03:00
MaxTheHuman
9953e1bc0a grouping sets: add tests, fix bug 2021-11-26 23:09:23 +03:00
Vxider
71d9d80275 timezone support for Tumble/Hop Start/End 2021-11-26 18:03:41 +00:00
Nikolai Kochetov
e6515c2a4a Try to fix flacky test. 2021-11-26 18:03:14 +03:00
Nikolai Kochetov
05c6f065c1 remove LowCardinality from window function args. 2021-11-26 17:57:48 +03:00
Anton Popov
7237343fd6 fix function 'empty' with uuid type 2021-11-26 17:39:29 +03:00
Nikolai Kochetov
185c20cf88 Support toUInt8/toInt8 for if constant condition optimization. 2021-11-26 15:38:32 +03:00
Kruglov Pavel
af998af710
Merge pull request #31489 from Avogar/parallel-formatting
Support parallel formatting almost for all text formats
2021-11-26 15:21:22 +03:00
kssenii
56bcfc2877 Fix some tests 2021-11-26 14:11:27 +03:00
tavplubix
b68f0df8b4
Merge pull request #31849 from ClickHouse/tavplubix-patch-5
Update 01155_rename_move_materialized_view.sql
2021-11-26 14:09:56 +03:00
Raúl Marín
be60759e68 Merge remote-tracking branch 'blessed/master' into pull_timeout 2021-11-26 11:37:19 +01:00
alesapin
6c5746a067
Merge pull request #31850 from ClickHouse/fix-style
Fix style.
2021-11-26 12:54:46 +03:00
Kruglov Pavel
efe26ddefa
Merge pull request #31804 from Avogar/fix-tskv
Fix possible Assertion '!hasPendingData()' failed in TSKV format
2021-11-26 12:30:45 +03:00
Vladimir C
41c9067f48
Merge pull request #31706 from yandd/master 2021-11-26 12:29:09 +03:00
Nikolai Kochetov
573e3b3888 Fix style. 2021-11-26 12:05:36 +03:00
tavplubix
87c7786011
Update 01155_rename_move_materialized_view.sql 2021-11-26 11:55:45 +03:00
Vladimir Chebotarev
fae71279e7
Windowed time decay functions (#29799) 2021-11-26 11:29:26 +03:00
Kseniia Sumarokova
c786c0a52a
Merge pull request #31749 from kssenii/clickhouse-dictionary-conf
ClickHouse dictionary source support named collections
2021-11-26 10:55:03 +03:00
Nikolai Kochetov
bda8cb6b7e
Merge pull request #31805 from ClickHouse/fix-31349
Check time limit sending data for global in.
2021-11-26 10:41:13 +03:00
loneylee
56307bb2fa issue #29730 2021-11-26 10:05:31 +08:00
Azat Khuzhin
1c7aaa5fbe Cover query_views_log 2021-11-26 01:13:55 +03:00
kssenii
223048d395 Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view 2021-11-26 01:06:06 +03:00
kssenii
c28acefaa7 Add timezones to tests 2021-11-26 01:01:19 +03:00
Alexey Milovidov
6bf2a986c2 Add a test 2021-11-25 23:56:29 +03:00
Anton Popov
c3f076fd84 fix reading with uncompressed cache 2021-11-25 21:20:03 +03:00
Maksim Kita
df3ac768db Fix recursive user defined functions crash 2021-11-25 19:03:56 +03:00
alesapin
8a418aee9b More lightweight tests 2021-11-25 18:58:39 +03:00
Nikolai Kochetov
8a92202c55 Chack time limit sending data for global in. 2021-11-25 18:41:50 +03:00
alesapin
6a76b6fbae Remove redundant zero 2021-11-25 18:33:06 +03:00
alesapin
3929f00fd1 Remove very long test 2021-11-25 18:28:43 +03:00
alesapin
daf0636e4e Less checks 2021-11-25 18:25:46 +03:00
alesapin
2cda01b8e5 Less iterations 2021-11-25 18:24:12 +03:00
alesapin
4e0deef015 Shorter sql fuzzy 2021-11-25 18:09:43 +03:00
alesapin
9e261e6d39 Disable 00534 in debug build 2021-11-25 18:08:32 +03:00
avogar
aa2da98844 Add test 2021-11-25 18:06:46 +03:00
Kevin Michel
f05aaa4651
Add test case for base64Encode returning corrupted data
Sometimes, base64Encode returns data that belongs to the next string
in the buffer. This test, when failing, shows something like that:

    -SELECT * FROM tabl_1 SETTINGS log_comment = ?;
    -SELECT * FROM tabl_2 SETTINGS log_comment = ?;
    +SELECT * FROM tabl_1 SETTINGS log_comment = ?;\0S
    +SELECT * FROM tabl_2 SETTINGS log_comment = ?;\0c

 Where the S at the end of the first string is the first S of the next
 string in the buffer.

 I don't know exactly why, but reading from query_log is how I manage
 to reliably trigger the bug. The same code on literals, or even on
 a different table, did not trigger the bug, something related to
 alignment maybe.
2021-11-25 15:24:10 +01:00
Raúl Marín
b398a7bab6 Avg: Use countBytesInFilter 2021-11-25 13:50:04 +01:00
Kruglov Pavel
f28130193a
Merge branch 'master' into fix-whole-text-serialization 2021-11-25 14:00:20 +03:00
Kruglov Pavel
5d1520be72
Merge pull request #31736 from Avogar/fix-json-with-progress
Fix race in JSONEachRowWithProgress output format
2021-11-25 13:58:41 +03:00
Alexander Tokmakov
1ab8b5d4df fix segfault on attach parititon 2021-11-25 13:04:39 +03:00
alesapin
fe7f21acf9
Merge pull request #31697 from ClickHouse/fix_31686
Fix parsing of domain data types
2021-11-25 11:31:41 +03:00
alesapin
072b4a3ba6
Merge pull request #31714 from Algunenano/02112_timezone
Make 02112_with_fill_interval independent of the server timezone
2021-11-25 11:30:29 +03:00
Raúl Marín
78656f4956 Merge remote-tracking branch 'blessed/master' into speedup_avg_sumcount 2021-11-25 09:17:10 +01:00
kssenii
d39b5ec844 Merge branch 'clickhouse-dictionary-conf' of github.com:kssenii/ClickHouse into clickhouse-dictionary-conf 2021-11-25 11:13:12 +03:00
Vladimir C
e835671c88
Merge pull request #31624 from nicelulu/fix_sparkbar 2021-11-25 11:01:25 +03:00
kssenii
afbd964034 Update test 2021-11-25 09:50:36 +03:00
yandd
f1914bb423
Added function ngrams test for utf8 characters 2021-11-25 10:18:47 +08:00
alexey-milovidov
4082c6c4e5
Merge pull request #31713 from Algunenano/02050_clean_files
02050: Use CLICKHOUSE_TMP and delete files when finished
2021-11-25 05:02:34 +03:00
alexey-milovidov
02c270663b
Merge pull request #31720 from Algunenano/02010_lc_native_ids
02010_lc_native: Generate a new id for each query
2021-11-25 05:01:08 +03:00
alexey-milovidov
99a40d171d
Merge pull request #31721 from Algunenano/flaky_00623
00623_replicated_truncate_table_zookeeper_long: Wait for truncate in replicas
2021-11-25 05:00:53 +03:00
alexey-milovidov
423d497b27
Merge pull request #31742 from CurtizJ/fix-map
Fix usage of `Buffer` table engine with type `Map`
2021-11-25 04:56:37 +03:00
Kseniia Sumarokova
5cc0448b9e
Update 02124_clickhouse_dictionary_with_predefined_configuration.sql 2021-11-25 01:55:47 +03:00
kssenii
20c59b66f9 ClickHouse dictionary support named collections 2021-11-25 01:51:38 +03:00
Anton Popov
37350e007c fix mutate of ColumnMap 2021-11-25 00:05:08 +03:00
kssenii
038bdcf9b9 Fix 2021-11-24 23:56:36 +03:00
Alexey Milovidov
a4e57228cf Add a test from #31662 2021-11-24 23:09:50 +03:00
Kruglov Pavel
949c16f7f8
Update test 2021-11-24 22:31:34 +03:00
avogar
e4ba685d15 Fix race in JSONEachRowWithProgressRowOutputFormat 2021-11-24 22:29:43 +03:00
tavplubix
bebee01b34
Merge pull request #31638 from ClickHouse/fix_rename_dictionary
Fix rename dictionary
2021-11-24 20:25:35 +03:00
Raúl Marín
b6c4683e68 00623_replicated_truncate_table_zookeeper_long: Wait for truncate in replicas 2021-11-24 17:40:46 +01:00
Raúl Marín
c65d904d37 02010_lc_native: Generate a new id for each query 2021-11-24 17:19:59 +01:00
Raúl Marín
a94140725a Make 02112_with_fill_interval independent of the server timezone 2021-11-24 16:59:58 +01:00
mergify[bot]
9ce9aef40a
Merge branch 'master' into parallel-formatting 2021-11-24 15:40:01 +00:00
Raúl Marín
8b36d18186 02050: Use CLICKHOUSE_TMP and delete files when finished 2021-11-24 16:07:49 +01:00
avogar
f5447a5e74 Fix tests, support parallel formatting for Template format 2021-11-24 16:42:07 +03:00
michael1589
8b99138701
Merge branch 'ClickHouse:master' into master 2021-11-24 21:35:36 +08:00
mergify[bot]
2ab091a85b
Merge branch 'master' into fix-whole-text-serialization 2021-11-24 12:44:53 +00:00
Alexander Tokmakov
e5972e6f71 fix 2021-11-24 15:44:04 +03:00
Raúl Marín
b6b75c28dd Add some tests for sumCount 2021-11-24 11:58:58 +01:00
alesapin
646cf38213
Merge pull request #28981 from JackyWoo/add_4_letter_words_commands
Add four letter commands to keeper
2021-11-24 13:32:36 +03:00
Raúl Marín
75ed1a507a Add some avg tests to make sure the additions look good 2021-11-24 11:14:31 +01:00
kssenii
29579962cb Update test, tiny changes 2021-11-24 12:55:36 +03:00
Alexander Tokmakov
9237b251d5 allow rename dict in Ordrinary, fix another issue 2021-11-23 20:53:45 +03:00
avogar
6ba8291809 Remove temporary files 2021-11-23 19:56:45 +03:00
avogar
4470365fb3 Fix 2021-11-23 19:56:44 +03:00
avogar
af48bafa5b Add test 2021-11-23 19:56:43 +03:00
avogar
f460e94180 Fix tests 2021-11-23 17:26:30 +03:00
Raúl Marín
15dc86bd37 Fix 00613_shard_distributed_max_execution_time flakyness 2021-11-23 14:50:23 +01:00
Kruglov Pavel
b63b47f0f0
Merge pull request #31265 from Avogar/fix-write-buffers
Fix and refactor WriteBiffer-s a little
2021-11-23 16:46:09 +03:00