Commit Graph

16665 Commits

Author SHA1 Message Date
Vladimir C
54b4049ea5
Merge pull request #35794 from awakeljw/fork_chmaster 2022-04-05 09:44:45 +02:00
Mikhail f. Shiryaev
a665861f5f
Improve descriptrion check logging 2022-04-05 01:06:46 +02:00
Mikhail f. Shiryaev
1d60824d6a
Highlight headers in PR template 2022-04-05 00:59:44 +02:00
kssenii
f408c86a13 Use FATAL logs level as default for clickhouse-test 2022-04-05 00:42:29 +02:00
kssenii
3fd462bc05 Merge master 2022-04-05 00:06:18 +02:00
Alexey Milovidov
9d5c13c71d
Merge pull request #35886 from azat/format-insert-infile-fix
Fix formatting of INSERT INFILE queries (missing quotes)
2022-04-05 00:47:54 +03:00
LAL2211
3ecdad9d4b updated 2022-04-04 14:49:30 -04:00
LAL2211
0340932d57 updated hard coded/ default credentials 2022-04-04 14:35:21 -04:00
alesapin
1e4fe5e3b5
Merge pull request #35882 from ClickHouse/more_metadata_alters
Make more alters of nested types metadata-only
2022-04-04 20:11:31 +02:00
Anton Popov
3a6bee309b
Skip test with ordinary database 2022-04-04 19:10:56 +02:00
Vladimir C
b80f24957e
Merge pull request #35674 from vdimir/asof-key-null-issue-35565 2022-04-04 16:56:04 +02:00
Anton Popov
bd93be65aa
Merge pull request #35820 from azat/columns-ttl-fix
Avoid processing per-column TTL multiple times
2022-04-04 16:42:50 +02:00
Maksim Kita
a46495de5c JIT ProfileEvents added test 2022-04-04 16:22:16 +02:00
Anton Popov
d08d4a2437
Merge pull request #35806 from CurtizJ/dynamic-columns-8
Fix inserts to columns of type `Object` in partitioned tables
2022-04-04 16:16:54 +02:00
Maksim Kita
482c8f667c Added tests 2022-04-04 16:10:19 +02:00
Antonio Andelic
db75bf6f5d
Merge pull request #35852 from ClickHouse/bigo-sg-add_hints
Refactoring of hints for column descriptor
2022-04-04 15:37:08 +02:00
alesapin
3ccf99c3d7
Merge pull request #35884 from ClickHouse/don_t_allow_to_reset_settings
Forbid to reset non existing settings
2022-04-04 15:27:34 +02:00
Nickita Taranov
ce40d84eef more fixes 2022-04-04 14:33:58 +02:00
Nickita Taranov
5590f78dfe update remerge_sort_lowered_memory_bytes_ratio 2022-04-04 14:33:57 +02:00
Nickita Taranov
a39427f00b clean up 2022-04-04 14:33:57 +02:00
Nickita Taranov
85fbf6cc62 update one more test 2022-04-04 14:33:57 +02:00
Nickita Taranov
b07f35ce28 fix test 2022-04-04 14:33:57 +02:00
Nickita Taranov
3308b9d3af disable test temporarily 2022-04-04 14:33:57 +02:00
Nickita Taranov
eedcd61479 fix 2022-04-04 14:33:57 +02:00
Nickita Taranov
b095838444 stash 2022-04-04 14:33:57 +02:00
Nickita Taranov
4c51329ad6 stash 2022-04-04 14:33:57 +02:00
何李夫
09c04e4993
Improve the pipeline description for JOIN (#35612)
Improve the pipeline description for JOIN
2022-04-04 13:56:41 +02:00
Maksim Kita
3c472a7897 Simplified hasAll performance tests 2022-04-04 13:34:40 +02:00
Maksim Kita
e6c9a36ac7
Merge pull request #35733 from kitaisreal/ipv6-invalid-insert-test
Added test for insert of invalid IPv6 value
2022-04-04 12:28:16 +02:00
Azat Khuzhin
99528e296c Rename need_data_elapsed_us/port_full_elapsed_us to input_wait_us/output_wait_us
$ gg -e need_data_ -e port_full_  | cut -d: -f1 | sort -u | xargs sed -i -e s/port_full_/output_wait_/g -e s/need_data_/input_wait_/g -e s/getPortFull/getOutputWait/g -e s/getNeedData/getInputWait/g

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 13:19:43 +03:00
Azat Khuzhin
0d06dab362 tests: cover processors_profile_log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 13:19:43 +03:00
Nikolai Kochetov
19819c72f8
Merge pull request #35290 from bigo-sg/function_enumerate_streams
Add function getTypeSerializationStreams
2022-04-04 12:09:53 +02:00
alesapin
803a1a2a9c Fix tests and check 2022-04-04 11:19:02 +02:00
Anton Popov
11e18a16f3
Merge pull request #35724 from Avogar/fix-order
Improve schema inference for JSONEachRow and TSKV formats
2022-04-04 11:00:21 +02:00
Azat Khuzhin
93bbe9641a Fix formatting of INSERT ... COMPRESSION
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 10:33:12 +03:00
Azat Khuzhin
9a76efb850 Fix formatting of INSERT INFILE queries (missing quotes)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 10:33:12 +03:00
Antonio Andelic
d96b682a55 Refactor 2022-04-04 07:24:42 +00:00
taiyang-li
f4772d3b8f chmod a+x 02250_hints_for_columns/02250_hints_for_projections 2022-04-04 07:24:42 +00:00
taiyang-li
10bbb96512 fix stateless test 2022-04-04 07:24:42 +00:00
taiyang-li
9dd1a76fd8 fix stateless tests 2022-04-04 07:24:42 +00:00
taiyang-li
fd9a10ef53 add hints for projections 2022-04-04 07:24:42 +00:00
Alexey Milovidov
d9e5ca2119
Merge pull request #34394 from holadepo/last_day
Add toLastDayOfMonth function
2022-04-04 07:02:08 +03:00
mergify[bot]
4d9bb9f6fd
Merge branch 'master' into test/crash_35551 2022-04-04 03:59:10 +00:00
Alexey Milovidov
86558bba5a Move tests to bugs 2022-04-04 00:52:43 +02:00
Habibullah Oladepo
2dd7420fc7 Add tests for toLastDayOfMonth 2022-04-03 23:42:39 +01:00
alesapin
a8c1ccdb20 Forbit to reset non existing settings 2022-04-03 18:29:24 +02:00
alesapin
7b35920d4c Make more alters of nested types metadata-only 2022-04-03 14:03:34 +02:00
Alexey Milovidov
5a47958744
Merge pull request #35736 from CurtizJ/quota-written-bytes
Add quota for written bytes
2022-04-03 05:26:49 +03:00
Azat Khuzhin
195b4c47ea Avoid processing per-column TTL multiple times
Before this patch ttl.txt will not be written for per-column TTLs, and
hence it will be calculated every time after server restart of
DETACH/ATTACH cycle (note, that it will work w/o restart since in-memory
representation will avoid this).

v2: convert test to .sh to get correct current database over default for MV
v3: extract UUID to avoid error like in [1]:
    [ 490 ] {} <Error> void DB::SystemLog<DB::TextLogElement>::flushImpl(const std::vector<LogElement> &, uint64_t) []: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing query_id LIKE concat('%', CAST(_CAST(NULL, 'Nullable(UUID)') AS uuid, 'String'), '%'): while pushing to view test_0hc2ro.this_text_log (c64e5af4-059e-4330-a728-354ecf83c031). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN)
    [1]: https://s3.amazonaws.com/clickhouse-test-reports/35820/a512d322b024d37d2f1082c4833f59f86057555f/stateless_tests_flaky_check__address__actions_.html
v4: add no-parallel to avoid issues with disappeared underlying table while pushing to text_log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-02 15:19:39 +03:00
Kruglov Pavel
860b1a1b1b
Update 02248_nullable_custom_types_to_string.sql 2022-04-02 14:04:04 +02:00
mergify[bot]
1e43e26fa1
Merge branch 'master' into fix-order 2022-04-02 12:00:29 +00:00
avogar
3ae36ac483 Fix tests 2022-04-02 11:59:32 +00:00
Kruglov Pavel
60c2b54dc9
Fix test 2022-04-02 13:55:37 +02:00
Kruglov Pavel
f7902ae2d1
Fix test 2022-04-02 13:53:30 +02:00
Kruglov Pavel
687e9e7aeb
Merge pull request #35760 from Avogar/insert-from-input
Improve schema inference for insert select from table functions
2022-04-02 13:50:48 +02:00
Mikhail f. Shiryaev
47e1ee0971
Merge pull request #35854 from ClickHouse/docker-master-head
Fix automatic bucket prefix for master
2022-04-01 17:54:59 +02:00
Mikhail f. Shiryaev
6b83e2b2a7
Fix automatic bucket prefix for master 2022-04-01 17:53:43 +02:00
Anton Popov
687942ce70 more strict quota for written bytes 2022-04-01 15:02:49 +00:00
Yakov Olkhovskiy
38993f215f
Merge pull request #35706 from yakov-olkhovskiy/ephemeral-35641
Allow EPHEMERAL without explicit default expression
2022-04-01 10:49:29 -04:00
Mikhail f. Shiryaev
b56beeca9d
Merge pull request #35211 from ClickHouse/release-docker
Docker release and regular builds
2022-04-01 15:17:00 +02:00
zzsmdfj
79c75d8a71 to #34966_fix_dateTime_deserialize 2022-04-01 20:18:28 +08:00
zzsmdfj
ececee3817 to #34966_fix_dateTime_deserialize 2022-04-01 20:13:34 +08:00
Anton Popov
075bcf3f5f
Merge pull request #35803 from Avogar/fix-formats-with-names
Fix bug in indexes of not presented columns in -WithNames formats
2022-04-01 13:33:35 +02:00
Mikhail f. Shiryaev
98aa8bf579
Improve version_helper.py
- Add helper functions
- Add __lt__ and __eq__ to compare versions between each other
2022-04-01 12:32:26 +02:00
Mikhail f. Shiryaev
66851b28b7
Make _check_tag public 2022-04-01 12:32:25 +02:00
Mikhail f. Shiryaev
00a3734078
Cosmetic improvement 2022-04-01 12:32:24 +02:00
Mikhail f. Shiryaev
9aab7e9910
Create a script to build and push server images 2022-04-01 12:32:23 +02:00
Mikhail f. Shiryaev
3e7c46075a
Clean out dead code from version_helper 2022-04-01 11:59:49 +02:00
Mikhail f. Shiryaev
93cfc4d590
Add validate_version function to version_helper.py 2022-04-01 11:59:48 +02:00
Mikhail f. Shiryaev
5212ff0146
Improve docker_images_check logging 2022-04-01 11:59:48 +02:00
Mikhail f. Shiryaev
90be03c750
Rework env_helper to return correct paths 2022-04-01 11:59:47 +02:00
alesapin
61a0becae5
Merge pull request #35807 from ClickHouse/docker-pull-latest-error
Fix latest_error referenced before assignment
2022-04-01 11:25:54 +02:00
Kseniia Sumarokova
cafff71d2f
Merge pull request #35799 from evillique/extract-parser-fix
Fix extract function parser
2022-04-01 10:59:39 +02:00
alesapin
f2c6387a8d
Merge pull request #35381 from kssenii/remote-filesystem-cache-fixes
Cache fixes for high concurrency on corner cases
2022-04-01 10:48:31 +02:00
Kseniia Sumarokova
d3b3294872
Merge pull request #35365 from bigo-sg/improve_access_type
Improve check access in table functions
2022-04-01 10:47:02 +02:00
alesapin
87b15d350f
Merge pull request #35808 from ClickHouse/fix_some_integration_tests
Try to fix some integration tests
2022-04-01 10:44:49 +02:00
Antonio Andelic
8cc18c851d
Merge pull request #35705 from ClickHouse/is-secure-client-info
Added `is_secure` column to `query_log`
2022-04-01 08:27:20 +02:00
jewisliu
9a4cc78dfb support ALTER TABLE t DETACH PARTITION ALL syntax 2022-04-01 13:13:07 +08:00
Alexey Milovidov
5c6b84c398
Merge pull request #35586 from kssenii/fix-virtual-columns-s3
Fix s3 engine getting virtual columns
2022-04-01 04:43:32 +03:00
mergify[bot]
864d6c3eaf
Merge branch 'master' into test/crash_35551 2022-04-01 01:32:56 +00:00
Anton Popov
e74d5f9d4c
Update 01825_type_json_partitions.sql 2022-03-31 18:30:19 +02:00
Alexander Tokmakov
418070c012 try to fix some integration tests 2022-03-31 15:56:07 +02:00
Mikhail f. Shiryaev
4ba7cf6d1b
Fix latest_error referenced before assignment 2022-03-31 15:40:32 +02:00
Anton Popov
42acb1dc29 fix inserts to columns of type Object in partitioned tables 2022-03-31 13:30:01 +00:00
avogar
836e7dae67 Fix bug in indexes of not presented columns in -WithNames formats 2022-03-31 12:24:40 +00:00
Nikolay Degterinsky
eb88a5f29e Add test 2022-03-31 12:20:48 +00:00
Nikita Mikhaylov
5f27f690f4 Revert "Added support for schema inference for hdfsCluster (#35602)"
This reverts commit f6bfdcc0c9.
2022-03-31 14:19:56 +02:00
Kruglov Pavel
d166bb5115
Update 02245_format_string_stack_overflow.sql 2022-03-31 13:47:15 +02:00
mergify[bot]
f9a0692e2c
Merge branch 'master' into Avogar-patch-3 2022-03-31 11:45:31 +00:00
avogar
74f0988657 Fix tests 2022-03-31 11:34:06 +00:00
avogar
63946ccb32 Fix tests 2022-03-31 11:14:30 +00:00
Nikita Mikhaylov
f6bfdcc0c9
Added support for schema inference for hdfsCluster (#35602) 2022-03-31 12:47:36 +02:00
kssenii
f17a320635 Fix test 2022-03-31 11:13:38 +02:00
Kseniia Sumarokova
0b20329156
Merge pull request #35727 from kssenii/fix-any-all
Fix any/all(subquery)
2022-03-31 10:05:37 +02:00
Antonio Andelic
e336302650 Merge branch 'master' into is-secure-client-info 2022-03-31 06:58:16 +00:00
taiyang-li
a5765dccb1 Merge branch 'master' into function_enumerate_streams 2022-03-31 12:21:00 +08:00
taiyang-li
70087bc959 Merge branch 'master' into improve_access_type 2022-03-31 12:19:17 +08:00
Yakov Olkhovskiy
8e00cc2aca fix messed commit 2022-03-30 23:52:48 -04:00
Yakov Olkhovskiy
3b40b56e56 refactored to remove parsers rependency on datatypes 2022-03-30 23:47:16 -04:00
Nikolay Degterinsky
f055d7b692
Merge pull request #34055 from palegre-tiny/groupSortedArray
Add groupSortedArray() function
2022-03-31 01:20:15 +03:00