Skip to content
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

feat(iceberg): support sql catalog interface #4

Closed
wants to merge 2 commits into from

Conversation

Li0k
Copy link

@Li0k Li0k commented Sep 14, 2024

Introducing a partial implementation of sql catalog (support the functionality used by rw)

  1. list_tables
  2. create_table
  3. drop_table
  4. update_table
  5. UT

@Li0k Li0k requested review from chenzl25 and xxhZs September 14, 2024 15:42
Comment on lines 616 to +623
async fn create_table(
&self,
_namespace: &NamespaceIdent,
_creation: TableCreation,
namespace: &NamespaceIdent,
creation: TableCreation,
) -> Result<Table> {
todo!()
if !self.namespace_exists(namespace).await? {
return no_such_namespace_err(namespace);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you please help to check when the catalog table iceberg_tables is created? Because when we use JNI catalog to create a table, it will initialize the catalog iceberg_tables (i.e. create table iceberg_tables) for us.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

The catalog table iceberg_tables will be created when Create new sql catalog instance

@xxchan xxchan changed the base branch from main to dev September 25, 2024 12:46
@Li0k Li0k closed this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants