Builds a catalog service request header that can be used in any catalog operation.
| 84 | |
| 85 | /// Builds a catalog service request header that can be used in any catalog operation. |
| 86 | static TCatalogServiceRequestHeader _getHeader(const string& ip_addr) { |
| 87 | TCatalogServiceRequestHeader req_header; |
| 88 | req_header.__set_client_ip(ip_addr); |
| 89 | req_header.__set_requesting_user(FLAGS_workload_mgmt_maintenance_user); |
| 90 | req_header.__set_want_minimal_response(true); |
| 91 | |
| 92 | return req_header; |
| 93 | } // function _getHeader |
| 94 | |
| 95 | /// Equivalent to: DROP TABLE {{db}}.{{tbl_name}} IF NOT EXISTS PURGE. |
| 96 | static Status _dropTable(CatalogServiceIf* svc, const string& ip_addr, const string& db, |
no outgoing calls
no test coverage detected