Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ private Map<String, Supplier<BaseColumnHolder>> readProjectionColumns(
final Map<String, Supplier<BaseColumnHolder>> projectionColumns = new LinkedHashMap<>();

for (String column : projectionSpec.getSchema().getColumnNames()) {
final String smooshName = Projections.getProjectionSmooshFileName(projectionSpec.getSchema(), column);
final String smooshName = Projections.getProjectionSegmentInternalFileName(projectionSpec.getSchema(), column);
final ByteBuffer colBuffer = segmentFileMapper.mapFile(smooshName);
final ColumnDescriptor columnDescriptor = metadata.getColumnDescriptors().get(smooshName);
if (columnDescriptor == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ protected Metadata makeProjections(
columnFormats.put(dimension, dimensionFormat);
DimensionHandler handler = dimensionFormat.getColumnHandler(dimension);
DimensionMergerV9 merger = handler.makeMerger(
Projections.getProjectionSmooshFileName(spec.getSchema(), dimension),
Projections.getProjectionSegmentInternalFileName(spec.getSchema(), dimension),
indexSpec,
segmentWriteOutMedium,
dimensionFormat.toColumnCapabilities(),
Expand Down Expand Up @@ -543,7 +543,7 @@ protected Metadata makeProjections(
metrics,
columnFormats,
indexSpec,
Projections.getProjectionSmooshPrefix(spec.getSchema())
Projections.getProjectionSegmentInternalFilePrefix(spec.getSchema())
);

Function<List<TransformableRowIterator>, TimeAndDimsIterator> rowMergerFn =
Expand Down Expand Up @@ -636,7 +636,7 @@ protected Metadata makeProjections(
progress,
timeWriter,
indexSpec,
Projections.getProjectionSmooshFileName(spec.getSchema(), projectionSchema.getTimeColumnName())
Projections.getProjectionSegmentInternalFileName(spec.getSchema(), projectionSchema.getTimeColumnName())
);
}
makeMetricsColumns(
Expand All @@ -646,7 +646,7 @@ protected Metadata makeProjections(
columnFormats,
metricWriters,
indexSpec,
Projections.getProjectionSmooshPrefix(spec.getSchema())
Projections.getProjectionSegmentInternalFilePrefix(spec.getSchema())
);

for (int i = 0; i < dimensions.size(); i++) {
Expand All @@ -664,7 +664,7 @@ protected Metadata makeProjections(
// use merger descriptor, merger either has values or handles it own null column storage details
columnDesc = merger.makeColumnDescriptor();
}
makeColumn(segmentFileBuilder, Projections.getProjectionSmooshFileName(spec.getSchema(), dimension), columnDesc);
makeColumn(segmentFileBuilder, Projections.getProjectionSegmentInternalFileName(spec.getSchema(), dimension), columnDesc);
}

progress.stopSection(section2);
Expand Down
Loading
Loading