Skip to content

Spark: Session level Iceberg table config defaults #2270

Description

@karuppayya

An organization may want all iceberg tables created to have certain TBLPROPERTIES.
Currently, such properties have to be specified in every CREATE command. There is high possibilty of it getting missed
There is no way to specify such properties, such that it gets applied to all table creation.
Couple of questions.

  1. Should we introduce a mechanism to add some default properties that affects all tables.(Say spark.iceberg,defaults.prop1=value1, all properties with prefix spark.iceberg.defaults will go to TBLPROPERTIES).
  2. Should such functionality be introduced in Spark(can be useful to other datasources as well) or in iceberg?
    Thoughts? @aokolnychyi @RussellSpitzer @rdblue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions