We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 154abba commit 908253bCopy full SHA for 908253b
1 file changed
sql/hive/src/test/scala/org/apache/spark/sql/catalyst/ExpressionSQLBuilderSuite.scala
@@ -75,8 +75,8 @@ class ExpressionSQLBuilderSuite extends SQLBuilderTest {
75
checkSQL('a.int / 'b.int, "(`a` / `b`)")
76
checkSQL('a.int % 'b.int, "(`a` % `b`)")
77
78
- checkSQL(-'a.int, "(-`a`)")
79
- checkSQL(-('a.int + 'b.int), "(-(`a` + `b`))")
+ checkSQL(-'a.int, "(- `a`)")
+ checkSQL(-('a.int + 'b.int), "(- (`a` + `b`))")
80
}
81
82
test("window specification") {
0 commit comments