code: def snowpark_table_to_pyarrow_schema(
      table: SnowparkTable,
  ) -> pa.Schema:
      schema_fields = {}
      for name, field in zip(table.schema.names, table.schema.fields):
          normalised_name = name.strip('"')
          schema_fields[
              normalised_name
          ] = snowflake_field_to_pyarrow_type(field.datatype)
      return pa.schema(schema_fields)
  
file_path: vegafusion/python/vegafusion/vegafusion/dataset/snowpark.py
imports: import logging
  import pyarrow
  from .sql import SqlDataset
  from snowflake.snowpark import Table
  from snowflake.snowpark.types import DataType
  from typing import Dict
  from ..transformer import to_arrow_table
label_desc: Use image node_id 3 for calling a global function with example usage: snowpark_table_to_pyarrow_schema(table) and returns: pa