-
Notifications
You must be signed in to change notification settings - Fork 109
Support for Source and Sink Operators for Apache Iceberg for the Java Platform #656
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
base: main
Are you sure you want to change the base?
Support for Source and Sink Operators for Apache Iceberg for the Java Platform #656
Conversation
…om an Apache Iceberg table
…o an Iceberg Table location
…ayang Records to an Iceberg location for the Java Platform
|
@ChristofferEmilKristensen This PR contains merge conflicts. You will have to resolve the merge conflicts before we can merge it. |
wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/DataQuanta.scala
Outdated
Show resolved
Hide resolved
...ommons/wayang-basic/src/main/java/org/apache/wayang/basic/operators/ApacheIcebergSource.java
Show resolved
Hide resolved
juripetersen
left a comment
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.
Thanks for your contribution :)
I added some comments regarding the usage of imports and namespaces that need to be addressed.
|
Hi, The comments has been resolved. The only places where there are full qualified class names is in the operators where have a references to both a Wayang Record and Iceberg Record. Here both are alwats fully qualified to avoid misconfusions. Besides that everything else has been updated. |
|
Thank you for adapting my comments @ChristofferEmilKristensen. I would like to have some (non exhaustive) tests for the Operators you introduced. |
| "wayang.java.parquetsource.load.prepare", javaExecutor.getConfiguration())); | ||
| ExecutionLineageNode mainLineageNode = new ExecutionLineageNode(operatorContext); | ||
| mainLineageNode.add(LoadProfileEstimators.createFromSpecification( | ||
| "wayang.java.parquetsource.load.main", javaExecutor.getConfiguration())); |
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.
This should be using a different identifier, right?
Most likely, iceberg.
|
build errors should be fixed with #658 |
|
Hi,
Let me know how we should proceed. |
We ususally use Mockito, which can be utilized to mock things that would be impractical to set up in tests: Line 52 in 392b3e3
It's basically used to fake the API of the thing you are interacting with, so that unit testing is possible. Do you think this would be feasible for testing? |
Implementation of a source and sink operator for the Java Platform