Skip to content
Open
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 @@ -66,8 +66,7 @@ protected SegmentConversionResult convert(PinotTaskConfig pinotTaskConfig, File
_eventObserver.notifyProgress(pinotTaskConfig, "Refreshing segment: " + indexDir);

// We set _taskStartTime before fetching the tableConfig. Task Generation relies on tableConfig/Schema updates
// happening after the last processed time. So we explicity use the timestamp before fetching tableConfig as the
// processedTime.
// happening after the last processed time. So we explicitly use the timestamp before fetching tableConfig as the processed time.
_taskStartTime = System.currentTimeMillis();
Map<String, String> configs = pinotTaskConfig.getConfigs();
String tableNameWithType = configs.get(MinionConstants.TABLE_NAME_KEY);
Expand Down Expand Up @@ -121,12 +120,12 @@ protected SegmentConversionResult convert(PinotTaskConfig pinotTaskConfig, File
// Column exists in segment.
if (dataTypeInSegment != dataTypeInSchema) {
// Check if we need to update the data-type. DataType change is dependent on segmentGeneration code converting
// the object to the destination datatype. If the existing data is the column is not compatible with the
// the object to the destination datatype. If the existing data in the column is not compatible with the
// destination data-type, the refresh task will fail.
refreshColumnSet.add(column);
}

// TODO: Maybe we can support singleValue to multi-value conversions are supproted and vice-versa.
// TODO: Maybe we can support singleValue to multi-value conversions and vice-versa.
} else {
refreshColumnSet.add(column);
}
Expand Down