singhpk234 opened a new pull request, #4707:
URL: https://github.com/apache/iceberg/pull/4707

   At present `AS OF` grammar is not supported in SPARK-SQL (was added in Spark 
3.3 via [SPARK-37219](https://issues.apache.org/jira/browse/SPARK-37219)).
   
   On digging more in the code found that there was a work-around adopted by 
the community until this grammar is supported in SPARK itself, by using 
`at_timestamp_`, `snapshot_id_` 
   
https://github.com/apache/iceberg/blob/bf582ebf68ea05be26f38d786584d474aebe048b/spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/SparkCatalog.java#L545-L555
   
   
   Presently the docs stated `Time travel is not yet supported by Spark's SQL 
syntax.` which can be worked around with the functionalities present. This PR 
attempts to document that.
   
   --- 
   
   cc @rdblue @jackye1995  @RussellSpitzer


-- 
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]

Reply via email to