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

DM-27008: Allow a DeferredDatasetHandle to be passed to a Functor #427

Merged
merged 1 commit into from Dec 17, 2020

Conversation

timothydmorton
Copy link
Contributor

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.

@timothydmorton timothydmorton force-pushed the tickets/DM-27008 branch 3 times, most recently from e148ebb to 75b3849 Compare November 9, 2020 22:38
tests/test_functors.py Outdated Show resolved Hide resolved
@timothydmorton timothydmorton force-pushed the tickets/DM-27008 branch 2 times, most recently from 41cc821 to 8f04b16 Compare November 24, 2020 23:48
for x in y
]
)
)
Copy link
Contributor

Choose a reason for hiding this comment

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

This was definitely easier to read in its previous format.

@timothydmorton timothydmorton force-pushed the tickets/DM-27008 branch 2 times, most recently from 532498e to 6541e0b Compare December 16, 2020 18:14
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.
@timothydmorton timothydmorton merged commit 57095b0 into master Dec 17, 2020
@timothydmorton timothydmorton deleted the tickets/DM-27008 branch December 17, 2020 19:15
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.

None yet

2 participants