-
Notifications
You must be signed in to change notification settings - Fork 249
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
Csvtransform #1671
Csvtransform #1671
Conversation
def result_command(ctx: click.Context): | ||
if ctx is not None: | ||
filename = ctx.obj[RUN_LEVEL_PARAMS_KEY].get('filename') | ||
if os.path.exists(filename): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you create a new PR? this PR should not contain these changes.
Signed-off-by: ChungYujoyce <joyce.bhps@gmail.com>
Signed-off-by: ChungYujoyce <joyce.bhps@gmail.com>
4dc0052
to
7261202
Compare
Codecov Report
@@ Coverage Diff @@
## master #1671 +/- ##
==========================================
+ Coverage 71.00% 71.03% +0.02%
==========================================
Files 336 336
Lines 30788 30839 +51
Branches 5587 5592 +5
==========================================
+ Hits 21862 21906 +44
+ Misses 8379 8376 -3
- Partials 547 557 +10
|
tests/flytekit/unit/types/structured_dataset/test_structured_dataset_workflow.py
Outdated
Show resolved
Hide resolved
class PandasToCSVEncodingHandler(StructuredDatasetEncoder): | ||
def __init__(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to register the handler in this file
Signed-off-by: Joyce Huang (System) <Joyce_Huang@supermicro.com>
…ataset_workflow.py
Signed-off-by: ChungYujoyce <joyce.bhps@gmail.com> Signed-off-by: Joyce Huang (System) <Joyce_Huang@supermicro.com> Signed-off-by: Kevin Su <pingsutw@apache.org> Co-authored-by: Joyce Huang (System) <Joyce_Huang@supermicro.com> Co-authored-by: Kevin Su <pingsutw@gmail.com> Co-authored-by: Kevin Su <pingsutw@apache.org>
Data Type transformation (Pandas <-> CSV) and its unit tests
Type
Are all requirements met?
Complete description
add an encoder and decoder for pandas <-> CSV transformation
Tracking Issue
https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA
OR
https://github.com/flyteorg/flyte/issues/