gengliangwang commented on a change in pull request #26107: [SPARK-28885][SQL]
Follow ANSI store assignment rules in table insertion by default
URL: https://github.com/apache/spark/pull/26107#discussion_r334462841
##########
File path:
sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/HiveOrcQuerySuite.scala
##########
@@ -210,7 +210,9 @@ class HiveOrcQuerySuite extends OrcQueryTest with
TestHiveSingleton {
}
}
- test("SPARK-23340 Empty float/double array columns raise EOFException") {
+ // SPARK-28885 String value is not allowed to be stored as numeric type with
Review comment:
```
> spark.sql("select array()")
res0: org.apache.spark.sql.DataFrame = [array(): array<string>]
```
I think it makes more sense to make the type of empty array as `array<null>`.
How about create a jira for this and disable the test case for now?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]