code: def query_execute(self, sql):
      self.logger.info(
          "%s.query_execute: sql - %s", self.__class__.__name__, sql
      )
      resp = self.execute_external(sql)
      if resp is not None:
          # is already executed
          self.is_executed = True
          return
  
      self.parse(sql)
      self.do_execute()
  
imports: from typing import Union
  from mindsdb_sql import parse_sql
  from mindsdb_sql.planner import utils
  from numpy import dtype
  from pandas.api import types
  from mindsdb.api.executor import SQLQuery, Column
  from mindsdb.api.mysql.mysql_proxy.utilities.lightwood_dtype import dtype
  from mindsdb.api.executor.command_executor import ExecuteCommands
  from mindsdb.api.mysql.mysql_proxy.utilities import SqlApiException
  from mindsdb.api.postgres.postgres_proxy.postgres_packets.postgres_fields import POSTGRES_TYPES
  from mindsdb.utilities import log
label_desc: Use image node_id 5 for calling the Executor obj's underlying member method code with example usage: obj.query_execute(sql) without return types