romibuzi commented on issue #4510:
URL: https://github.com/apache/iceberg/issues/4510#issuecomment-1161321533

   Hi @itaise, 
   you need to change the partition specs of your table before writing the data 
with the new partition:
   
   ```
   spark.sql("ALTER TABLE my_iceberg_catalog.db.vaccinations DROP PARTITION 
FIELD some_date")
   spark.sql("ALTER TABLE my_iceberg_catalog.db.vaccinations ADD PARTITION 
FIELD some_date_2")
   ```
   
   This will not drop `some_date` from your data but only metadata


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