class_docstr: Interact with Druid broker.
  
  This hook is purely for users to query druid broker.
  For ingestion, please use druidHook.
  
  :param context: Optional query context parameters to pass to the SQL endpoint.
      Example: ``{"sqlFinalizeOuterSketches": True}``
      See: https://druid.apache.org/docs/latest/querying/sql-query-context/
class_docstr_tok: ["Interact","with","Druid","broker",".","This","hook","is","purely","for","users","to","query","druid","broker",".","For","ingestion",",","please","use","druidHook",".",":","param","context",":","Optional","query","context","parameters","to","pass","to","the","SQL","endpoint",".","Example",":","``","{","``","sqlFinalizeOuterSketches","''",":","True","}","``","See",":","https",":","\/\/druid.apache.org\/docs\/latest\/querying\/sql-query-context\/"]
code: def insert_rows(
      self,
      table: str,
      rows: Iterable[tuple[str]],
      target_fields: Iterable[str] | None = None,
      commit_every: int = 1000,
      replace: bool = False,
      **kwargs: Any,
  ) -> None:
      raise NotImplementedError()
  
imports: from __future__ import annotations
  import time
  from enum import Enum
  from typing import Any, Iterable
  import requests
  from pydruid.db import connect
  from airflow.exceptions import AirflowException
  from airflow.hooks.base import BaseHook
  from airflow.providers.common.sql.hooks.sql import DbApiHook
label_desc: Use image node_id 5 for calling the DruidDbApiHook obj's underlying member method code with example usage: obj.insert_rows(table, rows, target_fields, commit_every, replace) without return types