bkahloon commented on a change in pull request #2282:
URL: https://github.com/apache/iceberg/pull/2282#discussion_r586134795
##########
File path: spark2/src/main/java/org/apache/iceberg/spark/source/Reader.java
##########
@@ -193,6 +204,8 @@ private Expression filterExpression() {
private StructType lazyType() {
if (type == null) {
+ Preconditions.checkArgument(readTimestampWithoutZone ||
!hasTimestampWithoutZone(lazySchema()),
+ "Spark does not support timestamp without time zone fields");
Review comment:
I have been looking for a website to put as a reference in the error
message and I'm having a hard time finding a specific site that talks about
"Spark not supporting timestamp without timezone" fields. Could I maybe please
get some pointers as to where I should look. I saw some relevant information on
this site :
https://docs.databricks.com/spark/latest/dataframes-datasets/dates-timestamps.html
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]