-
Notifications
You must be signed in to change notification settings - Fork 505
ORC-1198: Add a new PhysicalFsWriter constructor with FSDataOutputStream parameter
#1153
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
Conversation
|
@dongjoon-hyun Could you help me to approve this pr? |
|
Thank you for making a PR, @liujiawinds . Sure, I clicked |
| } | ||
| } | ||
|
|
||
| public PhysicalFsWriter(FileSystem fs, |
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.
Please move this before the original constructor.
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.
@dongjoon-hyun done
| Path path, | ||
| OrcFile.WriterOptions opts, | ||
| WriterEncryptionVariant[] encryption | ||
| ) throws IOException { |
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.
indentation?
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.
@dongjoon-hyun done
|
It seems that |
|
Also cc @williamhyun because this is for Apache Flink integration. |
|
@dongjoon-hyun Do I need to do something about the C++ module error? |
|
No~ Not at all. I can merge your PR after manual review and testing. |
|
It's rerunning now. |
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.
+1, LGTM (Pending CIs)
|
To help Apache Flink community use Apache ORC more easier, I strategically set the milestone |
PhysicalFsWriter with FSDataOutputStream parameter
PhysicalFsWriter with FSDataOutputStream parameterPhysicalFsWriter constructor with FSDataOutputStream parameter
…Stream` parameter ### What changes were proposed in this pull request? Add stream parameter constructor for PhysicalFsWriter. ### Why are the changes needed? PhysicalFsWriter implementation works on the basis of a Path, but Flink's bulk writer based on stream. In order to integrate with flink more elegantly, I think a constructor with stream parameter should be added to PhysicalFsWriter ### How was this patch tested? It won't change behavior of PhysicalFsWriter and passed all existed test cases. Closes #1153 from liujiawinds/main. Authored-by: Jia Liu <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 0565bfe) Signed-off-by: Dongjoon Hyun <[email protected]>
…Stream` parameter ### What changes were proposed in this pull request? Add stream parameter constructor for PhysicalFsWriter. ### Why are the changes needed? PhysicalFsWriter implementation works on the basis of a Path, but Flink's bulk writer based on stream. In order to integrate with flink more elegantly, I think a constructor with stream parameter should be added to PhysicalFsWriter ### How was this patch tested? It won't change behavior of PhysicalFsWriter and passed all existed test cases. Closes #1153 from liujiawinds/main. Authored-by: Jia Liu <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 0565bfe) Signed-off-by: Dongjoon Hyun <[email protected]>
|
Merged to main/1.8/1.7. Welcome to the Apache ORC community, @liujiawinds . |
…Stream` parameter ### What changes were proposed in this pull request? Add stream parameter constructor for PhysicalFsWriter. ### Why are the changes needed? PhysicalFsWriter implementation works on the basis of a Path, but Flink's bulk writer based on stream. In order to integrate with flink more elegantly, I think a constructor with stream parameter should be added to PhysicalFsWriter ### How was this patch tested? It won't change behavior of PhysicalFsWriter and passed all existed test cases. Closes apache#1153 from liujiawinds/main. Authored-by: Jia Liu <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
Add stream parameter constructor for PhysicalFsWriter.
Why are the changes needed?
PhysicalFsWriter implementation works on the basis of a Path, but Flink's bulk writer based on stream.
In order to integrate with flink more elegantly, I think a constructor with stream parameter should be added to PhysicalFsWriter
How was this patch tested?
It won't change behavior of PhysicalFsWriter and passed all existed test cases.