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

[GLUTEN-5248][VL] Directly pass legacySizeOfNull to native size function #6014

Merged
merged 4 commits into from
Jul 2, 2024

Conversation

PHILO-HE
Copy link
Contributor

@PHILO-HE PHILO-HE commented Jun 7, 2024

What changes were proposed in this pull request?

Spark Size function's legacySizeOfNull is determined either by other functions like ArraySize to specify a value or by Spark's configuration. Just depending on configuration will cause result mismatch issue for ArraySize function.
With the fix in velox: facebookincubator/velox#10100, we need to directly pass this value of instantiated Size to native function.

Depends on a fix in velox:
facebookincubator/velox#10100

Fixes #5248.

How was this patch tested?

Added test.

Copy link

github-actions bot commented Jun 7, 2024

#5248

Copy link

github-actions bot commented Jun 7, 2024

Run Gluten Clickhouse CI

@PHILO-HE PHILO-HE marked this pull request as draft June 7, 2024 06:42
Copy link

Run Gluten Clickhouse CI

@PHILO-HE PHILO-HE marked this pull request as ready for review June 30, 2024 09:39
Copy link

Run Gluten Clickhouse CI

Copy link

github-actions bot commented Jul 1, 2024

Run Gluten Clickhouse CI

1 similar comment
Copy link

github-actions bot commented Jul 1, 2024

Run Gluten Clickhouse CI

Copy link

github-actions bot commented Jul 2, 2024

Run Gluten Clickhouse CI

@PHILO-HE
Copy link
Contributor Author

PHILO-HE commented Jul 2, 2024

Run Gluten Clickhouse CI

@PHILO-HE
Copy link
Contributor Author

PHILO-HE commented Jul 2, 2024

@marin-ma, could you take a look?

Copy link
Contributor

@marin-ma marin-ma left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@marin-ma marin-ma merged commit 83a3c0f into apache:main Jul 2, 2024
41 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.

[VL] array_size(null) results inconsistent with vanilla spark
2 participants