kunal-nandwana opened a new issue, #5548:
URL: https://github.com/apache/iceberg/issues/5548

   ### Query engine
   
   Spark
   
   ### Question
   
   Hi Team.
   Currently I am using Iceberg in my project, so I am having one double in 
that.
   
   My Current Scenario:
   
   1. I have loaded the data into my Iceberg table using spark data frame(this 
is my doing through spark job)
   
   **df.writeTo("catalog.my.test2").using("iceberg").create()**
   
   2. Now From source side I have added two colums and started the Job which is 
doing merge
   
   **df.createOrReplaceTempView("myview")
   spark.sql("MERGE INTO catalog.mydb.test2 as t USING (SELECT * FROM myview) 
as s ON t.id = s.id WHEN MATCHED THEN UPDATE SET * WHEN NOT MATCHED THEN INSERT 
*")**
   
   Doing both of these step I am expecting new columns to be added into the 
target table but it did not worked,
   
   **As I can Iceberg Support full schema evolution.. What does it means..Which 
is not adding any columns dynamically to my target table.**
   
   Please help how can I achieve adding new columns into my target table 
dynmically.
   
   


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