code: def test_select_from(self, postgres_handler_mock):
      df = pd.DataFrame(
          {
              "id": ["id1", "id2"],
              "content": ["this is a test", "this is a test"],
              "metadata": [{"test": "test"}, {"test": "test"}],
              "embeddings": [[1.0, 2.0, 3.0], [1.0, 2.0, 3.0]],
          }
      )
      self.set_handler(
          postgres_handler_mock, "pg", tables={"testable": df}
      )
  
      self.drop_table("testable")
  
      # create a table
      sql = """
              CREATE TABLE milvus_test.testable (
                  SELECT * FROM pg.df
              )
          """
      self.run_sql(sql)
  
      # query a table without any filters
      sql = """
              SELECT * FROM milvus_test.testable
          """
      self.run_sql(sql)
  
      # query a table with id
      sql = """
              SELECT * FROM milvus_test.testable
              WHERE id = 'id1'
          """
      ret = self.run_sql(sql)
      assert ret.shape[0] == 1
  
      # query a table with a search vector, without limit
      sql = """
              SELECT * FROM milvus_test.testable
              WHERE search_vector = '[1.0, 2.0, 3.0]'
          """
      ret = self.run_sql(sql)
      assert ret.shape[0] == 2
  
      # query a table with a search vector, with limit
      sql = """
              SELECT * FROM milvus_test.testable
              WHERE search_vector = '[1.0, 2.0, 3.0]'
              LIMIT 1
          """
      ret = self.run_sql(sql)
      assert ret.shape[0] == 1
  
      # query a table with a metadata filter
      sql = """
              SELECT * FROM milvus_test.testable
              WHERE test = 'test'
          """
      ret = self.run_sql(sql)
      assert ret.shape[0] == 2
  
      # query a table with a metadata filter and a search vector
      sql = """
              SELECT * FROM milvus_test.testable
              WHERE test = 'test'
              AND search_vector = '[1.0, 2.0, 3.0]'
          """
      ret = self.run_sql(sql)
      assert ret.shape[0] == 2
  
      self.drop_table("testable")
  
file_path: mindsdb/tests/handler_tests/test_milvus_handler.py
imports: import importlib
  from unittest.mock import patch
  import pandas
  import pytest
  from mindsdb_sql import parse_sql
  from ..unit.executor_test_base import BaseExecutorTest
label_desc: Use image node_id 8 for calling the TestMilvusHandler obj's underlying member method code with example usage: obj.test_select_from(postgres_handler_mock) without return types