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

Using the new tables_io functions for the parquet file iterator #107

Merged
merged 1 commit into from
May 1, 2024

Conversation

joselotl
Copy link
Contributor

@joselotl joselotl commented Apr 30, 2024

Problem & Solution Description (including issue #)

Code Quality

  • My code follows the code style of this project
  • I have written unit tests or justified all instances of #pragma: no cover; in the case of a bugfix, a new test that breaks as a result of the bug has been added
  • My code contains relevant comments and necessary documentation for future maintainers; the change is reflected in applicable demos/tutorials (with output cleared!) and added/updated docstrings use the NumPy docstring format
  • Any breaking changes, described above, are accompanied by backwards compatibility and deprecation warnings

@joselotl joselotl linked an issue Apr 30, 2024 that may be closed by this pull request
3 tasks
@joselotl
Copy link
Contributor Author

joselotl commented May 1, 2024

@sidneymau If you have time, maybe you could try to run directly one estimator using directly your parquet files to see if this fix works.

@eacharles
Copy link
Collaborator

eacharles commented May 1, 2024 via email

@hangqianjun
Copy link
Contributor

I think that tables_io.io.getInputDataLength just decides function to call based on the type of data. I.e. it calls tables_io.io.getInputDataLengthPq or Hdf5, or whatever.

Yes exactly. I thought getInputDataLength already has the functionality so we can use it instead of getInputDataLengthPq. However it's no big issue, as the code still works! It just made me go look up the difference between the two when I saw this, and that's why I raised the question! Happy to approve the PR.

@eacharles
Copy link
Collaborator

eacharles commented May 1, 2024 via email

@hangqianjun
Copy link
Contributor

So, to be clear, if you know what type of data you have you should probably call the appropriate function directly.   But if you aren’t sure, then you should call the generic function.-e

I see! Thanks for the explanation!

Copy link
Collaborator

@eacharles eacharles left a comment

Choose a reason for hiding this comment

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

Thanks Josue

@joselotl joselotl merged commit 6ab0390 into main May 1, 2024
5 checks passed
@joselotl joselotl deleted the 116-estimation-with-parquet-files-not-working branch May 1, 2024 21:57
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.

Estimation with Parquet files not working
3 participants