iceberg icon indicating copy to clipboard operation
iceberg copied to clipboard

Docs: Add clear indicators for required fields in Spark syntax on CREATE TABLE.

Open bitsondatadev opened this issue 2 years ago • 4 comments

Is there a way to set a table column as an identifier field and required field using Spark DDL? I’m not seeing anything here … https://iceberg.apache.org/docs/latest/spark-ddl/ … which I assume means that I would need to use the Iceberg lib directly?

This same question came up in OSS slack recently. There are no docs on the "not null" spark syntax for making a column required in the Spark docs or the iceberg docs.

bitsondatadev avatar Jan 22 '24 16:01 bitsondatadev

Hi team, may I take a look on this issue?

danielhumanmod avatar Aug 17 '24 07:08 danielhumanmod

But I notice information about "NOT NULL" syntax are already added in both CREATE TABLE and ALTER TABLE in https://iceberg.apache.org/docs/latest/spark-ddl/ , is it still a open issue or solved one?

danielhumanmod avatar Aug 17 '24 08:08 danielhumanmod

This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

github-actions[bot] avatar Feb 14 '25 00:02 github-actions[bot]

This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'

github-actions[bot] avatar Feb 28 '25 00:02 github-actions[bot]