pengzhiwei2018 commented on a change in pull request #3208:
URL: https://github.com/apache/hudi/pull/3208#discussion_r662289183



##########
File path: 
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/MergeOnReadSnapshotRelation.scala
##########
@@ -211,4 +205,15 @@ object MergeOnReadSnapshotRelation {
     // when create PartitionedFile.
     path.toUri.toString
   }
+
+  def getRequiredSchema(tableAvroSchema: Schema, requiredColumns: 
Array[String]): (Schema, StructType) = {
+    // First get the required avro-schema, the convert the avro-schema to 
spark schema.

Review comment:
       fixed!




-- 
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]


Reply via email to