lokeshj1703 commented on code in PR #13526:
URL: https://github.com/apache/hudi/pull/13526#discussion_r2218397313
##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/util/JavaScalaConverters.scala:
##########
@@ -69,4 +69,9 @@ object JavaScalaConverters {
def convertJavaPropertiesToScalaMap(javaProperties: java.util.Properties):
Map[String, String] = {
javaProperties.asScala.toMap
}
+
+ def convertHudiOptionToScalaOption[A](option:
org.apache.hudi.common.util.Option[A]): Option[A] = {
Review Comment:
Addressed
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/Iterators.scala:
##########
@@ -86,10 +86,10 @@ class LogFileIterator(logFiles: List[HoodieLogFile],
}
private val maxCompactionMemoryInBytes: Long =
getMaxCompactionMemoryInBytes(new JobConf(config))
- protected val payloadProps: TypedProperties = tableState.preCombineFieldOpt
+ protected val payloadProps: TypedProperties = tableState.preCombineFieldsOpt
.map { preCombineField =>
HoodiePayloadConfig.newBuilder
- .withPayloadOrderingField(preCombineField)
+ .withPayloadOrderingField(String.join(",", preCombineField: _*))
Review Comment:
Addressed
--
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]