wangyum commented on code in PR #37574:
URL: https://github.com/apache/spark/pull/37574#discussion_r958049599
##########
connector/avro/src/test/scala/org/apache/spark/sql/avro/AvroSuite.scala:
##########
@@ -1181,14 +1181,16 @@ abstract class AvroSuite
sql("select interval 1
days").write.format("avro").mode("overwrite").save(tempDir)
}.getMessage
assert(msg.contains("Cannot save interval data type into external
storage.") ||
- msg.contains("AVRO data source does not support interval data
type."))
+ msg.contains("column `interval 1 days` has a data type of interval,
" +
+ "which is not supported by avro."))
Review Comment:
It should be:
```
Column `INTERVAL '1' DAY` has a data type of interval, which is not
supported by Avro.
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]