forked from pixie-io/pixie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pixie-ioGH-573] Support
{start|end}_time=None
in px.DataFrame cons…
…tructor. Summary: - Changes the `px.DataFrame` constructor to default to `None` for both start and end times. - To support this, a change to the `MemorySourceNode` API was necessary, in order to set start and end time separately. - Changes `MemorySourceNode` to handle non-set start/stop times, differently depending on if `df.stream()` was called. - Removes special time handling from MergeNodesRule for MemorySource ops, as it was unnecessary because we only merge mem sources if they have identical time specs. Fixes pixie-io#573 Test Plan: Added many parameterized tests in memory_source_node_test. Existing tests pass. Skaffold deployed and streaming queries worked. Reviewers: #carnot, philkuz Reviewed By: #carnot, philkuz Subscribers: philkuz Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D12100 GitOrigin-RevId: c4ad4f8ece9af4cdaefc0bf4f4150a7ba1d092d7
- Loading branch information
1 parent
b2bbead
commit 47cf907
Showing
15 changed files
with
878 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.