We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99fc139 commit f4cf2c2Copy full SHA for f4cf2c2
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala
@@ -162,7 +162,7 @@ class CodeGenContext {
162
* Generate code for equal expression in Java
163
*/
164
def genEqual(dataType: DataType, c1: String, c2: String): String = dataType match {
165
- case BinaryType => s"java.util.Arrays.equals($c1, $c2)"
+ case BinaryType => s"java.util.Arrays.equals($c1, $c2)"
166
case IntegerType | BooleanType | LongType | DoubleType | FloatType | ShortType | ByteType
167
| DateType => s"$c1 == $c2"
168
case other => s"$c1.equals($c2)"
0 commit comments