Commit Graph

5416 Commits

Author SHA1 Message Date
Alexander Tokmakov
140cd88c20 fixes 2020-04-09 02:59:39 +03:00
Azat Khuzhin
6d85207bfb Convert blocks if structure does not match on INSERT into Distributed()
Follow-up for: #10105
2020-04-08 23:46:01 +03:00
Alexey Milovidov
5e336ba063 Added another test #10077 2020-04-08 23:33:40 +03:00
alexey-milovidov
0372a6119a
Merge pull request #10110 from amosbird/tsm
more monotonicity for toString()
2020-04-08 22:55:04 +03:00
Alexander Tokmakov
dd1590830b Merge branch 'master' into database_atomic 2020-04-08 22:00:46 +03:00
Nikolai Kochetov
b9f73a9f77 Added test. 2020-04-08 21:50:13 +03:00
Azat Khuzhin
824255f603 Update tests for multiline SHOW CREATE
The following has been used for this:

    git grep '^CREATE' tests/queries/**.reference | cut -d: -f1 | sort -u | xargs -n1 -i sh -c 'show-create-rewrite.py < {} | sponge {}'

show-create-rewrite.py is available here:

    https://gist.github.com/azat/916b98b5ddf9573f7dc9a4dce33b59b5

And for 00998_constraints_all_tables test FORMAT TSVRaw I simply drop.
2020-04-08 20:54:22 +03:00
Nikolai Kochetov
3b4682d179 Updated 01232_preparing_sets_race_condition. 2020-04-08 20:46:48 +03:00
Anton Popov
ae2a05d414 add test with 'ALTER MODIFY' and compact parts 2020-04-08 19:34:14 +03:00
Amos Bird
f1cb928737
more monotonicity for toString() 2020-04-08 20:13:44 +08:00
Ivan Lezhankin
cef057f150 Fix test 2020-04-08 12:59:51 +03:00
Ivan Lezhankin
e6bd496269 Merge branch 'master' into pytest 2020-04-08 06:15:05 +03:00
Amos Bird
0b5cc80580
joinGetOrNull 2020-04-08 11:01:08 +08:00
alexey-milovidov
6d80ab1eed
Merge pull request #9811 from vitlibar/RBAC-8
RBAC-8
2020-04-08 05:47:55 +03:00
alexey-milovidov
dd333460d6
Merge pull request #10068 from ClickHouse/fix_check_table_with_index
Fix bug with uncompressed checksums in CHECK TABLE query
2020-04-08 05:37:18 +03:00
alexey-milovidov
dad892e9d4
Merge pull request #10105 from azat/distributed-insert-types-differs
Fix SIGSEGV on INSERT into Distributed on different struct with underlying
2020-04-08 05:36:02 +03:00
Alexander Tokmakov
135197aa75 fixes 2020-04-08 04:02:00 +03:00
alexey-milovidov
09a397a68f
Merge pull request #9997 from azat/dist-on-dist-fixes
Fix Distributed-over-Distributed with one only shard in nested table
2020-04-08 03:45:29 +03:00
alexey-milovidov
a29393821d
Merge pull request #10099 from ClickHouse/fix-9826
Fix 9826
2020-04-08 02:41:11 +03:00
Azat Khuzhin
b2fa9d8750 Fix SIGSEGV on INSERT into Distributed on different struct with underlying 2020-04-08 02:35:31 +03:00
alexey-milovidov
c079fd7f1b
Merge pull request #10064 from ClickHouse/small_fixes_in_dict_parser
Small fixes in dictionaries DDL parser
2020-04-08 02:22:20 +03:00
Vitaly Baranov
d0af31bbcf Use ALTER USER DROP HOST instead of ALTER USER REMOVE HOST for consistency. 2020-04-07 23:31:59 +03:00
Vitaly Baranov
b4d7ef390c Rename some access types: add ALTER and SYSTEM prefixes. 2020-04-07 23:20:38 +03:00
Nikolai Kochetov
6f3b700097 Added test. 2020-04-07 20:59:13 +03:00
alesapin
0d7cff2b25 Merge branch 'master' into fix_check_table_with_index 2020-04-07 16:36:09 +03:00
alesapin
33c2587213 Merge branch 'master' into add_conversion_stream 2020-04-07 16:35:40 +03:00
alesapin
06f135ee8d Merge branch 'master' into small_fixes_in_dict_parser 2020-04-07 16:35:16 +03:00
alesapin
f1e0f15556
Merge pull request #9948 from ClickHouse/alter_rename_column
Alter rename column
2020-04-07 15:28:00 +03:00
alesapin
9bc0ab2eed Merge branch 'master' into small_fixes_in_dict_parser 2020-04-07 14:59:08 +03:00
alesapin
d0bed6b204 Merge branch 'master' into fix_check_table_with_index 2020-04-07 14:58:45 +03:00
alesapin
5f3bcf198b Merge branch 'master' into add_conversion_stream 2020-04-07 14:57:58 +03:00
philip.han
53b5dade5e Implement transform_null_in 2020-04-07 20:08:13 +09:00
Alexander Kuzmenkov
0642619afe
Merge pull request #9992 from ClickHouse/aku/fix-tests-for-random-order
Fix some tests for random execution order
2020-04-06 23:33:56 +03:00
alesapin
107c5b7860
Merge pull request #10063 from ClickHouse/fix-GroupingAggregatedTransform-single-level
Fix GroupingAggregatedTransform for single-level aggregation. Add test.
2020-04-06 22:13:15 +03:00
alesapin
04e3e3179c Add converting stream to localhost clickhouse dict 2020-04-06 22:09:39 +03:00
Nikolai Kochetov
4fd5ef8bad Review fixes. 2020-04-06 21:05:45 +03:00
alesapin
c17fa34fa5 Fix bug with uncompressed checksums in CHECK TABLE query 2020-04-06 20:00:29 +03:00
Artem Zuikov
174136a1e0
inflating cross join (#10029) 2020-04-06 16:39:57 +03:00
Alexander Tokmakov
08bae4668d Merge branch 'master' into database_atomic 2020-04-06 16:18:07 +03:00
alesapin
848678d656 Now layout type for dictionaries DDL with no arguments can be written without brackets 2020-04-06 14:02:17 +03:00
Nikolai Kochetov
0117c194c5 Fix GroupingAggregatedTransform for single-level aggregation. Add test. 2020-04-06 13:33:59 +03:00
alesapin
1cb072d58a Merge branch 'master' into alter_rename_column 2020-04-06 11:40:27 +03:00
Ivan Lezhankin
a25b2815aa Merge branch 'master' into pytest 2020-04-04 19:51:52 +03:00
Avogar
fbc11d3bf9 Move files 2020-04-04 17:04:20 +03:00
Azat Khuzhin
1777e2fd6b Regression for Distributed-over-Distributed when nested table has only one shard 2020-04-04 13:47:34 +03:00
Alexander Tokmakov
c080e6c969 resolve table uuid another way 2020-04-04 02:37:58 +03:00
Alexander Kuzmenkov
49bc33ed34
Update 01073_attach_if_not_exists.sql 2020-04-03 18:59:59 +03:00
Ivan Lezhankin
ade3e026fa Some fixes 2020-04-03 16:54:11 +03:00
alesapin
3b498c603b Fix stupid bug in parser 2020-04-03 15:26:57 +03:00
alesapin
a027b33195 Better test 2020-04-03 14:19:17 +03:00
alesapin
f3e3df4593 Better test 2020-04-03 14:15:43 +03:00
Alexander Kuzmenkov
7a1d40507a fix more tests 2020-04-03 12:55:22 +03:00
alesapin
763669f3dc Better test and correct access rights 2020-04-03 12:53:31 +03:00
Alexander Tokmakov
9c67d2716e Merge branch 'master' into database_atomic 2020-04-03 03:19:11 +03:00
alesapin
9e49d7c8cb One more test for indices 2020-04-02 21:31:27 +03:00
alesapin
0606b7e4df Renames for compact parts 2020-04-02 21:24:11 +03:00
Alexander Kuzmenkov
cd76ba3c19 Support trailing zero bytes in string hash map. 2020-04-02 20:19:57 +03:00
Alexander Kuzmenkov
f98d38baaf Merge remote-tracking branch 'origin/master' into HEAD 2020-04-02 20:03:20 +03:00
alesapin
5b133dd1ce Add default columns alter 2020-04-02 19:11:10 +03:00
alesapin
93907f0985 Fix reference and move files 2020-04-02 13:09:44 +03:00
Ivan Lezhankin
c0a595355a Move more dbms/tests to top-level 2020-04-02 03:32:39 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00
Azat Khuzhin
22bedec33e Add 01683_dist_INSERT_block_structure_mismatch into arcadia_skip_list 2020-02-03 08:05:00 +03:00
Azat Khuzhin
edd79e3faf Suppress warnings in 01457_create_as_table_function_structure 2021-02-02 10:16:41 +03:00
Azat Khuzhin
594c6b0dd4 Suppress warnings in 00967_insert_into_distributed_different_types 2021-02-02 10:16:41 +03:00
Azat Khuzhin
f53c9a6b25 Fix "Block structure mismatch" for INSERT into Distributed
Add missing conversion (via ConvertingBlockInputStream) for INSERT into
remote nodes (for sync insert, async insert and async batch insert),
like for local nodes (in DistributedBlockOutputStream::writeBlockConverted).

This is required when the structure of the Distributed table differs
from the structure of the local table.

And also add a warning message, to highlight this in logs (since this
works slower).

Fixes: #19888
2021-02-02 10:16:41 +03:00