Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
YannByron committed Aug 1, 2024
1 parent 248cd9c commit c075984
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ class PaimonAnalysis(session: SparkSession) extends Rule[LogicalPlan] {
val outputAttr = output
.find(t => session.sessionState.conf.resolver(t.name, attr.name))
.getOrElse {
throw new RuntimeException("xxx")
throw new RuntimeException(
s"Cannot find ${attr.name} in data columns: ${output.map(_.name).mkString(", ")}")
}
addCastToColumn(outputAttr, attr)
}
Expand Down

0 comments on commit c075984

Please sign in to comment.