code: def test_unsupported_ops(vector_store_handler):
      # select unsupported columns
      sql = """
          SELECT id, some_column_not_supported
          FROM chroma_db.test_table
      """
      query = parse_sql(sql, dialect="mindsdb")
      with pytest.raises(Exception) as e:
          vector_store_handler._dispatch(query)
      assert "not allowed" in str(e.value)
  
      # insert unsupported columns
      sql = """
          INSERT INTO chroma_db.test_table (
              id, some_column_not_supported
          )
          VALUES (
              1, 'test'
          )
      """
      query = parse_sql(sql, dialect="mindsdb")
      with pytest.raises(Exception) as e:
          vector_store_handler._dispatch(query)
      assert "not allowed" in str(e.value)
  
      # unsupported filter
      sql = """
          SELECT *
          FROM chroma_db.test_table
          WHERE metadata.created_at > '2021-01-01'
          AND unknown_column = 'some_value'
      """
      query = parse_sql(sql, dialect="mindsdb")
      # reset the mock
      vector_store_handler.select.reset_mock()
      vector_store_handler._dispatch(query)
      vector_store_handler.select.assert_called_once()
      vector_store_handler.select.assert_called_with(
          "test_table",
          columns=["id", "content", "embeddings", "metadata"],
          conditions=[
              FilterCondition(
                  column="metadata.created_at",
                  op=FilterOperator.GREATER_THAN,
                  value="2021-01-01",
              ),
              FilterCondition(
                  column="metadata.unknown_column",  # we will treat this as a metadata filter
                  op=FilterOperator.EQUAL,
                  value="some_value",
              ),
          ],
          limit=None,
          offset=None,
      )
  
file_path: mindsdb/tests/handler_tests/test_vectordatabase_dispatch.py
imports: from unittest.mock import Mock
  import pandas
  import pytest
  from mindsdb_sql import parse_sql
  from pandas.testing import assert_frame_equal
  from mindsdb.integrations.libs.vectordatabase_handler import FilterCondition, FilterOperator, VectorStoreHandler
label_desc: Use image node_id 3 for calling a global function with example usage: test_unsupported_ops(vector_store_handler) without return types