Skip to content

V0.1.1 : pytest for BigQueryToCSV.extract() #83

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

Draft
wants to merge 25 commits into
base: develop
Choose a base branch
from
Draft

Conversation

tusharchou
Copy link
Owner

@tusharchou tusharchou commented Nov 4, 2024

Please review this test and the code changes along with it

Screenshot 2024-11-05 at 12 44 49 PM

name: Pull request
about: Implement an solution for this project
title: ''
labels: ''
assignees: ''


Is your pull request related to a issue? Please tag.

Describe the solution you have implemented

Describe why alternatives you considered are not optimal
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the pull request here.

@tusharchou tusharchou self-assigned this Nov 4, 2024
@tusharchou tusharchou linked an issue Nov 4, 2024 that may be closed by this pull request
11 tasks
and config.metadata["source"]["engine"] == SupportedEngine.BIGQUERY.value
):
data_loader = BigQueryToCSV(config=config)
data_loader.load()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Todo: Write test cases

@mrutunjay-kinagi mrutunjay-kinagi self-requested a review November 5, 2024 12:36
@mrutunjay-kinagi
Copy link
Collaborator

Please Add Test case for the following functionalities :

  1. BigQuery.get()
  2. BigQuery.put()
  3. CSV.get()
  4. CSV.put()
  5. Iceberg.get()
  6. Iceberg.put()
  7. Parquet.get()
  8. Parquet.put()

session_catalog=catalog,
identifier = identifier
)
stats = table_statistics_from_iceberg_metadata(
Copy link
Owner Author

Choose a reason for hiding this comment

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

#1 I am trying to solve for the statistics here @rakhioza07 @redpheonixx

from local_data_platform.store.dimension import Dimension
from local_data_platform.product.vocab import Vocab

def test_get():
Copy link
Owner Author

Choose a reason for hiding this comment

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

Love how simple this is 🥇

topic: pyiceberg
subject: table.metadata.partition.count()
to-do: pytest table.count()
eta: Nov 28
topic: pyiceberg
subject: table.scan().count()
to-do: implement table.scan().count()
eta: Nov 28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0.1.2 Testing pyiceberg 0.8.1 feature requests
3 participants