Skip to content

feat: enable read_csv() to process other files #940

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

Merged
merged 7 commits into from
Sep 5, 2024

Conversation

chelsea-lin
Copy link
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue(internal issue 361420947) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes internal issue 361420947 🦕

@chelsea-lin chelsea-lin requested a review from GarrettWu August 29, 2024 19:16
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Aug 29, 2024
@chelsea-lin chelsea-lin force-pushed the main_chelsealin_readcsvwebfile branch from 1e6b93a to b952e30 Compare August 29, 2024 19:32
@chelsea-lin chelsea-lin force-pushed the main_chelsealin_readcsvwebfile branch from b952e30 to fa68d2d Compare September 1, 2024 01:17
@chelsea-lin chelsea-lin marked this pull request as ready for review September 1, 2024 01:18
@chelsea-lin chelsea-lin requested review from a team as code owners September 1, 2024 01:18
],
)
def test_read_csv_others(session, scalars_pandas_df_index, engine):
# TODO: Update to `main` branch after merging https://github.com/googleapis/python-bigquery-dataframes/pull/938
Copy link
Contributor

Choose a reason for hiding this comment

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

already merged?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

"bigquery",
id="bq_engine",
marks=pytest.mark.xfail(
raises=NotImplementedError,
Copy link
Contributor

Choose a reason for hiding this comment

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

So it only available in default engine? We should update the docs to be explicit. Also should update the doc that we support global paths(currently says local only).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! Done.

@chelsea-lin chelsea-lin enabled auto-merge (squash) September 4, 2024 23:24
@chelsea-lin chelsea-lin merged commit 3b35860 into main Sep 5, 2024
22 of 23 checks passed
@chelsea-lin chelsea-lin deleted the main_chelsealin_readcsvwebfile branch September 5, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants