Mukvin commented on code in PR #2049: URL: https://github.com/apache/kylin/pull/2049#discussion_r1058096474
########## kylin-spark-project/kylin-spark-common/src/main/scala/org/apache/spark/sql/execution/datasource/FilePruner.scala: ########## @@ -366,7 +366,9 @@ class FilePruner(cubeInstance: CubeInstance, val pruned = segDirs.filter { e => { val tsRange = cubeInstance.getSegment(e.segmentName, SegmentStatusEnum.READY).getTSRange - SegFilters(tsRange.startValue, tsRange.endValue, pattern) + // tsRange: 20221219000000_20221219010000、20221219010000_20221219020000, pattern: yyyy-MM-dd + val start = DateFormat.getFormatTimeStamp(tsRange.startValue, pattern) + SegFilters(start, tsRange.endValue, pattern) Review Comment: As for clearance, please comment on the place of tsRange.endValue then help others to understand. -- 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: issues-unsubscr...@kylin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org