Alexey Milovidov
7396790bd9
Update tests
2020-05-17 07:47:32 +03:00
Andrei Nekrashevich
675509ed23
Added function randomStringUTF8
2020-05-17 07:43:53 +03:00
Alexey Milovidov
f8a6fa8728
Update test
2020-05-17 06:18:06 +03:00
Alexey Milovidov
b156ac3cc1
Merge branch 'master' into fix-ubsan-decimal-parse
2020-05-17 05:42:24 +03:00
Alexey Milovidov
7df4748753
Merge branch 'master' into variance-nonnegative
2020-05-17 05:00:59 +03:00
Alexander Tokmakov
f89bf6155b
fix bad test
2020-05-17 04:16:56 +03:00
Alexey Milovidov
a9f64b4c1c
Ensure that the variance is nonnegative
2020-05-16 22:55:38 +03:00
alesapin
d0b56a4c7d
Merge pull request #10887 from ClickHouse/vzakaznikov-add_alter_rename_column_to_distributed
...
Vzakaznikov add alter rename column to distributed
2020-05-16 12:54:32 +03:00
alesapin
be4037abb5
Merge pull request #10895 from ClickHouse/fix_multiple_renames
...
Fix error in multiple rename commands in a single query.
2020-05-16 12:54:04 +03:00
Nikolai Kochetov
fb38c2a30b
Remove experimental_use_processors setting, part 1. ( #10924 )
...
Remove experimental_use_processors setting, part 1.
2020-05-15 22:28:10 +03:00
Vitaly Baranov
d92ac9ea47
Merge branch 'master' into RBAC-10
2020-05-15 14:12:43 +03:00
alesapin
ef1c7da4af
Merge pull request #10757 from ClickHouse/fix-parallel-mv
...
Fix parallel MV
2020-05-15 14:03:09 +03:00
alesapin
26606dd640
Fix polymorphic parts
2020-05-15 13:36:35 +03:00
alexey-milovidov
689b5094f8
Merge pull request #10926 from ClickHouse/test-empty-external-data
...
Added a test for empty external data
2020-05-15 10:35:20 +03:00
alexey-milovidov
985b83a228
Merge pull request #10903 from ClickHouse/lexer-unicode-whitespaces
...
Support for unicode whitespaces in queries.
2020-05-15 10:31:59 +03:00
alexey-milovidov
f4d1f7cb2b
Merge pull request #10918 from ClickHouse/fix_01019_alter_materialized_view_consistent
...
Fix test 01019_alter_materialized_view_consistent
2020-05-15 10:20:00 +03:00
Artem Zuikov
8e8a2a17d6
build fixes
2020-05-15 03:01:31 +03:00
Ri
fc7afaa639
Bitonic sort on GPU (OpenCL) ( #10232 )
2020-05-15 03:01:14 +03:00
Alexey Milovidov
273267ca8b
Added a test for empty external data
2020-05-14 20:36:59 +03:00
alesapin
8eb27f6f13
Fix rename with compact parts
2020-05-14 19:56:13 +03:00
Nikolai Kochetov
b81d96b84e
Add test.
2020-05-14 17:27:05 +03:00
potya
dc4af074b2
Remove REAl and INT8, add some tests
2020-05-14 17:11:59 +03:00
alesapin
e5c8c8ca02
Fix test
2020-05-14 15:45:42 +03:00
Vitaly Baranov
b1f362b2dc
Add system table for access types.
2020-05-14 14:12:20 +03:00
Nikolai Kochetov
4d22374f24
Merged with master.
2020-05-14 12:06:15 +03:00
Nikolai Kochetov
f65305878b
Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues ( #10890 )
...
* Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues
* Try fix build.
* Try fix build.
* Fix build.
* Make convertToValues static.
* fix build.
* Remove const casts.
* Added comment.
* Fix build.
* Fix build.
* Add test.
* Fix test.
2020-05-14 10:59:14 +03:00
alexey-milovidov
b3d8c09bfb
Merge pull request #10852 from dgrr/format/multiple-queries
...
Added multiple query formatting on clickhouse-format
2020-05-14 01:06:44 +03:00
Alexey Milovidov
09c3bb2613
Added a test
2020-05-14 00:37:20 +03:00
alexey-milovidov
623b2e5a43
Merge pull request #10849 from ClickHouse/fix_optimize_and_alter_hangs
...
Fix mutations and OPTIMIZE hangs when replica becomes inactive
2020-05-13 23:41:13 +03:00
Nikolai Kochetov
496d90b613
Merge pull request #10860 from CurtizJ/pk-function
...
Fix sample with final (addition to #10715 )
2020-05-13 23:04:25 +03:00
alesapin
ab760846c2
Fix some rename cases
2020-05-13 20:43:30 +03:00
Vitaly Baranov
66e348a93f
Refactoring of getting information about access rights.
2020-05-13 19:40:33 +03:00
dgrr
bd77908c93
Added multiline test
2020-05-13 18:31:23 +02:00
potya
1ceabf1e10
at start
2020-05-13 18:49:17 +03:00
alexey-milovidov
a65601e410
Merge pull request #10874 from hczhcz/patch-0513
...
Support large tuples in function tupleElement
2020-05-13 18:42:10 +03:00
alexey-milovidov
0433d9c6fc
Merge pull request #10870 from azat/fix-SIGSEGV-in-hash-table-for-string
...
Fix SIGSEGV in StringHashTable (if such key does not exist)
2020-05-13 18:40:28 +03:00
alesapin
22c7a843a6
Remove already added tests
2020-05-13 16:03:33 +03:00
alesapin
352c402cf2
Merge branch 'add_alter_rename_column_to_distributed' of https://github.com/vzakaznikov/ClickHouse into vzakaznikov-add_alter_rename_column_to_distributed
2020-05-13 14:14:23 +03:00
alesapin
377ef6535d
Merge pull request #10847 from ClickHouse/fix_alter_rename_and_constraints
...
Fix constraints after column rename
2020-05-13 11:09:55 +03:00
Alexander Tokmakov
032197b015
fix alter and optimize hangs when replica becomes inactive
2020-05-13 10:06:57 +03:00
hcz
4a4914361c
Support large tuples in function tupleElement
2020-05-13 11:53:40 +08:00
Alexey Milovidov
3927647fbb
Fix test
2020-05-13 06:50:25 +03:00
Alexey Milovidov
32ad64ae01
Fix LIVE VIEW tests
2020-05-13 06:50:14 +03:00
Alexey Milovidov
d52f9d9785
Fix bad test
2020-05-13 06:50:14 +03:00
alexey-milovidov
7fa7afd24d
Merge pull request #10868 from ClickHouse/improve-move-partition-tests
...
Improve tests for ALTER MOVE
2020-05-13 06:48:37 +03:00
Andrei Nekrashevich
322e5bc4f5
fix issues
2020-05-13 04:22:57 +03:00
Azat Khuzhin
6e11c8a1a2
Add test for missing items in string hashtables via GROUP BY
2020-05-13 03:40:05 +03:00
Andrei Nekrashevich
767a790fce
fix issues
2020-05-13 03:20:41 +03:00
Alexey Milovidov
2800df4450
Improve tests for ALTER MOVE
2020-05-13 03:02:53 +03:00
Alexey Milovidov
1b42a6ccdc
Fix bad tests
2020-05-13 02:55:16 +03:00
Alexey Milovidov
c57210736b
Merge branch 'master' into fix-infinite-loop-in-test
2020-05-13 02:32:14 +03:00
Anton Popov
67213b8ad4
fix sample with final
2020-05-12 21:23:40 +03:00
Nikolai Kochetov
f093c8f206
Fix test.
2020-05-12 17:38:45 +03:00
alesapin
979779e06f
Fix constraints after column rename
2020-05-12 14:26:44 +03:00
Alexey Milovidov
c811e1f0d0
Fix double whitespace
2020-05-12 06:41:45 +03:00
alexey-milovidov
75607db571
Merge pull request #10826 from azat/block-sort-fix
...
Fix columns order after Block::sortColumns()
2020-05-12 06:39:18 +03:00
alexey-milovidov
82668cee6e
Merge pull request #10827 from ClickHouse/fix-logical-error-convert-field-to-type
...
Fix logical error in convertFieldToType
2020-05-12 05:22:56 +03:00
Anton Popov
a1333895eb
Merge pull request #10791 from oandrew/key-condition-source-type
...
Use src_type for conversion in KeyCondition
2020-05-12 03:29:43 +03:00
Alexey Milovidov
f61576fdfa
Fix logical error in convertFieldToType
2020-05-12 02:53:03 +03:00
Azat Khuzhin
eb97afa9be
Add a test for INSERT into Buffer() with different order of columns (via MV)
2020-05-12 02:50:42 +03:00
alexey-milovidov
1e70230991
Merge pull request #10722 from Enmk/DateTime64_fixes
...
function toStartOfSecond(DateTime64) -> DateTime64
2020-05-11 20:20:58 +03:00
alexey-milovidov
15e38c8b44
Merge pull request #10563 from azat/SELECT-ALIAS-CAST
...
Fix SELECT of column ALIAS which default expression type different from column type
2020-05-11 20:20:34 +03:00
Vitaliy Zakaznikov
9780da3e74
Adding more tests to check renaming of columns.
2020-05-11 19:01:06 +02:00
alexey-milovidov
0fe9ed93a6
Update 01132_max_rows_to_read.sql
2020-05-11 12:07:11 +03:00
Alexey Milovidov
7d480ffa3d
Added failing tests
2020-05-11 12:06:24 +03:00
Vasily Nemkov
2c2005817f
New function toStartOfSecond(DateTime64) -> DateTime64
...
This funtion nullifies sub-second part of DateTime64 value.
2020-05-11 12:06:06 +03:00
Guillaume Tassery
5b6e9f2a7e
offset_without_limitMerge branch 'master' of github.com:ClickHouse/ClickHouse into offset_without_limit
2020-05-11 16:05:44 +07:00
alexey-milovidov
33d491edf3
Merge pull request #10516 from azat/dist-GROUP_BY-sharding_key-fixes
...
Disable GROUP BY sharding_key optimization by default (and fix for WITH ROLLUP/CUBE/TOTALS)
2020-05-11 12:03:27 +03:00
alexey-milovidov
3a982e01d0
Merge pull request #10803 from ClickHouse/slightly-better-test
...
Slightly better test
2020-05-11 11:59:40 +03:00
Alexey Milovidov
89c8581d4e
Fix infinite loop in test
2020-05-11 09:15:47 +03:00
alexey-milovidov
06ba85fdf2
Merge pull request #10795 from ClickHouse/list-licenses
...
Added "system.licenses" table
2020-05-11 09:00:55 +03:00
Alexey Milovidov
3cfb305664
Slightly better test
2020-05-11 08:52:40 +03:00
Guillaume Tassery
9ed397bc2c
add tests
2020-05-11 12:48:19 +07:00
Alexey Milovidov
c5e78d12e7
Merge branch 'master' into list-licenses
2020-05-11 07:35:35 +03:00
Alexey Milovidov
8e551a082c
Fix flacky test #10603
2020-05-11 07:33:06 +03:00
Andrew Onyshchuk
1ee875a5fc
Add test
2020-05-10 23:15:59 -05:00
alexey-milovidov
40ef113503
Merge branch 'master' into parallel-final
2020-05-11 06:47:44 +03:00
alexey-milovidov
170a341c1f
Trigger CI
2020-05-11 06:40:07 +03:00
alexey-milovidov
27594ff870
Merge pull request #10579 from 4ertus2/some
...
Test for fixed issue
2020-05-11 06:30:35 +03:00
alexey-milovidov
afd0938b99
Merge pull request #10603 from ClickHouse/fix-mv-scalars
...
Fix mv scalars
2020-05-11 06:26:19 +03:00
alexey-milovidov
d2c813fa7a
Update 01269_alias_type_differs.sql
2020-05-11 06:23:58 +03:00
Alexey Milovidov
da583760c4
Added "system.licenses" table
2020-05-11 05:39:01 +03:00
Alexey Milovidov
49e57c555d
Fixed code; added a test
2020-05-11 03:16:50 +03:00
alexey-milovidov
9fbf23bc07
Merge pull request #10782 from ClickHouse/fix-test-query-profiler
...
Fix flacky test for query profiler
2020-05-10 08:18:44 +03:00
alexey-milovidov
ce671e8b3e
Update 01268_mv_scalars.sql
2020-05-10 05:29:53 +03:00
Alexey Milovidov
668a21b94f
Remove racy part of performance-introspection test
2020-05-10 05:25:32 +03:00
Alexey Milovidov
a5ab3f3373
Fix flacky test
2020-05-10 04:25:08 +03:00
Artem Zuikov
f1e331503b
Merge branch 'master' into some
2020-05-10 03:46:48 +03:00
Alexey Milovidov
d9257a8682
Merge branch 'arrow-io-format' of https://github.com/FawnD2/ClickHouse into FawnD2-arrow-io-format
2020-05-10 03:26:10 +03:00
alexey-milovidov
b961392871
Merge pull request #10658 from vzakaznikov/fixing_test_00979_live_view_watch_continuous_aggregates
...
Fixing and re-enabling 00979_live_view_watch_continuous_aggregates.py test.
2020-05-10 03:08:16 +03:00
alexey-milovidov
63c4a7661f
Merge pull request #10715 from CurtizJ/pk-function
...
Fix usage of primary key wrapped into a function.
2020-05-10 02:08:59 +03:00
Nikolai Kochetov
41baf1ab0f
Update tests.
2020-05-09 21:43:16 +03:00
Nikolai Kochetov
264599179f
Update test.
2020-05-09 21:43:16 +03:00
Nikolai Kochetov
74b5e19fa5
Added test.
2020-05-09 21:43:16 +03:00
alexey-milovidov
e41e998f4a
Merge pull request #10758 from bgiard/master
...
Fix serialize/deserialize of denominator of Average functions
2020-05-09 21:22:16 +03:00
Alexey Milovidov
735d04472d
Remove flappy test for INSERT INTO LIVE VIEW @vzakaznikov
2020-05-09 21:14:50 +03:00
alexey-milovidov
b707156e09
Trigger CI
2020-05-09 19:19:47 +03:00
alexey-milovidov
699ef4ff52
Merge pull request #10741 from hczhcz/patch-0422
...
Fix OrNull and OrDefault
2020-05-09 04:38:32 +03:00
alexey-milovidov
5992bae69a
Merge pull request #10736 from ClickHouse/extract-groups-range-check
...
Added range check for extractGroups function
2020-05-09 04:21:56 +03:00
Baudouin Giard
be2cf70da8
Fix serialize/deserialize of denominator of Average functions
...
Use writeBinary/readBinary to serialize/deserialize the denominator of Average functions.
Previously it would be transmitted as an unsigned int, which means its value would get corrupted when doing an avgWeighted over a floating point number.
Note: this commit is not backwards compatible!
Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-05-08 15:10:47 -04:00
Nikolai Kochetov
869c933972
Added test.
2020-05-08 19:15:49 +03:00
hcz
8a60e22223
Fix OrNull and OrDefault
2020-05-08 17:52:54 +08:00
Nikolai Kochetov
766ca03d85
Merge pull request #10728 from ClickHouse/fix-10489
...
Added test for #10721 .
2020-05-08 11:58:29 +03:00
Alexey Milovidov
e6b08799a0
Update test
2020-05-08 02:34:48 +03:00
Alexey Milovidov
a366e6924b
Fix typo in test
2020-05-08 02:33:31 +03:00
Alexey Milovidov
1f0d95e5c3
Added range check for extractGroups function
2020-05-08 02:31:15 +03:00
Vitaliy Zakaznikov
6d071c430e
Adding stateless test for alter rename column on a distributed table.
2020-05-07 19:39:33 +02:00
Nikolai Kochetov
9605e80a8e
Added test.
2020-05-07 18:26:57 +03:00
Nikolai Kochetov
6ef3400894
Added test.
2020-05-07 16:14:16 +03:00
Anton Popov
5fe74b1a3e
Merge pull request #10686 from CurtizJ/fix-nultiple-sets
...
Fix multiple usages of 'IN' operator
2020-05-07 15:39:41 +03:00
alexey-milovidov
3e583ef45e
Merge pull request #10712 from ClickHouse/merging-extract-groups
...
Merging #10534
2020-05-07 15:34:41 +03:00
alexey-milovidov
9ef730b7a6
Merge pull request #10553 from qoega/curl-no-curlrc
...
Add -q option to curl requests to disable .curlrc use on developer servers
2020-05-07 15:18:56 +03:00
Ilya Yatsishin
22a908a5cc
remove unnecessary change
2020-05-07 14:53:40 +03:00
tavplubix
04a24c59dc
Add tests with DatabaseAtomic ( #10714 )
...
* add tests with DatabaseAtomic
* fix
2020-05-07 14:29:58 +03:00
Alexey Milovidov
d98bc1175c
Added another test
2020-05-07 04:39:25 +03:00
Alexey Milovidov
861237f225
Update test
2020-05-07 04:33:53 +03:00
Alexey Milovidov
05077fed34
Changed tabs to spaces in test
2020-05-07 04:00:34 +03:00
Anton Popov
e3a8712e15
added a test from @cloudXane
2020-05-07 01:48:44 +03:00
Anton Popov
cbbd8e521c
fix usage of primary key wrapped into a function with 'FINAL' modifier and 'ORDER BY' optimization
2020-05-07 01:27:35 +03:00
alexey-milovidov
eeac7aa313
Merge pull request #10622 from kekekekule/layout_direct
...
Add direct layout for dictionaries
2020-05-07 01:05:29 +03:00
alexey-milovidov
d0b61f9d61
Merge pull request #10711 from ClickHouse/h3-range-check
...
Range check in function h3EdgeAngle
2020-05-07 01:00:57 +03:00
alexey-milovidov
75b0303903
Merge pull request #10684 from ClickHouse/fix_7939
...
Fix http readonly request stucks on client close
2020-05-06 23:01:45 +03:00
Alexey Milovidov
97211e56d3
Added a test
2020-05-06 22:38:02 +03:00
alexey-milovidov
01e7c6bbcf
Merge pull request #10534 from Enmk/multiExtractAll
...
extractAllGroups(haystack, re_needle) function
2020-05-06 22:23:36 +03:00
alexey-milovidov
f2705cf608
Merge pull request #10698 from ClickHouse/fix-10674
...
Do not filter totals
2020-05-06 21:30:11 +03:00
Alexander Tokmakov
00458c9a7d
trigger CI
2020-05-06 15:31:50 +03:00
Nikolai Kochetov
b662b02f8c
Added test.
2020-05-06 15:17:17 +03:00
Nikolai Kochetov
bd9df858ed
Merge pull request #10660 from ClickHouse/fix-10566
...
Fix 10566
2020-05-06 11:56:44 +03:00
alexey-milovidov
b33fd6f2ee
Trigger CI
2020-05-06 05:15:57 +03:00
alexey-milovidov
935132480a
Merge pull request #10670 from vzakaznikov/fix_01246_insert_into_watch_live_view
...
Trying to fix tests/queries/0_stateless/01246_insert_into_watch_live_view.py test
2020-05-06 05:12:31 +03:00
Anton Popov
19528007fd
fix multiple usages of 'IN' operator with the same set
2020-05-06 03:57:44 +03:00
Артем Стрельцов
50d2b4c26f
code review fixes & added exception in case lifetime parameter presence in config
2020-05-06 02:43:06 +03:00
Alexander Tokmakov
d35150ecf3
fix http readonly request stucks on client close
2020-05-05 23:32:34 +03:00
FawnD2
a228d1d60d
Rename tests
2020-05-05 18:58:23 +03:00
FawnD2
ea87bd1c64
Merge branch 'master' into arrow-io-format
2020-05-05 18:52:44 +03:00
Vasily Nemkov
87b2d90725
extractAllGroups(haystack, re_needle) function
...
Function that extracts from haystack all matching non-overlapping groups with regular expressions,
and put those into Array(Array(String)) column.
Example:
:) SELECT extractAllGroups('abc=111, def=222, "jkl mno"="444 foo bar"', '("[^"]+"|\\w+)=("[^"]+"|\\w+)');
┌─extractAllGroups('abc=111, def=222, "jkl mno"="444 foo bar"', '("[^"]+"|\\w+)=("[^"]+"|\\w+)')─┐
│ [['abc','def','"jkl mno"'],['111','222','"444 foo bar"']] │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
2020-05-05 17:41:31 +03:00
FawnD2
b8dd822ebc
Remove stateful test
2020-05-05 15:57:56 +03:00
FawnD2
67d4e51e7e
Add tests
2020-05-05 05:06:19 +03:00
Vitaliy Zakaznikov
23021b7af1
Trying to fix tests/queries/0_stateless/01246_insert_into_watch_live_view.py
2020-05-04 21:28:08 -04:00
alexey-milovidov
09756a036a
Merge pull request #10645 from ClickHouse/check-suspicious-codecs
...
Check for suspicious codecs #4966
2020-05-04 23:33:59 +03:00
alexey-milovidov
d37cb297bc
Merge pull request #10039 from abyss7/pytest
...
Add new build for query tests using pytest
2020-05-04 23:18:02 +03:00
Nikolai Kochetov
84ea10cc0a
Added test.
2020-05-04 20:25:50 +03:00
Vitaliy Zakaznikov
2568588f4e
Removing hex output in exceptions in uexpect.py.
...
Fixing and re-enabling 00979_live_view_watch_continuous_aggregates.py test.
2020-05-04 12:03:52 -04:00
Alexey Milovidov
8a8014fa39
Added a test
2020-05-04 17:46:11 +03:00
Alexey Milovidov
301c6137e4
Better exception messages; fixed error; updated tests
2020-05-04 17:25:54 +03:00
Alexey Milovidov
c52ab89918
Fix OOM in ASan stress test
2020-05-04 03:36:55 +03:00
alexey-milovidov
788b436275
Merge pull request #10640 from ClickHouse/fix-http-code-parse-error
...
Fix http code in case of some parse errors.
2020-05-04 02:00:47 +03:00
alexey-milovidov
72ca31511f
Merge pull request #10604 from vzakaznikov/fix_timeouts_in_new_live_view_tests
...
Fixing hard coded timeouts in new live view tests.
2020-05-04 01:55:35 +03:00
Alexey Milovidov
12f1b055be
Added a test #10636
2020-05-03 23:51:52 +03:00
Артем Стрельцов
f8d3999fa2
Merge branch 'master' of github.com:yandex/ClickHouse into layout_direct
2020-05-03 16:23:10 +03:00
alexey-milovidov
e6a8521dc9
Trigger CI
2020-05-03 04:46:06 +03:00
Артем Стрельцов
d05f82a82a
forgot to update the correct answer...
2020-05-03 02:35:43 +03:00
alexey-milovidov
67efc7f066
Merge pull request #10560 from Enmk/DateTime64_fixes
...
Fixed comparing DateTime64 in WHERE against String value
2020-05-03 00:54:11 +03:00
Артем Стрельцов
c82b1fc0fe
fixed (hope) test flapping
2020-05-02 23:26:22 +03:00
Alexey Milovidov
a473c0397d
Disable flacky test #10576
2020-05-02 23:18:41 +03:00
alexey-milovidov
db4c2352e1
Merge pull request #10569 from zhang2014/fix/ISSUES-10551
...
ISSUES-10551 add backward compatibility for create bloom filter index
2020-05-02 22:25:29 +03:00
alexey-milovidov
250a44a47f
Merge pull request #10607 from Avogar/json_as_string_format
...
Add JSONAsStringRowInputFormat
2020-05-02 22:17:22 +03:00
alexey-milovidov
229f666dea
Merge pull request #10611 from azat/optimize_skip_unused_shards-LowCardinality
...
Fix optimize_skip_unused_shards with LowCardinality
2020-05-02 22:14:33 +03:00
alexey-milovidov
ea7038b1b0
Update 01270_optimize_skip_unused_shards_low_cardinality.sql
2020-05-02 22:14:20 +03:00
Артем Стрельцов
5ba6572210
fixed problem with dictGetString and Float32
2020-05-02 20:58:24 +03:00
Vitaliy Zakaznikov
fb4d8d7495
Removing extra expect in tests/queries/0_stateless/01246_insert_into_watch_live_view.py
2020-05-02 12:17:16 -04:00
Vitaliy Zakaznikov
fa17d9f487
Updating again tests/queries/0_stateless/01246_insert_into_watch_live_view.py.
2020-05-02 12:15:26 -04:00
alexey-milovidov
7769ff5bc9
Merge pull request #10617 from ClickHouse/lower-memory-usage-in-tests
...
Lower memory usage in tests
2020-05-02 14:40:07 +03:00
Alexey Milovidov
baf9cc99df
Update test reference
2020-05-02 14:38:53 +03:00
Артем Стрельцов
a012c18240
improved test to cover more cases
2020-05-02 14:31:07 +03:00
Vitaliy Zakaznikov
e8e94b53bf
Updating tests/queries/0_stateless/01246_insert_into_watch_live_view.py
2020-05-02 07:28:52 -04:00
Alexey Ilyukhov
c12cd35099
Add point in polygon for non-const polygons
2020-05-02 11:46:18 +03:00
Артем Стрельцов
25d7f76e4f
fixed bug & created functional test for new layout
2020-05-02 04:03:29 +03:00
Vitaliy Zakaznikov
9cbadbf7d7
Increasing number of requests HTTP server can serve in case
...
more than one connection is needed for the query.
2020-05-01 19:13:50 -04:00
alexey-milovidov
ddefb89d86
Update 00154_avro.sql
2020-05-01 23:13:18 +03:00
Alexander Kazakov
e9baaa439b
Implementation of new system metrics provider (Procfs) ( #10544 )
...
* New metrics provider (Procfs) + Refactored TasksStatsCounters
* Trivial statless test that ProcFS is provided
* Trivial perf test for ProcfsMetricsProvider
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-05-01 21:47:41 +03:00
Alexey Milovidov
c15fe728fd
Lower memory usage in tests #10277
2020-05-01 21:26:52 +03:00
Avogar
697d5b07ce
Fix build and style errors. Update test.
2020-05-01 19:41:14 +03:00
Vitaliy Zakaznikov
7fabd54c2b
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix_timeouts_in_new_live_view_tests
2020-05-01 11:41:44 -04:00
Vitaliy Zakaznikov
71e8e23bde
Adding missing expect to the 01246_insert_into_watch_live_view test.
2020-05-01 11:39:00 -04:00
Vitaliy Zakaznikov
47ce872296
Fixing hard coded timeouts in new live view tests.
2020-05-01 11:39:00 -04:00
alesapin
ed46b98dc4
Change port for internal http server in 00646 test
2020-05-01 16:43:18 +03:00
Alexey Milovidov
4933a6a974
Temporarily remove live view tests #10604 (waiting for fix)
2020-05-01 16:15:06 +03:00
Vasily Nemkov
86edceeb81
Comparison between DateTime64 and String values (just like for DateTime)
2020-05-01 15:52:18 +03:00
Azat Khuzhin
c648c300bf
Fix optimize_skip_unused_shards with LowCardinality
2020-05-01 02:39:58 +03:00
Avogar
6464a1a902
Add JSONAsStringRowInputFormat
2020-04-30 23:16:09 +03:00
Yatsishin Ilya
58ddff7f2f
use -q parameter for curl
2020-04-30 17:06:20 +03:00
Vitaliy Zakaznikov
f2d8ac7ece
Increasing timeout when opening a client in tests/queries/0_stateless/helpers/client.py.
2020-04-30 09:46:36 -04:00
Nikolai Kochetov
19dadb8c2d
Add parallel final.
2020-04-30 12:59:08 +03:00
Alexander Kuzmenkov
7f5b57c6c5
Merge pull request #10559 from ClickHouse/aku/summap-experiment
...
Merge pull request #10000 (sumMap for Tuple argument)
2020-04-30 11:56:04 +03:00
alesapin
5e2afad549
Merge pull request #10477 from ClickHouse/refactor_istorage
...
Remove getColumn and hasColumn from IStorage, better virtuals.
2020-04-30 10:42:52 +03:00
Azat Khuzhin
faea8afa22
Revert behaviour with duplicates in 01213_optimize_skip_unused_shards_DISTINCT
...
Since now optimization is done only under
optimize_distributed_group_by_sharding_key.
2020-04-30 10:13:19 +03:00
alesapin
69fdf2a6a3
Review fixes and better test
2020-04-29 15:15:23 +03:00
Artem Zuikov
5fc28edb16
test fo fixed issue #7798
2020-04-29 14:37:30 +03:00
Nikolai Kochetov
a9d63d4520
Merge pull request #10498 from vzakaznikov/insert_into_watch_from_live_view
...
Adding support for INSERT INTO table WATCH query to build streaming systems using LIVE VIEW tables
2020-04-29 12:15:54 +03:00
zhang2014
8ac709b5d3
ISSUES-10551 add backward compatibility for create bloom filter index
2020-04-29 11:57:28 +08:00
Azat Khuzhin
038235684d
Add optimize_distributed_group_by_sharding_key and disable it by default
...
I know at least one way to fool that optimization, by using as sharding
key something like `if(col1>0, col1, col2)` (although this is not common
sharding key I would say, but can be useful if this will work
correctly), so let's disable it by default.
2020-04-29 00:09:25 +03:00
Azat Khuzhin
007170481a
Add a test for ALIAS with type different to the type of column
2020-04-28 22:42:21 +03:00
Vitaliy Zakaznikov
4749122734
Adding support to auto set output_format_enable_streaming option
...
based on the query type.
2020-04-28 17:50:50 +02:00
Artem Zuikov
e34a9457e6
Improve right table insert for Partial MergeJoin on disk ( #10467 )
2020-04-28 16:55:50 +03:00
Vitaliy Zakaznikov
2312c097ea
Merge branch 'insert_into_watch_from_live_view' of https://github.com/vzakaznikov/ClickHouse into insert_into_watch_from_live_view
2020-04-27 17:34:47 +02:00
Vitaliy Zakaznikov
9d28066539
Adding 00979_live_view_watch_continuous_aggregates.py test.
2020-04-27 17:34:12 +02:00
Nikolai Kochetov
32baa073b5
Merge remote-tracking branch 'upstream/master' into insert_into_watch_from_live_view
2020-04-27 17:49:50 +03:00
Alexey Milovidov
f34a6dc482
Added a test for #4469
2020-04-27 16:13:23 +03:00
Vitaliy Zakaznikov
26532f4617
Updating 01247_insert_into_watch_live_view_url.py to fix hanging
...
issue if for some reason test fails.
2020-04-27 14:02:37 +02:00
alexey-milovidov
436e4e3f5e
Merge pull request #10502 from oandrew/avro-nested2
...
Avro nested fields - support complex types
2020-04-27 13:44:58 +03:00
alexey-milovidov
4a60cc6b2c
Merge pull request #10515 from ClickHouse/compare-date-time-with-string-literal
...
Use time zone when comparing DateTime with string literal
2020-04-27 13:10:27 +03:00
Azat Khuzhin
4e09d812ef
Add a test for GROUP BY sharding_key optimization over Distributed-on-Distributed
2020-04-27 01:31:00 +03:00
Azat Khuzhin
20b4eed9a1
Disable GROUP BY sharding_key optimization for WITH ROLLUP/CUBE/TOTALS
2020-04-27 01:30:54 +03:00
Alexey Milovidov
73b5df4de5
Added a test from @reqq #5155
2020-04-27 01:19:20 +03:00
Alexey Milovidov
cac130ad3b
Use time zone when comparing DateTime with string literal
2020-04-27 01:13:51 +03:00
Alexey Milovidov
2f06a7b4c1
Added a test from @baloo-bear #5873
2020-04-27 00:26:03 +03:00
Alexey Milovidov
d40fb6b5d3
Added a test from @nvartolomei #6229
2020-04-27 00:09:30 +03:00
alexey-milovidov
11bb3e3afa
Merge pull request #10513 from ClickHouse/fix-fractional-timezones-overflow
...
Fix overflow at beginning of unix epoch for fractional timezones
2020-04-26 21:33:53 +03:00
alexey-milovidov
fe4992741c
Merge pull request #10514 from ClickHouse/move-old-bug-to-test
...
Move old bug to test
2020-04-26 21:33:07 +03:00
alexey-milovidov
c6ae6a7ba8
Merge pull request #10418 from ClickHouse/fix_logical_error_in_diagnostic_info
...
Better diagnostic info in input formats
2020-04-26 20:26:59 +03:00
alexey-milovidov
4c17542096
Merge pull request #10465 from kekekekule/ddl_settings
...
Add custom settings support in DDL-queries for CREATE DICTIONARY
2020-04-26 20:25:29 +03:00
alexey-milovidov
0a9bcae0ed
Merge pull request #10511 from ClickHouse/fix-ubsan-datetime64
...
Fixed UBSan for DateTime64; added a test
2020-04-26 20:17:01 +03:00
Alexey Milovidov
38e55c7883
Move old bug to test
2020-04-26 19:39:48 +03:00
Alexey Milovidov
1a4181b4ac
Removed already fixed bug (already having a test)
2020-04-26 19:34:33 +03:00
Alexey Milovidov
08d8c350b7
Fix overflow at beginning of unix epoch for fractional timezones #9335
2020-04-26 19:22:44 +03:00
Alexey Milovidov
79af5cd0ae
Fix UBSan report in Decimal parse
2020-04-26 18:48:30 +03:00
Alexey Milovidov
a70637ab4b
Fixed UBSan; added a test
2020-04-26 17:57:45 +03:00
alexey-milovidov
62e2f10959
Merge pull request #10474 from hczhcz/patch-0422
...
Fix overflow in simpleLinearRegression
2020-04-26 17:34:57 +03:00
Vitaliy Zakaznikov
f35c7a8bf0
Updating 01247_insert_into_watch_live_view_url to check
...
CSV, JSONEachRow and JSONEachRowWithProgress output formats
2020-04-26 16:23:55 +02:00
Vitaliy Zakaznikov
369b4d53ef
Adding support for output_format_enable_streaming
format setting.
2020-04-26 15:44:11 +02:00
Vitaliy Zakaznikov
cf8bc71b21
Adding support to set HTTP_SERVER_HOST using an env variable of the same name.
2020-04-26 14:04:28 +02:00
Vitaliy Zakaznikov
c09126e80f
Updating 01247_insert_into_watch_live_view_url.py test
...
Updating httpechoserver.py
2020-04-26 13:48:43 +02:00
Alexey Milovidov
1f0bd79d37
Update test
2020-04-26 04:15:35 +03:00
Alexey Milovidov
6bedcfc3f0
Update test
2020-04-26 04:08:19 +03:00
Alexey Milovidov
d01bd44f14
Merge branch 'master' into execute-query-flush-format-2
2020-04-26 03:31:46 +03:00
alexey-milovidov
8820b43606
Merge pull request #10479 from Avogar/markdown_format
...
Markdown format
2020-04-26 03:25:48 +03:00
Andrew Onyshchuk
e7ba75ce98
Avro nested fields - support complex types
2020-04-25 17:42:49 -05:00
Vitaliy Zakaznikov
f571a6b229
Adding 01247_insert_into_watch_live_view_url.py test case.
2020-04-25 17:21:36 -04:00
Vitaliy Zakaznikov
edc3268851
Adding 01246_insert_into_watch_live_view.py test case.
2020-04-25 11:03:42 -04:00
Avogar
13f6981bb0
Update markdown test reference
2020-04-25 00:17:33 +03:00
Alexander Tokmakov
53dcce55e9
better diagnostic info in input formats
2020-04-24 15:03:48 +03:00
hcz
541cd638ba
Fix overflow in simpleLinearRegression
2020-04-24 16:33:09 +08:00
Артем Стрельцов
69fef04a4b
added test
2020-04-24 02:12:45 +03:00
Alexander Tokmakov
04d6b59ac0
Merge branch 'master' into database_atomic
2020-04-23 17:31:37 +03:00
Ivan Lezhankin
7cc0ad2884
Merge branch 'master' into pytest
2020-04-23 13:34:51 +03:00
alexey-milovidov
1ecfa27cd3
Merge pull request #10441 from ClickHouse/remove_casts_from_defaults
...
Remove CAST from DEFAULT expressions during table creation.
2020-04-23 12:36:12 +03:00
Alexander Tokmakov
1833ac7f16
fixes
2020-04-22 23:43:10 +03:00
alesapin
dadeb3d8b9
Remove casts from tests references
2020-04-22 20:14:34 +03:00
alesapin
45b8cb5b37
Remove casts from table creation by default
2020-04-22 17:29:38 +03:00
Alexander Tokmakov
fefbbd37df
Merge branch 'master' into database_atomic
2020-04-22 17:02:30 +03:00
zhang2014
0a0555d4d7
ISSUES-9623 fix failure test case
2020-04-22 18:34:42 +08:00
zhang2014
bfb87f0eab
ISSUES-9623 check the number and type of arguments when creating BloomFilter index
2020-04-22 16:17:09 +08:00
Alexey Milovidov
e6acb35d95
Added a fix from Vadim Plakhtinskiy @VadimPlh
2020-04-22 07:32:05 +03:00
alexey-milovidov
eb0a1ec755
Merge pull request #10415 from azat/dict-load-after-detach-attach
...
Fix dictionary name (RELOAD and system.dictionaries) after DETACH/ATTACH
2020-04-22 06:57:08 +03:00
alexey-milovidov
7690c34e5b
Merge pull request #10424 from ClickHouse/tsv-bom-extra-case
...
Allow to parse BOM in TSV if the first column cannot contain BOM in its value
2020-04-22 06:56:43 +03:00
Alexey Milovidov
0c9a2e8132
Fix test
2020-04-22 06:42:10 +03:00
Alexey Milovidov
0a9c49beee
Added a test from @filimonov #9936
2020-04-22 03:48:03 +03:00
alexey-milovidov
484de2abac
Merge pull request #10407 from qoega/negative_generate_random_tests
...
Add negative tests for randomGenerate
2020-04-22 03:31:14 +03:00
Alexey Milovidov
e8a9c7d518
Allow to parse BOM in TSV if the first column cannot contain BOM in its value
2020-04-22 02:46:42 +03:00
Alexey Milovidov
8df64543b7
Added a test from Mr.CHU @chu1070y #9270
2020-04-22 02:11:16 +03:00
alexey-milovidov
fcf5c3c6e1
Merge pull request #10399 from ClickHouse/fix-distributed_group_by_no_merge-segfault
...
Fix segfault with distributed_group_by_no_merge
2020-04-22 01:28:02 +03:00
Alexey Milovidov
561702c264
Added a test from Konstantin Podshumok #9068
2020-04-22 01:20:05 +03:00
Azat Khuzhin
2fa933a73e
Cover creating of dictionary without db name
2020-04-21 21:02:36 +03:00
Azat Khuzhin
6f6b198fb2
Cover dictionary loading after DETACH/ATTACH DATABASE
...
This is the case when the server is starting.
2020-04-21 21:02:36 +03:00
Yatsishin Ilya
1adf094810
add tests
2020-04-21 17:45:11 +03:00
Nikolai Kochetov
f5ba4f4ed8
Added test.
2020-04-21 12:59:46 +03:00
Alexey Milovidov
750b73084a
Added a test from Alexey Ilyukhov @livace
2020-04-21 02:56:57 +03:00
Alexey Milovidov
1e9c96776a
Added a test
2020-04-21 02:50:14 +03:00
alexey-milovidov
4ecc86beca
Merge pull request #9950 from ClickHouse/aku/literal-columns
...
Create unique columns for literals
2020-04-21 02:30:17 +03:00
alexey-milovidov
fe1309e575
Merge pull request #10381 from ClickHouse/fix-concat-prepare
...
Fix concat prepare
2020-04-21 00:07:32 +03:00
alexey-milovidov
2c8576798b
Merge pull request #10354 from oandrew/avro-nested
...
Avro nested fields insert support
2020-04-20 23:36:02 +03:00
alexey-milovidov
c4758b69a2
Merge pull request #10378 from hczhcz/patch-0420
...
Add JSONExtractKeysAndValuesRaw
2020-04-20 23:30:40 +03:00
alexey-milovidov
fea7ee800a
Merge pull request #10369 from ClickHouse/fix-weird-timezones
...
Fix for weird timezones
2020-04-20 23:21:52 +03:00
Alexander Tokmakov
b29bddac12
Merge branch 'master' into database_atomic
2020-04-20 14:09:09 +03:00
Nikolai Kochetov
6c319850ae
Update tests.
2020-04-20 14:05:24 +03:00
hcz
309a20caf0
Add tests and docs
2020-04-20 18:14:34 +08:00
Alexey Milovidov
848e4a0541
Added a test for #2219
2020-04-20 11:15:53 +03:00
alexey-milovidov
9d0004cba0
Merge pull request #10365 from ClickHouse/avoid-infinite-loop-in-hierarchical-dictionaries
...
Avoid infinite loop in hierarchical dictionaries
2020-04-20 10:54:16 +03:00
Alexey Milovidov
5a56714b6e
Added a test
2020-04-20 10:41:26 +03:00
Alexey Milovidov
ac31d22572
More tests
2020-04-20 10:23:17 +03:00
Alexey Milovidov
1d559b9308
Added a test
2020-04-20 10:21:20 +03:00
Alexey Milovidov
70054e90d6
Merge branch 'master' into execute-query-flush-format-2
2020-04-20 09:19:34 +03:00
alexey-milovidov
587e16e23b
Merge pull request #10363 from ClickHouse/fixed-string-compare-as-zero-padded
...
Compare with fixed string of different size as if strings are zero padded
2020-04-20 09:14:27 +03:00
alexey-milovidov
1577d771df
Merge pull request #10341 from azat/auto_distributed_group_by_no_merge
...
Auto distributed_group_by_no_merge on GROUP BY sharding key
2020-04-20 08:30:27 +03:00
Alexey Milovidov
38aaa6206e
Fix test
2020-04-20 08:29:08 +03:00
Alexey Milovidov
be4d20e690
Fixed an error and added a test
2020-04-20 07:02:52 +03:00
Alexey Milovidov
7634092536
More tests
2020-04-20 05:35:19 +03:00
Alexey Milovidov
d99c26a40c
Fix infinite loop in dictIsIn function #515
2020-04-20 05:31:21 +03:00
alexey-milovidov
d906f6c4bf
Update 01250_fixed_string_comparison.sql
2020-04-20 04:19:00 +03:00
Alexey Milovidov
3af3cb62fb
Added a test
2020-04-20 04:15:57 +03:00
alexey-milovidov
a7d360b72b
Merge pull request #10356 from vzakaznikov/fixing_test_00964_live_view_watch_events_heartbeat
...
Fixing 00964_live_view_watch_events_heartbeat.py test
2020-04-20 02:16:04 +03:00
Alexey Milovidov
1d885b3ff9
Merge branch 'master' into quota-key-in-client
2020-04-20 02:15:37 +03:00
Alexey Milovidov
0cebfc74b6
Added a test
2020-04-19 22:22:03 +03:00
Azat Khuzhin
be1dec9239
Fix distributed_group_by_no_merge optimization for Distributed-over-Distributed
2020-04-19 21:11:14 +03:00
Azat Khuzhin
681034f4a3
Fix 01213_optimize_skip_unused_shards_DISTINCT after distributed_group_by_no_merge optimization
2020-04-19 20:52:43 +03:00
Azat Khuzhin
93d049fe64
Allow auto distributed_group_by_no_merge for DISTINCT of sharding key
2020-04-19 18:53:37 +03:00
Azat Khuzhin
6f76f2791d
Cover distributed_group_by_no_merge on GROUP BY injective function of sharding key
2020-04-19 18:33:49 +03:00
Vitaliy Zakaznikov
8f3b14ab22
Fixing 00964_live_view_watch_events_heartbeat.py test to try to make it consistent.
2020-04-18 20:28:51 -04:00
Azat Khuzhin
5ffd8bdd75
Cleanup 01040_distributed_directory_monitor_batch_inserts
2020-04-19 00:22:48 +03:00
Andrew Onyshchuk
14647ed03b
Add Avro nested fields insert support
2020-04-18 15:46:24 -05:00
alexey-milovidov
65bb1f4ce0
Merge pull request #10348 from ClickHouse/least-greatest-generic
...
Least greatest generic: more tests
2020-04-18 18:36:59 +03:00
alexey-milovidov
8cea45315f
Merge pull request #10133 from 4ertus2/joins
...
JOIN with Dictionary
2020-04-18 16:08:15 +03:00
Alexey Milovidov
65714a3014
One more test #4767
2020-04-18 15:44:46 +03:00
Alexey Milovidov
96c2882db9
One more test #4767
2020-04-18 15:44:46 +03:00
alexey-milovidov
43d48a21c6
Merge pull request #10318 from ClickHouse/least-greatest-generic
...
Added generic variants for functions 'least' and 'greatest'.
2020-04-18 15:35:19 +03:00
Alexey Milovidov
71a7a74d25
Fix test
2020-04-18 15:31:59 +03:00
alexey-milovidov
72dd453c3f
Merge pull request #10234 from vitlibar/show-columns-of-not-loaded-dictionary
...
Show information about not loaded dictionaries in system tables.
2020-04-18 15:06:08 +03:00
alexey-milovidov
17b6e0b3e5
Merge pull request #10315 from azat/buffer-flush-bg-pool
...
Use background thread pool for background buffer flushes
2020-04-18 15:04:35 +03:00
Vitaly Baranov
d62345bbaa
Show information about not loaded dictionaries in system.columns, system.tables
...
and in "SHOW TABLES" executed in any database with the "Dictionary" engine.
2020-04-18 12:50:54 +03:00