diff --git a/gensrc/thrift/AgentService.thrift b/gensrc/thrift/AgentService.thrift index 1bb83f6f5a..ace308c033 100644 --- a/gensrc/thrift/AgentService.thrift +++ b/gensrc/thrift/AgentService.thrift @@ -21,6 +21,7 @@ namespace java org.apache.doris.thrift include "Status.thrift" include "Types.thrift" include "PaloInternalService.thrift" +include "PlanNodes.thrift" include "Descriptors.thrift" include "Exprs.thrift" @@ -127,6 +128,9 @@ struct TPushReq { // fe should inform be that this request is running during schema change // be should write two files 13: optional bool is_schema_changing + // 14 and 15 are used by spark load + 14: optional PlanNodes.TBrokerScanRange broker_scan_range + 15: optional Descriptors.TDescriptorTable desc_tbl } struct TCloneReq { diff --git a/gensrc/thrift/Types.thrift b/gensrc/thrift/Types.thrift index 25b6b67233..abdd52d7f4 100644 --- a/gensrc/thrift/Types.thrift +++ b/gensrc/thrift/Types.thrift @@ -138,7 +138,9 @@ enum TAggregationType { enum TPushType { LOAD, DELETE, - LOAD_DELETE + LOAD_DELETE, + // for spark load push request + LOAD_V2 } enum TTaskType {