LuciferYang commented on code in PR #44077: URL: https://github.com/apache/spark/pull/44077#discussion_r1409563409
########## python/pyspark/sql/context.py: ########## @@ -311,6 +312,24 @@ def registerJavaFunction( ) return self.sparkSession.udf.registerJavaFunction(name, javaClassName, returnType) + # TODO(andrew): delete this once we refactor things to take in SparkSession + def _inferSchema(self, rdd: RDD, samplingRatio: Optional[float] = None) -> StructType: Review Comment: Sorry, I think I made a mistake during the rebase. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org