Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/integration' into integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jwomeara committed Sep 18, 2024
2 parents 81c57da + 01f87de commit 6421fee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public Scan call() throws Exception {
Class<? extends AccumuloResource> initializer = delegatedResourceInitializer;

boolean docSpecific = RangeDefinition.isDocSpecific(currentRange);
if (!docSpecific && !initializer.isInstance(RfileResource.class)) {
if (!docSpecific && !initializer.isAssignableFrom(RfileResource.class)) {
// this catches the case where a scanner was created with a RunningResource and a shard range was generated
// when bypassing accumulo with a RFileResource, do not override the initializer with a BatchResource
initializer = BatchResource.class;
Expand Down

0 comments on commit 6421fee

Please sign in to comment.