Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable string view in substrait #11898

Closed
wants to merge 1 commit into from

Conversation

XiangpengHao
Copy link
Contributor

Which issue does this PR close?

Part of #11752, a tiny subset of #11862

Rationale for this change

StringView should be considered as String in substrait as well. (I'm not sure why LargeUtf8 is not there, but without Utf8View the test will definitely fail)

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@@ -153,7 +153,7 @@ fn to_substrait_type(data_type: &DataType, nullable: bool) -> Result<Type> {
nullability,
})),
}),
DataType::Utf8 => Ok(Type {
DataType::Utf8 | DataType::Utf8View => Ok(Type {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need to add some tests here

@alamb alamb marked this pull request as draft August 11, 2024 11:52
@alamb
Copy link
Contributor

alamb commented Aug 11, 2024

Converting to draft so it is clear this PR isn't waiting on review

We should probably file tickets to support Utf8View etc in both datafusion-proto and datafusion-substrait.

@alamb
Copy link
Contributor

alamb commented Aug 22, 2024

FIled #12118 to track substrait and #12117 to track protobuf

Copy link

Thank you for your contribution. Unfortunately, this pull request is stale because it has been open 60 days with no activity. Please remove the stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale PR has not had any activity for some time label Oct 22, 2024
@github-actions github-actions bot closed this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale PR has not had any activity for some time substrait
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants