monologuist commented on PR #9423:
URL: https://github.com/apache/iceberg/pull/9423#issuecomment-2792099834

   @nastra Hello, could you please tell me how to correctly create an Iceberg 
view in Spark?
   I followed the instructions on the official website 
(https://iceberg.apache.org/docs/1.6.1/spark-ddl/#iceberg-views-in-spark) and 
created a view based on Spark 3.4 and Iceberg 1.6.1. The statement I used is 
"create view as {query}", and the Iceberg table involved in the "{query}" 
actually exists. However, there is no metadata information of this view in my 
HDFS path. It seems that the view I created is a Spark view (I think the 
correct Iceberg view should be like the example shown here: 
https://iceberg.apache.org/view-spec/#appendix-a-an-example). I want to create 
an Iceberg view correctly, but I haven't found more instructions on the 
official website.
   
![image](https://github.com/user-attachments/assets/024b8dfa-4072-4c63-80cc-80aa1a7c971f)
   
![image](https://github.com/user-attachments/assets/234575f4-9dcd-4e14-bc67-f19ec29e7ef7)
   
![image](https://github.com/user-attachments/assets/73347010-267c-4a01-adad-82d657fbf0fd)
   


-- 
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-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to