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

[VL] Update velox-backend-limitations.md #3639

Merged
merged 3 commits into from
Nov 28, 2023
Merged

Conversation

FelixYBW
Copy link
Contributor

@FelixYBW FelixYBW commented Nov 7, 2023

update velox limitation documents

update velox limitation documents
Copy link

github-actions bot commented Nov 7, 2023

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/oap-project/gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

@FelixYBW
Copy link
Contributor Author

FelixYBW commented Nov 7, 2023

@JkSelf To the ctas and dynamic partition write, will Gluten fallback to Vanilla spark or raise exceptions?

@FelixYBW FelixYBW changed the title Update velox-backend-limitations.md [VL] Update velox-backend-limitations.md Nov 7, 2023
@FelixYBW FelixYBW requested a review from JkSelf November 7, 2023 19:33
@JkSelf
Copy link
Contributor

JkSelf commented Nov 8, 2023

@JkSelf To the ctas and dynamic partition write, will Gluten fallback to Vanilla spark or raise exceptions?

@FelixYBW Yes. All fallback to vanilla spark not throw exceptions.


We implemented write support by overriding the following vanilla Spark classes. And you need to ensure preferentially load the Gluten jar to overwrite the jar of vanilla spark. Refer to [How to prioritize loading Gluten jars in Spark](https://github.com/oap-project/gluten/blob/main/docs/velox-backend-troubleshooting.md#incompatible-class-error-when-using-native-writer). It should be noted that if the user also modifies the following overriding classes, the user's changes may be overwritten.
Velox does not create table as select. It may raise exception. e.g.,
Copy link
Contributor

Choose a reason for hiding this comment

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

Gluten will fall back to vanilla Spark.

The total supported functions' number for [Spark3.3 is 387](https://spark.apache.org/docs/latest/api/sql/) and for [Velox is 204](https://facebookincubator.github.io/velox/functions/coverage.html).
Gluten supported frequently used 164, shown as below picture.
![support](./image/support.png)
The total supported functions' number for [Spark3.3 is 387](https://spark.apache.org/docs/latest/api/sql/), Gluten supported 189 functions now.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we also put the latest function support png here?

@zhouyuan zhouyuan merged commit 8bebab7 into apache:main Nov 28, 2023
5 checks passed
@zhouyuan
Copy link
Contributor

I'll follow up on the refine.

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.

3 participants