| 250 | } // function QueryLogTableName |
| 251 | |
| 252 | string QueryLiveTableName(bool with_db) { |
| 253 | string live_table_name = to_string(TSystemTableName::IMPALA_QUERY_LIVE); |
| 254 | |
| 255 | if (with_db) { |
| 256 | live_table_name = StrCat(WM_DB, ".", live_table_name); |
| 257 | } |
| 258 | |
| 259 | return boost::algorithm::to_lower_copy(live_table_name); |
| 260 | } // function QueryLiveTableName |
| 261 | |
| 262 | bool IncludeField(const TQueryTableColumn::type& col) { |
| 263 | DCHECK(parsed_target_schema_version.has_value()); |