Skip to content

Regression in MAP literals for GenericDialect #2204

@Samyak2

Description

@Samyak2

Summary

MAP { ... } literals are failing with GenericDialect. Example:

SELECT MAP {'a': 1, 'b': NULL}

Fails with:

ParserError("Expected: end of statement, found: {")

This is causing failures in DataFusion tests when trying to upgrade: apache/datafusion#20177

It's a regression from the last release (v0.60.0).

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