skambha opened a new issue #1324:
URL: https://github.com/apache/iceberg/issues/1324
The SQL command to add the new required column succeeds, but the metadata
still shows the column as not required.
Spark3:
```
scala> spark.sql("CREATE TABLE local.t1 (id int COMMENT 'unique id', data
string not null) USING iceberg")
res0: org.apache.spark.sql.DataFrame = []
scala> spark.sql("ALTER TABLE local.t1 ADD COLUMN time int NOT NULL")
res1: org.apache.spark.sql.DataFrame = []
scala> spark.table("local.t1").printSchema
root
|-- id: integer (nullable = true)
|-- data: string (nullable = false)
|-- time: integer (nullable = true)
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]