Skip to content

Commit

Permalink
fix: create table like using mixed_hive
Browse files Browse the repository at this point in the history
  • Loading branch information
Aireed committed Feb 28, 2025
1 parent 49538d5 commit e346ab5
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,7 @@ case class RewriteMixedFormatCommand(sparkSession: SparkSession) extends Rule[Lo
targetTable.identifier)
val name = ResolvedDBObjectName(targetCatalog, seq)
CreateTable(name, table.schema(), table.partitioning(), tableSpec, ifNotExists)
case _ =>
provider.isDefined match {
case true =>
throw new UnsupportedOperationException(
s"format ${provider.get} does not support create table like command!!!")
case false => plan
}
case _ => plan
}
case _ => plan
}
Expand Down

0 comments on commit e346ab5

Please sign in to comment.