(self, query_str, start_time)
| 1474 | return "Time elapsed: %2.2fs" % time_elapsed |
| 1475 | |
| 1476 | def _format_no_result_set(self, query_str, start_time): |
| 1477 | # Print the elapsed time except for USE. |
| 1478 | if not (query_str[:3].lower().startswith('use')): |
| 1479 | num_fetched_rows = 0 if self.beeswax_compat_num_rows else None |
| 1480 | time_elapsed = time.time() - start_time |
| 1481 | row_report = self._format_num_rows_report( |
| 1482 | time_elapsed, num_fetched_rows=num_fetched_rows) |
| 1483 | self._print_if_verbose(row_report) |
| 1484 | |
| 1485 | def _execute_stmt(self, query_str, is_dml=False, print_web_link=False): |
| 1486 | """Executes 'query_str' with options self.set_query_options on the Impala server. |
no test coverage detected