Skip to content

[CALCITE-3567] Unnest support Map wrapped with RecordType#1630

Merged
asereda-gs merged 1 commit intoapache:masterfrom
yanlin-Lynn:unnest-RecordType-Map
Dec 5, 2019
Merged

[CALCITE-3567] Unnest support Map wrapped with RecordType#1630
asereda-gs merged 1 commit intoapache:masterfrom
yanlin-Lynn:unnest-RecordType-Map

Conversation

@yanlin-Lynn
Copy link
Copy Markdown
Contributor

JIRA: CALCITE-3567

Currently, UNNEST(RECORDTYPE(ARRAY)) and UNNEST(RECORDTYPE(MULTISET)) works well, but UNNEST(RECORDTYPE(MAP)) is not supported.
Because SqlUnnestOperator use SCALAR_OR_RECORD_COLLECTION_OR_MAP, and it just checks MULTISET and ARRAY in RecordType.

This PR tries to add check for MAP in RecordType for SqlUnnestOperator too.

@asereda-gs asereda-gs merged commit 560d895 into apache:master Dec 5, 2019
@asereda-gs
Copy link
Copy Markdown
Member

Thanks for PR @yanlin-Lynn !

@yanlin-Lynn
Copy link
Copy Markdown
Contributor Author

Thanks for review and merge.

@yanlin-Lynn yanlin-Lynn deleted the unnest-RecordType-Map branch December 5, 2019 01:53
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.

2 participants