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

Add Snowflake catalog #687

Closed
wants to merge 4 commits into from
Closed

Conversation

prabodh1194
Copy link

@prabodh1194
Copy link
Author

I have added the apache license to the file headers now. the failing check shud start passing now.

@prabodh1194 prabodh1194 force-pushed the snowflake_catalog branch 3 times, most recently from e83c251 to 0758028 Compare May 7, 2024 17:28
@Fokko Fokko added this to the PyIceberg 0.7.0 release milestone May 8, 2024
@kevinjqliu kevinjqliu mentioned this pull request May 14, 2024
39 tasks
@Fokko Fokko changed the title define snowflake catalog Add Snowflake catalog May 29, 2024
@prabodh1194 prabodh1194 requested a review from questsul June 8, 2024 15:51
@djouallah
Copy link

any updates on this, it is something, I would like to use.

@q0-0n
Copy link

q0-0n commented Jun 25, 2024

Is Azure Data Lake Storage supported as well with this new feature?

else:
warnings.warn(f"Unsupported filesystem scheme: {_fs_scheme.scheme}")

tbl = StaticTable.from_metadata(metadata, properties=_fs_props)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you return a StaticTable here instead of a full Table?

Copy link

@ccollingwoodAutodesk ccollingwoodAutodesk Oct 14, 2024

Choose a reason for hiding this comment

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

Although this PR seems to be more about Snowflake reading Iceberg tables rather than managing them it's probably worth mentioning the following.
Reading Snowflake generated metadata.json files may pose an issue. See #1106 for more details. Snowflake produces metadata files with some snapshot summary entries missing operation field.

)

sf_query = "DROP SCHEMA IF EXISTS (%s)"
db_query = "DROP DATABASE IF EXISTS (%s)"
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to drop the database as well? I would expect only the schema.

@Fokko
Copy link
Contributor

Fokko commented Jul 5, 2024

@prabodh1194 Thanks for working on this. What are your thoughts on Snowflake adding REST catalog support, would this still be needed?

Could you also make sure that you add this catalog under the docs mkdocs/?

@prabodh1194
Copy link
Author

@Fokko , considering that snowflake's rest catalog docs are still not released to public, we can only wait for it. However, I believe that this PR will continue to be relevant considering this catalog has been GA for quite sometime and won't go away any time soon 😄 .

@prabodh1194
Copy link
Author

closing as I won't be able to continue with this PR now.

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.

7 participants