Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Aug 2, 2024
1 parent e32decb commit 932e15c
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import org.apache.spark.{Partitioner, SparkConf}
import org.apache.spark.sql.{CometTestBase, DataFrame, Row}
import org.apache.spark.sql.comet.execution.shuffle.{CometShuffleDependency, CometShuffleExchangeExec, CometShuffleManager}
import org.apache.spark.sql.connector.catalog.{Column, Identifier, InMemoryCatalog, InMemoryTableCatalog}
import org.apache.spark.sql.connector.distributions.Distributions
import org.apache.spark.sql.connector.expressions.Expressions._
import org.apache.spark.sql.connector.expressions.Transform
import org.apache.spark.sql.execution.adaptive.{AdaptiveSparkPlanHelper, AQEShuffleReadExec, ShuffleQueryStageExec}
Expand Down Expand Up @@ -128,16 +127,7 @@ abstract class CometColumnarShuffleSuite extends CometTestBase with AdaptiveSpar
columns: Array[Column],
partitions: Array[Transform],
catalog: InMemoryTableCatalog = catalog): Unit = {
catalog.createTable(
Identifier.of(Array("ns"), table),
columns,
partitions,
emptyProps,
Distributions.unspecified(),
Array.empty,
None,
None,
numRowsPerSplit = 1)
catalog.createTable(Identifier.of(Array("ns"), table), columns, partitions, emptyProps)
}

private def selectWithMergeJoinHint(t1: String, t2: String): String = {
Expand Down

0 comments on commit 932e15c

Please sign in to comment.