Skip to content

Conversation

@mildbyte
Copy link
Contributor

In this case, Seafowl expects the metastore and the object store settings to be passed to it over the Flight RPC endpoint (when querying or writing) and will error out otherwise.

This required some weird refactoring because so many things assume there is a "default" object store and a metastore, so all SeafowlContext methods that want to access the internal default object store for writes now do it through a method that errors out if it's not set up. For the metastore, this change defines an EmptyMetastore that errors if Seafowl actually tries to use it.

In this case, Seafowl expects the metastore and the object store settings
to be passed to it over the Flight RPC endpoint (when querying or writing)
and will error out otherwise.

This required some weird refactoring because so many things assume there is
a "default" object store and a metastore, so all SeafowlContext methods that
want to access the internal default object store for writes now do it through a method
that errors out if it's not set up. For the metastore, this change defines an
EmptyMetastore that errors if Seafowl actually tries to use it.
@mildbyte mildbyte requested a review from gruuya August 13, 2024 10:54
},
cmd @ CreateExternalTable { .. },
)) => {
// Replace the table name with the fully qualified one that has our staging schema
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was refactored out into prepare_create_external_table without any logic changes

@PJMODOS
Copy link

PJMODOS commented Aug 13, 2024

So how do I use this, do I simply skip [catalog] part of config?

@mildbyte
Copy link
Contributor Author

@PJMODOS Yeah, both catalog and object_store can now be skipped completely

@mildbyte mildbyte merged commit 9d8b234 into main Aug 13, 2024
@mildbyte mildbyte deleted the feature/run-seafowl-in-inline-mode branch August 13, 2024 12:15
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.

4 participants