class_docstr: This handler handles connection and execution of the Ingres statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","Ingres","statements","."]
docstr: Gets a list of table names in the database.
  
  Returns:
      list: A list of table names in the database.
docstr_tok: ["Gets","a","list","of","table","names","in","the","database",".","Returns",":","list",":","A","list","of","table","names","in","the","database","."]
code: def get_tables(self) -> Response:
      """
      Gets a list of table names in the database.
  
      Returns:
          list: A list of table names in the database.
      """
      connection = self.connect()
      cursor = connection.cursor()
      # Execute query to get all table names
      cursor.execute(
          "SELECT table_name FROM iitables WHERE table_type = 'T'"
      )
  
      table_names = [x[0] for x in cursor.fetchall()]
  
      # Create dataframe with table names
      df = pd.DataFrame(
          table_names, columns=["table_name", "data_type"]
      )
  
      # Create response object
      response = Response(RESPONSE_TYPE.TABLE, df)
  
      return response
  
imports: import pyodbc
  from collections import OrderedDict
  import pandas
  from mindsdb_sql import parse_sql
  from ingres_sa_dialect.base import IngresDialect
  from mindsdb_sql.render.sqlalchemy_render import SqlalchemyRender
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
label_desc: Use image node_id 8 for calling the IngresHandler obj's underlying member method code with example usage: obj.get_tables() and returns: response