class_docstr: This handler handles connection and execution of the Teradata statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","Teradata","statements","."]
docstr: Retrieve the data from the SQL statement with eliminated rows that dont satisfy the WHERE condition
docstr_tok: ["Retrieve","the","data","from","the","SQL","statement","with","eliminated","rows","that","dont","satisfy","the","WHERE","condition"]
code: def query(self, query: ASTNode) -> Response:
      """
      Retrieve the data from the SQL statement with eliminated rows that dont satisfy the WHERE condition
      """
  
      query_str = self.renderer.get_string(query, with_failback=True)
      return self.native_query(query_str)
  
imports: from textwrap import dedent
  from collections import OrderedDict
  from pandas import DataFrame
  from sqlalchemy import String
  from sqlalchemy.sql import text, bindparam
  import teradatasql
  import teradatasqlalchemy.dialect
  from mindsdb_sql import parse_sql
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb_sql.render.sqlalchemy_render import SqlalchemyRender
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.base import DatabaseHandler
  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 7 for calling the TeradataHandler obj's underlying member method code with example usage: obj.query(query) and returns: self