juripetersen commented on code in PR #646:
URL: https://github.com/apache/wayang/pull/646#discussion_r2660677133
##########
wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/JavaPlanBuilder.scala:
##########
@@ -69,18 +69,22 @@ class JavaPlanBuilder(wayangCtx: WayangContext, jobName:
String) {
* @param projection the projection, if any
* @return [[DataQuantaBuilder]] for the file
*/
- def readParquet(url: String, projection: Array[String] = null):
UnarySourceDataQuantaBuilder[UnarySourceDataQuantaBuilder[_, Record], Record] =
- createSourceBuilder(ParquetSource.create(url,
projection))(ClassTag(classOf[Record]))
+ def readParquet(url: String,
Review Comment:
Couldn't this entire method be removed if both projection and preferDataset
had default arguments? There would be no need for overloading this, right?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]