Views are currently not supported by Iceberg, but are under active development. You can check the current status of Iceberg View support here <https://github.com/apache/iceberg/projects/29>.
Eduard On Mon, Sep 25, 2023 at 8:39 PM Agrawal, Sanket <sankeagra...@deloitte.com.invalid> wrote: > Hello Everyone, > > > > We have setup spark and setup everything as mentioned at > https://iceberg.apache.org/docs/latest/aws/ to integrate Spark, Iceberg, > and AWS Glue Catalog. We are able to read tables through this but we are > unable to read data through views. PFB, the error: > > > > pyspark.errors.exceptions.captured.AnalysisException: > [TABLE_OR_VIEW_NOT_FOUND] The table or view `db`.`vw_name ` cannot be > found. Verify the spelling and correctness of the schema and catalog. > > If you did not qualify the name with a schema, verify the current_schema() > output, or qualify the name with the correct schema and catalog. > > To tolerate the error on drop use DROP VIEW IF EXISTS or DROP TABLE IF > EXISTS.; line 1 pos 14; > > 'GlobalLimit 1 > > +- 'LocalLimit 1 > > +- 'Project [*] > > +- 'UnresolvedRelation [db, vw_name], [], false > > > > > > Any help or guidance would be of great help. > > > > Thank You, > > Sanket A. > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose, and is protected by law. If > you are not the intended recipient, you should delete this message and any > disclosure, copying, or distribution of this message, or the taking of any > action based on it, by you is strictly prohibited. > > Deloitte refers to a Deloitte member firm, one of its related entities, or > Deloitte Touche Tohmatsu Limited ("DTTL"). Each Deloitte member firm is a > separate legal entity and a member of DTTL. DTTL does not provide services > to clients. Please see www.deloitte.com/about to learn more. > > v.E.1 >