Skip to content

Spark: Show owner while describing views w/ extended info #13293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hsiang-c
Copy link
Contributor

@hsiang-c hsiang-c commented Jun 10, 2025

In Apache Spark, the Owner property is shown when we DESCRIBE EXTENDED an Iceberg table, see DescribeTableExec and

  // From sql/catalyst/src/main/scala/org/apache/spark/sql/connector/catalog/CatalogV2Util.scala
  val TABLE_RESERVED_PROPERTIES =
    Seq(TableCatalog.PROP_COMMENT,
      TableCatalog.PROP_COLLATION,
      TableCatalog.PROP_LOCATION,
      TableCatalog.PROP_PROVIDER,
      TableCatalog.PROP_OWNER,
      TableCatalog.PROP_EXTERNAL,
      TableCatalog.PROP_IS_MANAGED_LOCATION,
      TableCatalog.PROP_TABLE_TYPE)

It is helpful to show the owner of Iceberg views as well.

@github-actions github-actions bot added the spark label Jun 10, 2025
@hsiang-c
Copy link
Contributor Author

cc @amogh-jahagirdar @nastra Please take a look for me when you have time, thanks!

Copy link
Contributor

@singhpk234 singhpk234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[doubt] Does owner means something in iceberg world ? Also does iceberg spark extensions stores owner property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants