Create an instance id and add it to dest_
| 364 | |
| 365 | // Create an instance id and add it to dest_ |
| 366 | void GetNextInstanceId(TUniqueId* instance_id) { |
| 367 | PlanFragmentDestinationPB* dest = dest_.Add(); |
| 368 | *dest->mutable_fragment_instance_id() = next_instance_id_; |
| 369 | *dest->mutable_address() = MakeNetworkAddressPB("localhost", FLAGS_port, backend_id_, |
| 370 | exec_env_->rpc_mgr()->GetUdsAddressUniqueId()); |
| 371 | *dest->mutable_krpc_backend() = krpc_address_; |
| 372 | UniqueIdPBToTUniqueId(next_instance_id_, instance_id); |
| 373 | next_instance_id_.set_lo(next_instance_id_.lo() + 1); |
| 374 | } |
| 375 | |
| 376 | // RowDescriptor to mimic "select bigint_col from alltypesagg", except the slot |
| 377 | // isn't nullable |
nothing calls this directly
no test coverage detected