You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/03/17 14:18:30 UTC

[GitHub] [iceberg] RussellSpitzer commented on issue #2341: spark-procedures Metadata management expire_snapshots is not worked

RussellSpitzer commented on issue #2341:
URL: https://github.com/apache/iceberg/issues/2341#issuecomment-801118492


   Unfortunately, because we use a parser extension, the procedures do not allow arbitrary expressions  to be passed to them. This is why "now()" is throwing an error.
   
   Currently we support only constants and stringMaps,
   
   https://github.com/apache/iceberg/blob/master/spark3-extensions/src/main/antlr/org.apache.spark.sql.catalyst.parser.extensions/IcebergSqlExtensions.g4#L113-L116


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org