(self, table_name=None)
| 902 | pass |
| 903 | |
| 904 | def compute_stats(self, table_name=None): |
| 905 | if table_name: |
| 906 | self.execute("ANALYZE TABLE %s COMPUTE STATISTICS" % table_name) |
| 907 | self.execute("ANALYZE TABLE %s COMPUTE STATISTICS FOR COLUMNS" % table_name) |
| 908 | else: |
| 909 | for table_name in self.list_table_names(): |
| 910 | self.execute("ANALYZE TABLE %s COMPUTE STATISTICS" % table_name) |
| 911 | self.execute("ANALYZE TABLE %s COMPUTE STATISTICS FOR COLUMNS" % table_name) |
| 912 | |
| 913 | |
| 914 | class HiveConnection(ImpalaConnection): |
no test coverage detected