Skip to content

Need to add the fs. for the UCHadoopConf keys #1112

Closed

Description

@openinx

When I tried to add the it test for the AwsVendedTokenProvider, I found that the delta will filter those keys without fs. prefix automatically.

The code path is here:

https://github.com/delta-io/delta/blob/4dae6aa552858c71632b16e6167bc61317c639e3/spark/src/main/scala/org/apache/spark/sql/delta/commands/CreateDeltaTableCommand.scala#L131-L133

So if we want to those configure keys go though the delta tables, and finally go inside the S3AFileSystem or AbfsFileSystem, or GoogleGcsFileSystem. Then we must add the fs. prefix, otherwise those configure keys won't take any affects.

https://github.com/unitycatalog/unitycatalog/blob/main/connectors/spark/src/main/scala/io/unitycatalog/spark/UCHadoopConf.java#L15-L39

Open an issue here, will try to address this via a new PR.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions