Skip to content

Conversation

@elvaliuliuliu
Copy link
Contributor

This fixes E2E DataFrameTests that are failing for Spark 3.0. because the APIs are either removed or deprecated.

This is a part of the effort to bring in CI for Spark 3.0: #348.

@elvaliuliuliu
Copy link
Contributor Author

This PR currently fixes TestSignaturesV2_3_X.

Moreover, not only TestGroupedMapUdf is failing but also TestVectorUdf, TestWithColumn, TestUdf in DataFrameTests for Spark 3.0. They are all failing because of collectToPython API.

But I am not sure how to fix DataFrame.collect() which is using collectToPython. @imback82 / @suhsteve Any suggestions? Thanks!

/// This API is removed in Spark 3.0.
/// </remarks>
/// <returns>Row objects</returns>
[Removed(Versions.V3_0_0)]
Copy link
Contributor

Choose a reason for hiding this comment

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

@imback82
Copy link
Contributor

imback82 commented Dec 6, 2019

Moreover, not only TestGroupedMapUdf is failing but also TestVectorUdf, TestWithColumn, TestUdf in DataFrameTests for Spark 3.0. They are all failing because of collectToPython API.

Did you build the worker with the latest changes? I think I fixed it in #311.

@elvaliuliuliu
Copy link
Contributor Author

Moreover, not only TestGroupedMapUdf is failing but also TestVectorUdf, TestWithColumn, TestUdf in DataFrameTests for Spark 3.0. They are all failing because of collectToPython API.

Did you build the worker with the latest changes? I think I fixed it in #311.

It works for me after I updated worker. Thanks!

@elvaliuliuliu elvaliuliuliu changed the title Fix E2E DataFrameTests for Spark 3.0. [WIP] Fix E2E DataFrameTests for Spark 3.0. Dec 6, 2019
@imback82
Copy link
Contributor

imback82 commented Sep 5, 2020

This is being addressed by #655.

@imback82 imback82 closed this Sep 5, 2020
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.

2 participants