the-other-tim-brown commented on code in PR #13600:
URL: https://github.com/apache/hudi/pull/13600#discussion_r2252940018
##########
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/payload/ExpressionPayload.scala:
##########
@@ -270,6 +270,17 @@ class ExpressionPayload(@transient record: GenericRecord,
isDeletedRecord || isDeleteOnCondition
}
+ override def getIndexedRecord(schema: Schema, properties: Properties):
HOption[IndexedRecord] = {
+ val recordSchema = getRecordSchema(properties)
Review Comment:
The schema in the properties is what matches the subset of fields specified
in the payload.
--
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]