Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jovanm-db committed Nov 21, 2024
1 parent 7955152 commit 340d5c8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ import org.apache.spark.annotation.Experimental
import org.apache.spark.sql.catalyst.util.CollationFactory

@Experimental
case class CharType(length: Int)
extends StringType(CollationFactory.UTF8_BINARY_COLLATION_ID) {
case class CharType(length: Int) extends StringType(CollationFactory.UTF8_BINARY_COLLATION_ID) {
require(length >= 0, "The length of char type cannot be negative.")

override def equals(o: Any): Boolean = o match {
Expand Down

0 comments on commit 340d5c8

Please sign in to comment.