-
Notifications
You must be signed in to change notification settings - Fork 238
feat: Add rest catalog support for playground #1220
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for building this!
The only thing left is the conflicts. |
[[catalogs]] | ||
name = "demo" | ||
type = "rest" | ||
uri = "http://localhost:8080" | ||
warehouse = "s3://iceberg-demo" | ||
|
||
[catalogs.props] | ||
"s3.endpoint" = "http://localhost:9000" | ||
"s3.access_key_id" = "admin" | ||
|
||
|
||
[[catalogs]] | ||
name = "demo2" | ||
type = "rest" | ||
uri = "http://localhost2:8080" | ||
warehouse = "s3://iceberg-demo2" | ||
|
||
[catalogs.props] | ||
"s3.endpoint" = "http://localhost2:9090" | ||
"s3.access_key_id" = "admin2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use a format like this:
i.e., put name
in the table, instead using Array of tables. I think this can be more user-friendly.
The main reason is that [catalogs.props]
is not very clear which catalog does it belong to.
[catalogs.demo]
type = "rest"
uri = "http://localhost:8080/"
warehouse = "s3://iceberg-demo"
[catalogs.demo.props]
"s3.endpoint" = "http://localhost:9000/"
"s3.access_key_id" = "admin"
[catalogs.demo2]
type = "rest"
uri = "http://localhost2:8080/"
warehouse = "s3://iceberg-demo2"
[catalogs.demo2.props]
"s3.endpoint" = "http://localhost2:9090/"
"s3.access_key_id" = "admin2"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me. I'm planning to close this pr and replace with catalog builder.
Close this pr to replace it with catalog builder api. |
Which issue does this PR close?
What changes are included in this PR?
Add support for rest catalog.
Are these changes tested?
UT.