code: def validate_where_parameter(where: str) -> None:
      if SQL_INVALID_SYMBOLS_PATTERN.search(where):
          raise InvalidParameterError(
              message="Parameter 'where' contains invalid symbols"
          )
  
imports: import logging
  import re
  from http import HTTPStatus
  from typing import Optional
  import anyio
  import duckdb
  import pyarrow
  from datasets import Features
  from libapi.authentication import auth_check
  from libapi.duckdb import get_cache_entry_from_duckdb_index_job, get_index_file_location_and_download_if_missing
  from libapi.exceptions import ApiError, InvalidParameterError, UnexpectedApiError
  from libapi.request import get_request_parameter, get_request_parameter_length, get_request_parameter_offset
  from libapi.response import ROW_IDX_COLUMN, create_response
  from libapi.utils import Endpoint, get_json_api_error_response, get_json_error_response, get_json_ok_response
  from libcommon.duckdb_utils import duckdb_index_is_partial
  from libcommon.prometheus import StepProfiler
  from libcommon.storage import StrPath
  from libcommon.storage_client import StorageClient
  from libcommon.viewer_utils.features import get_supported_unsupported_columns
  from starlette.requests import Request
  from starlette.responses import Response
  from search.duckdb_connection import duckdb_connect
label_desc: Use image node_id 3 for calling a global function with example usage: validate_where_parameter(where) without return types