@@ -64,7 +64,7 @@ public class PixelsRecordReaderImpl implements PixelsRecordReader
6464 private final List <String > cacheOrder ;
6565 private final PixelsCacheReader cacheReader ;
6666 private final PixelsFooterCache pixelsFooterCache ;
67- private final String fileName ;
67+ private final String filePath ;
6868 private final List <PixelsProto .Type > includedColumnTypes ;
6969
7070 private TypeDescription fileSchema = null ;
@@ -147,7 +147,7 @@ public PixelsRecordReaderImpl(PhysicalReader physicalReader,
147147 this .cacheOrder = cacheOrder ;
148148 this .cacheReader = cacheReader ;
149149 this .pixelsFooterCache = pixelsFooterCache ;
150- this .fileName = this .physicalReader .getName ();
150+ this .filePath = this .physicalReader .getPath ();
151151 this .includedColumnTypes = new ArrayList <>();
152152 // Issue #175: this check is currently not necessary.
153153 // requireNonNull(TransContextCache.Instance().getQueryTransInfo(this.transId),
@@ -451,7 +451,7 @@ else if (predicate.matchesNone())
451451 for (int i = 0 ; i < targetRGNum ; i ++)
452452 {
453453 int rgId = targetRGs [i ];
454- String rgCacheId = fileName + "-" + rgId ;
454+ String rgCacheId = filePath + "-" + rgId ;
455455 PixelsProto .RowGroupFooter rowGroupFooter = pixelsFooterCache .getRGFooter (rgCacheId );
456456 // cache miss, read from disk and put it into cache
457457 if (rowGroupFooter == null )
0 commit comments