Skip to content

Commit

Permalink
Pass identity extra credentials to DistributedQueryRunner session
Browse files Browse the repository at this point in the history
  • Loading branch information
kokosing committed Mar 12, 2019
1 parent ceedd77 commit eee083a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ private DistributedQueryRunner(
}

// copy session using property manager in coordinator
defaultSession = defaultSession.toSessionRepresentation().toSession(coordinator.getMetadata().getSessionPropertyManager());
defaultSession = defaultSession.toSessionRepresentation().toSession(coordinator.getMetadata().getSessionPropertyManager(), defaultSession.getIdentity().getExtraCredentials());
this.prestoClient = closer.register(new TestingPrestoClient(coordinator, defaultSession));

long start = System.nanoTime();
Expand Down

0 comments on commit eee083a

Please sign in to comment.