MCPcopy Create free account
hub / github.com/apache/impala / DescribeTable

Method DescribeTable

be/src/service/frontend.cc:214–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214Status Frontend::DescribeTable(const TDescribeTableParams& params,
215 const TSessionState& session, TDescribeResult* response) {
216 TDescribeTableParams tparams;
217 tparams.__set_output_style(params.output_style);
218 if (params.__isset.table_name) tparams.__set_table_name(params.table_name);
219 if (params.__isset.result_struct) tparams.__set_result_struct(params.result_struct);
220 if (params.__isset.metadata_table_name) {
221 tparams.__set_metadata_table_name(params.metadata_table_name);
222 }
223 tparams.__set_session(session);
224 return JniUtil::CallJniMethod(fe_, describe_table_id_, tparams, response);
225}
226
227Status Frontend::ShowCreateTable(const TTableName& table_name, bool with_stats,
228 int32_t show_create_table_partition_limit, string* response) {

Callers 1

ExecLocalCatalogOpMethod · 0.80

Calls 1

CallJniMethodFunction · 0.85

Tested by

no test coverage detected