-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63854 from ClickHouse/backport/24.4/63753
Backport #63753 to 24.4: Allow cast from Array(Nothing) to Map(Nothing, Nothing)
- Loading branch information
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
{'a':1,'b':2} | ||
{'a':1,'b':2} | ||
{'a':1,'b':2} | ||
{} | ||
{} | ||
{'':''} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
SELECT map('a', 1, 'b', 2) FROM remote('127.0.0.{1,2}', system, one); | ||
SELECT map('a', 1, 'b', 2) FROM remote('127.0.0.{1,2}'); | ||
|
||
SELECT map() from remote('127.0.0.{1,2}', system,one); | ||
|
||
drop table if exists bug_repro_local; | ||
CREATE TABLE bug_repro_local (`attributes` Map(LowCardinality(String), String)) ENGINE = Log as select map('',''); | ||
SELECT if(1, attributes, map()) from remote('127.0.0.{1,2}', currentDatabase(), bug_repro_local) limit 1; |