Skip to content

Fix MAP literals parsing#2205

Merged
alamb merged 1 commit intoapache:mainfrom
Samyak2:fix-generic-map-syntax
Feb 6, 2026
Merged

Fix MAP literals parsing#2205
alamb merged 1 commit intoapache:mainfrom
Samyak2:fix-generic-map-syntax

Conversation

@Samyak2
Copy link
Contributor

@Samyak2 Samyak2 commented Feb 6, 2026

- Fixes apache#2204
- Make map_field parsing aware of Colon token.
- This regression was likely introduced in apache#2124
- Added some tests for this.
    - Not sure how the existing tests are passing, but I have verified
      that the new tests catch this bug (they fail without the fix).
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Samyak2

I tested this PR locally with the upgraded DataFusion and worked well.

fyi @iffyio

@alamb alamb added this pull request to the merge queue Feb 6, 2026
Merged via the queue into apache:main with commit fcc7bce Feb 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression in MAP literals for GenericDialect

2 participants