Skip to content

Commit

Permalink
Fix compile error after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaverner committed Nov 22, 2023
1 parent 0e53a7b commit 03ac699
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,10 +485,12 @@ public IndexFieldData.Builder fielddataBuilder(FieldDataContext fieldDataContext
@Override
public BlockLoader blockLoader(BlockLoaderContext blContext) {
if (hasDocValues()) {
return BlockDocValuesReader.longs(name());
return new BlockDocValuesReader.LongsBlockLoader(name());
}
// TODO: Currently we use longs in the compute engine and render to WKT in ESQL
return BlockSourceReader.longs(valueFetcher(blContext.sourcePaths(name()), nullValue, GeometryFormatterFactory.WKT));
return new BlockSourceReader.LongsBlockLoader(
valueFetcher(blContext.sourcePaths(name()), nullValue, GeometryFormatterFactory.WKT)
);
}

@Override
Expand Down

0 comments on commit 03ac699

Please sign in to comment.