Skip to content

No repr shown for Maps #1671

Closed
Closed
@NickCrews

Description

@NickCrews

What happens?

Try these queries on shell.duckdb.org:

SELECT MAP(['key1', 'key2', 'key3'], [10, 20, 30]);
SELECT MAP([], []);
SELECT MAP(NULL::INT[], NULL::INT[]);

none of them show any output.

But, if you run these in another client, such as the CLI or python, then you see the result (although the NULL case is incorrect due to the unrelated duckdb/duckdb#11115)

To Reproduce

above

Browser/Environment:

chrome 122.0.6261.94 (Official Build) (arm64)

Device:

2021 macbook M1 Max

DuckDB-Wasm Version:

@duckdb/[email protected]

DuckDB-Wasm Deployment:

shell.duckdb.org

Full Name:

Nick Crews

Affiliation:

Ship Creek Group

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions