zhli1142015 commented on code in PR #6672:
URL: https://github.com/apache/incubator-gluten/pull/6672#discussion_r1709322402
##########
gluten-core/src/main/scala/org/apache/gluten/execution/FileSourceScanExecTransformer.scala:
##########
@@ -126,6 +127,15 @@ abstract class FileSourceScanExecTransformerBase(
relation.location.inputFiles.toSeq
}
+ override def getRootPathsInternal: Seq[String] = {
+ relation.location match {
+ case c: CatalogFileIndex =>
+ val index = c.filterPartitions(Nil)
Review Comment:
I saw this function appear twice in the CatalogFileIndex, so I think this
may not be an expensive call. Thanks for pointing this out, make sense to me.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]