You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by "juripetersen (via GitHub)" <gi...@apache.org> on 2026/01/05 08:33:18 UTC

Re: [PR] Feature/spark dataframes [wayang]

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: commits-unsubscribe@wayang.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org