Skip to content

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

Merged
marin-ma merged 4 commits intoapache:mainfrom
philo-he:fix-array-size
Jul 2, 2024
Merged

[GLUTEN-5248][VL] Directly pass legacySizeOfNull to native size function#6014
marin-ma merged 4 commits intoapache:mainfrom
philo-he:fix-array-size

Conversation

@philo-he
Copy link
Copy Markdown
Member

@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.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 7, 2024

#5248

@github-actions
Copy link
Copy Markdown

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
@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

@philo-he philo-he marked this pull request as ready for review June 30, 2024 09:39
@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 1, 2024

Run Gluten Clickhouse CI

1 similar comment
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 1, 2024

Run Gluten Clickhouse CI

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 2, 2024

Run Gluten Clickhouse CI

@philo-he
Copy link
Copy Markdown
Member Author

philo-he commented Jul 2, 2024

Run Gluten Clickhouse CI

@philo-he
Copy link
Copy Markdown
Member Author

philo-he commented Jul 2, 2024

@marin-ma, could you take a look?

Copy link
Copy Markdown
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
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