code: def runHiveDDL(cursor, query):
      cursor.execute(query, async_=True)
      status = cursor.poll().operationState
      while status in (
          TOperationState.INITIALIZED_STATE,
          TOperationState.RUNNING_STATE,
      ):
          status = cursor.poll().operationState
  
file_path: blazingsql/pyblazing/pyblazing/apiv2/hive.py
imports: from itertools import repeat
  import cudf
  from TCLIService.ttypes import TOperationState
label_desc: Use image node_id 7 for calling a global function with example usage: runHiveDDL(cursor, query) without return types