| 225 | } |
| 226 | |
| 227 | Status Frontend::ShowCreateTable(const TTableName& table_name, bool with_stats, |
| 228 | int32_t show_create_table_partition_limit, string* response) { |
| 229 | // Build a small struct to pass both pieces since the JNI method expects a single arg. |
| 230 | // Reuse TCatalogOpRequest fields: set show_create_table_params and |
| 231 | // show_create_table_with_stats. |
| 232 | TCatalogOpRequest req; |
| 233 | req.op_type = TCatalogOpType::SHOW_CREATE_TABLE; |
| 234 | req.__set_show_create_table_params(table_name); |
| 235 | req.__set_show_create_table_with_stats(with_stats); |
| 236 | req.__set_show_create_table_partition_limit(show_create_table_partition_limit); |
| 237 | return JniUtil::CallJniMethod(fe_, show_create_table_id_, req, response); |
| 238 | } |
| 239 | |
| 240 | Status Frontend::ShowCreateFunction(const TGetFunctionsParams& params, string* response) { |
| 241 | return JniUtil::CallJniMethod(fe_, show_create_function_id_, params, response); |
no test coverage detected