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: add table reader #8

Merged
merged 2 commits into from
Sep 6, 2024
Merged

feat: add table reader #8

merged 2 commits into from
Sep 6, 2024

Conversation

farbodahm
Copy link
Collaborator

This PR:

  • Add a table reader class
  • Add related tests

Returns:
str: The fully qualified table name in the format "catalog_name.database_name.table_name".
"""
return f"{self.catalog_name}.{self.database_name}.{self.table_name}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we consider this format only works/is required for Iceberg tables?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Have look at test_read_table test. Non-Iceberg table is also working with this format.

src/sparkle/config/__init__.py Outdated Show resolved Hide resolved
@farbodahm farbodahm merged commit fc4933c into main Sep 6, 2024
2 checks passed
@farbodahm farbodahm deleted the feature/add-iceberg-reader branch September 6, 2024 08:03
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