Allow a DeferredDatasetHandle to be passed to a Functor #445
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For gen3 compatibility, this allows for a DeferredDatasetHandle to be be passed to a functor's call method, rather than the gen2 parquet interface ParquetTable object. All currently tested Functor functionality is also tested here for the gen3 model. Backward compatibility with gen2 is maintained. N.B.: the gen3 functor performance will likely be slower than the gen2 performance; remains to be seen if this matters at all.
Further note, this commit had previously broken ci_hsc because of one line where I had accidentally left a
raise
instead of continuing on to use a.fail()
method (had been in there for debugging purposes and removal should pass ci_hsc).