Skip to content

Commit 7c264b0

Browse files
committed
CI on forked branches
1 parent dd66e4e commit 7c264b0

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

dev/diffs/4.1.2.diff

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,19 @@ index ede5d285932..c9a8abb5a94 100644
16621662
import testImplicits._
16631663

16641664
before {
1665+
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionAnsiErrorsSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionAnsiErrorsSuite.scala
1666+
index 64bb5a289b3..9041a2dfb2c 100644
1667+
--- a/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionAnsiErrorsSuite.scala
1668+
+++ b/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionAnsiErrorsSuite.scala
1669+
@@ -291,7 +291,7 @@ class QueryExecutionAnsiErrorsSuite extends QueryTest
1670+
sql("create table patterns(pattern string) using parquet")
1671+
sql("insert into patterns values ('yyyyMMddHHMIss')")
1672+
checkError(
1673+
- exception = intercept[SparkRuntimeException] {
1674+
+ exception = intercept[SparkException] {
1675+
sql("select to_timestamp('20231225143045', pattern) from patterns").collect()
1676+
},
1677+
condition = "INVALID_DATETIME_PATTERN.WITH_SUGGESTION",
16651678
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala
16661679
index fcecaf25d4c..e5a511022cc 100644
16671680
--- a/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala

0 commit comments

Comments
 (0)