Skip to content

Support customized header in Rest catalog client #292

@flyrain

Description

@flyrain

Java and Python clients support customized http header. Rust client needs to support that as well.

Here is a Java client configuration example:

--conf spark.sql.catalog.rest.header.X-CUSTOMIZED-HEADER=default

Here is a Python config example:

catalog:
  default:
    uri: http://localhost:8082/
    header.X-CUSTOMIZED-HEADER: default

cc @Fokko @RussellSpitzer @liurenjie1024 @himadripal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions