-
-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Spark 4 Preview versions (#423)
* Work on supporting Spark 4 * Resolve from maven local for snapshots * Add 4.0.0-preview{1,2} * Add Spark 4 preview to actions & readme * Fix weird merge issue dropping the { * don't hardcode ref main * eviction error level global * update java setup * Use 17 instead of 1.17 * Swap Column to ColumnGeneratorBase & swap DataframeGenerator to DataFrameGenerator * Lets make Dataframe into DataFrame to match (yaaaay old typos.) * Add explicit sql-api * Add the evil tools as a temporary work-around for the lack of column tools being exposed. * Fix version check for core src. * Only create valid decimals because ANIS error doesn't just go null anymore
- Loading branch information
Showing
12 changed files
with
287 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
core/src/main/4.0/scala/org/apache/spark/sql/internal/evilTools.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.apache.spark.sql.internal | ||
|
||
import org.apache.spark.sql._ | ||
import org.apache.spark.sql.internal._ | ||
import org.apache.spark.sql.catalyst.expressions._ | ||
|
||
object EvilExpressionColumnNode { | ||
def getExpr(node: ColumnNode): Expression = { | ||
ColumnNodeToExpressionConverter.apply(node) | ||
} | ||
def toColumnNode(expr: Expression): ColumnNode = { | ||
ExpressionColumnNode(expr) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.