class_docstr: Python interface for SQL connections
docstr: Returns the result of evaluating the requested query. The resulting pa.Table
  should have a schema matching the provided schema
  
  :param query: SQL query string
  :param schema: expected pyarrow Schema of resulting pyarrow Table
  :return: pyarrow Table with query results
docstr_tok: ["Returns","the","result","of","evaluating","the","requested","query",".","The","resulting","pa.Table","should","have","a","schema","matching","the","provided","schema",":","param","query",":","SQL","query","string",":","param","schema",":","expected","pyarrow","Schema","of","resulting","pyarrow","Table",":","return",":","pyarrow","Table","with","query","results"]
code: def fetch_query(self, query: str, schema: pa.Schema) -> pa.Table:
      """
      Returns the result of evaluating the requested query. The resulting pa.Table
      should have a schema matching the provided schema
  
      :param query: SQL query string
      :param schema: expected pyarrow Schema of resulting pyarrow Table
      :return: pyarrow Table with query results
      """
      raise NotImplementedError()
  
imports: from typing import Dict, Optional
  import pandas
  import pyarrow
  from dataclasses import dataclass
  from abc import ABC, abstractmethod
label_desc: Use image node_id 3 for calling the SqlConnection obj's underlying member method code with example usage: obj.fetch_query(query, schema) without return types