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 19, 2024
1 parent 0809b25 commit 9918010
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import org.apache.spark.sql.catalyst.util.CollationFactory

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

override def equals(o: Any): Boolean = o match {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import org.apache.spark.sql.catalyst.util.CollationFactory

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

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

0 comments on commit 9918010

Please sign in to comment.