Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman committed May 29, 2022
1 parent 0c55d25 commit 0a9b92a
Showing 1 changed file with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,15 +336,26 @@ public void transmitData(InternalService.PTransmitDataParams request,
}

@Override
public void execPlanFragment(InternalService.PExecPlanFragmentRequest request, StreamObserver<InternalService.PExecPlanFragmentResult> responseObserver) {
public void execPlanFragment(InternalService.PExecPlanFragmentRequest request,
StreamObserver<InternalService.PExecPlanFragmentResult> responseObserver) {
System.out.println("get exec_plan_fragment request");
responseObserver.onNext(InternalService.PExecPlanFragmentResult.newBuilder()
.setStatus(Types.PStatus.newBuilder().setStatusCode(0)).build());
responseObserver.onCompleted();
}

@Override
public void cancelPlanFragment(InternalService.PCancelPlanFragmentRequest request, StreamObserver<InternalService.PCancelPlanFragmentResult> responseObserver) {
public void execPlanFragmentStart(InternalService.PExecPlanFragmentStartRequest request,
StreamObserver<InternalService.PExecPlanFragmentResult> responseObserver) {
System.out.println("get exec_plan_fragment_start request");
responseObserver.onNext(InternalService.PExecPlanFragmentResult.newBuilder()
.setStatus(Types.PStatus.newBuilder().setStatusCode(0)).build());
responseObserver.onCompleted();
}

@Override
public void cancelPlanFragment(InternalService.PCancelPlanFragmentRequest request,
StreamObserver<InternalService.PCancelPlanFragmentResult> responseObserver) {
System.out.println("get cancel_plan_fragment request");
responseObserver.onNext(InternalService.PCancelPlanFragmentResult.newBuilder()
.setStatus(Types.PStatus.newBuilder().setStatusCode(0)).build());
Expand Down

0 comments on commit 0a9b92a

Please sign in to comment.