-
Notifications
You must be signed in to change notification settings - Fork 228
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
Fix failing test compile for Spark 4.0.0 #11363
Conversation
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
2861cf6
to
279a085
Compare
build |
import org.apache.spark.sql.catalyst.expressions.Literal | ||
|
||
object ColumnCreationShim { | ||
def apply(lit: Literal): Column = new Column(lit) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need to shim this? It appears older Spark versions support the Column.apply method. If so, we could just update the test to use that rather than create a shim.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought I tried that,but I will try it again.
build |
@razajafri and @jlowe please take another look |
This fixes #11350