Skip to content

Commit

Permalink
Add parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
mattharder91 committed May 9, 2024
1 parent f669e59 commit 1703391
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,11 @@ object CometCast {
}

private def canCastToBinary(toType: DataType): SupportLevel = toType match {
case DataTypes.BooleanType => Compatible
case DataTypes.BooleanType => Compatible()
case DataTypes.ByteType | DataTypes.ShortType | DataTypes.IntegerType | DataTypes.LongType =>
Compatible
case DataTypes.DateType => Compatible
case DataTypes.TimestampType => Compatible
Compatible()
case DataTypes.DateType => Compatible()
case DataTypes.TimestampType => Compatible()
case _ => Unsupported
}
}

0 comments on commit 1703391

Please sign in to comment.