Skip to content

Conversation

@N-o-Z
Copy link
Member

@N-o-Z N-o-Z commented Oct 28, 2025

Add iceberg endpoints to lakeFS swagger

@N-o-Z N-o-Z requested review from itaigilo and nopcoder October 28, 2025 17:03
@N-o-Z N-o-Z self-assigned this Oct 28, 2025
@N-o-Z N-o-Z added exclude-changelog PR description should not be included in next release changelog minor-change Used for PRs that don't require issue attached labels Oct 28, 2025
Copy link
Contributor

@nopcoder nopcoder left a comment

Choose a reason for hiding this comment

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

LGTM - added comment related to namespace type.

api/swagger.yml Outdated
Comment on lines 2031 to 2033
namespace:
type: string
description: Remote table namespace
Copy link
Contributor

Choose a reason for hiding this comment

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

Relevant to other places in this file - namespace is '[]string', there are places and we can represent it as 'string', suggest to add in the description or by example if we are using '.' as separator between level or the character 0x1f (Unit Separator).

Copy link
Member Author

Choose a reason for hiding this comment

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

Aligned with iceberg spec behavior

Copy link
Contributor

@itaigilo itaigilo left a comment

Choose a reason for hiding this comment

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

Thanks @N-o-Z -

Shouldn't we add experimental to these endpoints?


func (c *Controller) PullIcebergTable(w http.ResponseWriter, r *http.Request, body apigen.PullIcebergTableJSONRequestBody, catalog string) {
// TODO implement me
panic("implement me")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
panic("implement me")
writeError(w, r, http.StatusNotImplemented, "Not implemented")


func (c *Controller) PushIcebergTable(w http.ResponseWriter, r *http.Request, body apigen.PushIcebergTableJSONRequestBody, catalog string) {
// TODO implement me
panic("implement me")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
panic("implement me")
writeError(w, r, http.StatusNotImplemented, "Not implemented")

description: Remote table namespace
table:
type: string
description: Remote table name
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here - maybe add table name limitations here.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure which limitations you're referring to.
Did you mean to provide a regex? If so I'm not sure it's necessary - especially since we don't control the Iceberg spec which can change at any given time

@N-o-Z
Copy link
Member Author

N-o-Z commented Oct 30, 2025

Thanks @N-o-Z -

Shouldn't we add experimental to these endpoints?

Experimental is usually added to functionality we are not sure we plan to deliver and want to leave the possibility of it removed open, or - when the functionality is not yet properly defined, unstable or is prone to changes.
In the current context this is not relevant

@N-o-Z N-o-Z enabled auto-merge (squash) October 30, 2025 04:14
@N-o-Z N-o-Z requested a review from itaigilo October 30, 2025 04:40
@N-o-Z N-o-Z merged commit 5f9e351 into master Nov 2, 2025
42 checks passed
@N-o-Z N-o-Z deleted the task/add-iceberg-endpoints branch November 2, 2025 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exclude-changelog PR description should not be included in next release changelog minor-change Used for PRs that don't require issue attached

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants