Skip to content

Commit

Permalink
Removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cgivre committed Sep 23, 2022
1 parent 9a433b6 commit 50c8b6e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@
import org.apache.drill.exec.physical.impl.scan.framework.ManagedReader;
import org.apache.drill.exec.physical.impl.scan.framework.SchemaNegotiator;
import org.apache.drill.exec.physical.resultSet.ResultSetLoader;
import org.apache.drill.exec.record.metadata.TupleMetadata;
import org.apache.drill.exec.store.druid.DruidSubScan.DruidSubScanSpec;
import org.apache.drill.exec.store.druid.common.DruidFilter;
import org.apache.drill.exec.store.druid.druid.DruidScanResponse;
import org.apache.drill.exec.store.druid.druid.ScanQuery;
import org.apache.drill.exec.store.druid.druid.ScanQueryBuilder;
import org.apache.drill.exec.store.druid.rest.DruidQueryClient;
import org.apache.drill.exec.store.easy.json.loader.JsonLoader;
import org.apache.drill.exec.store.easy.json.loader.JsonLoaderImpl;
import org.apache.drill.exec.store.easy.json.loader.JsonLoaderImpl.JsonLoaderBuilder;
import org.apache.drill.exec.vector.BaseValueVector;
import org.slf4j.Logger;
Expand All @@ -56,7 +55,7 @@ public class DruidBatchRecordReader implements ManagedReader<SchemaNegotiator> {
private BigInteger nextOffset = BigInteger.ZERO;
private int maxRecordsToRead = -1;
private JsonLoaderBuilder jsonBuilder;
private JsonLoader jsonLoader;
private JsonLoaderImpl jsonLoader;
private ResultSetLoader resultSetLoader;
private CustomErrorContext errorContext;

Expand Down Expand Up @@ -97,7 +96,7 @@ public boolean next() {
setNextOffset(druidScanResponse);

for (ObjectNode eventNode : druidScanResponse.getEvents()) {
JsonLoader jsonLoader = jsonBuilder
jsonLoader = (JsonLoaderImpl) jsonBuilder
.fromString(eventNode.toString())
.build();

Expand Down

0 comments on commit 50c8b6e

Please sign in to comment.