Skip to content

Commit 034f119

Browse files
committed
Kill dangerous trailing space in query string
1 parent 0bfd3af commit 034f119

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

sql/hive/src/test/resources/golden/Cast Timestamp to Timestamp in UDF-0-66952a3949d7544716fd1a675498b1fa renamed to sql/hive/src/test/resources/golden/Cast Timestamp to Timestamp in UDF-0-db6d4503454e4dbb9edcbab9a8718d7f

File renamed without changes.

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class HiveQuerySuite extends HiveComparisonTest {
164164

165165
createQueryTest("Cast Timestamp to Timestamp in UDF",
166166
"""
167-
| SELECT DATEDIFF(CAST(value AS timestamp), CAST('2002-03-21 00:00:00' AS timestamp))
167+
| SELECT DATEDIFF(CAST(value AS timestamp), CAST('2002-03-21 00:00:00' AS timestamp))
168168
| FROM src LIMIT 1
169169
""".stripMargin)
170170

0 commit comments

Comments
 (0)