junmuz opened a new issue, #6793:
URL: https://github.com/apache/paimon/issues/6793

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   
   ### Paimon version
   
   1.3.1
   
   ### Compute Engine
   
   Spark
   
   ### Minimal reproduce step
   
   Create a data frame and write it to Paimon 
   
   ```
   data = [(1, "Alice", 29), (2, "Bob", 35)]
   cols = ["id", "name", "age"]
   df = spark.createDataFrame(data, schema=cols)
   df.write.format("paimon").option("primary-key", 
"id").option("metadata.iceberg.previous-versions-max", 
"24").saveAsTable("paimon.test.table")
   spark.sql("SHOW CREATE TABLE paimon.test.table").show(truncate=False)
   ```
   
   ### What doesn't meet your expectations?
   
   The IcebergOptions should be added when the table is created similar to the 
CoreOptions.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


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

Reply via email to