| 240 | } // function StartupChecks |
| 241 | |
| 242 | string QueryLogTableName(bool with_db) { |
| 243 | string log_table_name = FLAGS_query_log_table_name; |
| 244 | |
| 245 | if (with_db) { |
| 246 | log_table_name = StrCat(WM_DB, ".", log_table_name); |
| 247 | } |
| 248 | |
| 249 | return boost::algorithm::to_lower_copy(log_table_name); |
| 250 | } // function QueryLogTableName |
| 251 | |
| 252 | string QueryLiveTableName(bool with_db) { |
| 253 | string live_table_name = to_string(TSystemTableName::IMPALA_QUERY_LIVE); |