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/07/05 05:52:46 UTC
[GitHub] [iceberg] pan3793 commented on issue #2348: Iceberg Extensions Parser Should Allow Generic Expressions as Call Args
pan3793 commented on issue #2348:
URL: https://github.com/apache/iceberg/issues/2348#issuecomment-873822252
> ... currently only support a very limited set of Spark expressions as call arguments.
Hi, @RussellSpitzer, before finding the final solution to support generic expressions as call args, could you please list the supported expressions now?
The examples in documents still not work now (iceberg master branch with spark 3.1).
```
E, statement: CALL iceberg.system.expire_snapshots(table => 'cdc_wenjuan.member', older_than => now(), retain_last => 1), time taken: 0.004 seconds
Error: Error operating EXECUTE_STATEMENT: org.apache.spark.sql.catalyst.parser.extensions.IcebergParseException:
mismatched input '(' expecting STRING(line 1, pos 85)
== SQL ==
CALL iceberg.system.expire_snapshots(table => 'cdc_wenjuan.member', older_than => now(), retain_last => 1)
-------------------------------------------------------------------------------------^^^
at org.apache.spark.sql.catalyst.parser.extensions.IcebergParseException.withCommand(IcebergSparkSqlExtensionsParser.scala:294)
at org.apache.spark.sql.catalyst.parser.extensions.IcebergSparkSqlExtensionsParser.parse(IcebergSparkSqlExtensionsParser.scala:158)
```
--
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: issues-unsubscribe@iceberg.apache.org
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