linliu-code commented on code in PR #10144:
URL: https://github.com/apache/hudi/pull/10144#discussion_r1411406262
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieCDCFileIndex.scala:
##########
@@ -53,9 +53,10 @@ class HoodieCDCFileIndex (override val spark: SparkSession,
// We create a fake FileStatus to wrap the information of
HoodieFileGroupId, which are used
// later to retrieve the corresponding CDC file group splits.
val fileGroupId: HoodieFileGroupId = fileGroup._1
+ val partitionPath: String = if
(fileGroupId.getPartitionPath.isEmpty) "null_partition_path" else
fileGroupId.getPartitionPath
Review Comment:
Add variable for the literal.
--
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]