Skip to content

Commit

Permalink
use config instead of get string
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Vexler committed Oct 17, 2024
1 parent bdab7de commit b0506a2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ object HoodieCreateRecordUtils {
val orderingVal = HoodieAvroUtils.getNestedFieldVal(avroRec, precombine,
false, consistentLogicalTimestampEnabled).asInstanceOf[Comparable[_]]
DataSourceUtils.createHoodieRecord(processedRecord, orderingVal, hoodieKey,
config.getString(PAYLOAD_CLASS_NAME), recordLocation)
config.getPayloadClass, recordLocation)
} else {
DataSourceUtils.createHoodieRecord(processedRecord, hoodieKey,
config.getString(PAYLOAD_CLASS_NAME), recordLocation)
config.getPayloadClass, recordLocation)
}
hoodieRecord
}
Expand Down

0 comments on commit b0506a2

Please sign in to comment.