Skip to content

Commit 65296c8

Browse files
committed
improve code
1 parent 6827fd7 commit 65296c8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive

extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveConnectorUtils.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ object HiveConnectorUtils extends Logging {
5151
classOf[Option[_]])
5252
.build[Expression]()
5353

54-
// Reflection-based constructor lookup to keep compatible
55-
// with the Cast constructor signature change introduced by SPARK-40054: 3.4.0.
54+
// Compat for Cast ctor signature change in SPARK-40054: 3.4.0.
5655
def castExpression(
5756
child: Expression,
5857
dataType: DataType,

0 commit comments

Comments
 (0)