Skip to content

SqlResults: Coerce arrays to lists for VARCHAR.#14260

Merged
gianm merged 6 commits intoapache:masterfrom
gianm:fix-coerce-for-stmv
Jun 25, 2023
Merged

SqlResults: Coerce arrays to lists for VARCHAR.#14260
gianm merged 6 commits intoapache:masterfrom
gianm:fix-coerce-for-stmv

Conversation

@gianm
Copy link
Contributor

@gianm gianm commented May 11, 2023

Useful for STRING_TO_MV, which returns VARCHAR at the SQL layer and an ExprEval with String[] at the native layer.

Useful for STRING_TO_MV, which returns VARCHAR at the SQL layer and an
ExprEval with String[] at the native layer.
Copy link
Member

@clintropolis clintropolis left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@LakshSingla LakshSingla left a comment

Choose a reason for hiding this comment

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

LGTM 🚀
Static checks and a couple of GHA are failing. Can you please address them.

@gianm gianm merged commit d7c9c2f into apache:master Jun 25, 2023
@gianm gianm deleted the fix-coerce-for-stmv branch June 25, 2023 16:35
@abhishekagarwal87 abhishekagarwal87 added this to the 27.0 milestone Jul 19, 2023
sergioferragut pushed a commit to sergioferragut/druid that referenced this pull request Jul 21, 2023
* SqlResults: Coerce arrays to lists for VARCHAR.

Useful for STRING_TO_MV, which returns VARCHAR at the SQL layer and an
ExprEval with String[] at the native layer.

* Fix style.

* Improve test coverage.

* Remove unnecessary throws.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants