code: def test_select_from(self, postgres_handler_mock):
      df = pd.DataFrame(
          {
              "id": [32, 33],
              "content": ["this is a test", "this is a test"],
              "metadata": [{"test": "Info"}, {"test": "Info"}],
              "embeddings": [[1.0, 2.0, 3.0], [1.0, 2.0, 3.0]],
          }
      )
      self.set_handler(
          postgres_handler_mock, "pg", tables={"test_table": df}
      )
      # create a table
      sql = """
              CREATE TABLE qtest.test_table_4 (
                  SELECT * FROM pg.df
              )
          """
      self.run_sql(sql)
  
      # query a table without any filters
      sql = """
              SELECT * FROM qtest.test_table_4
          """
      self.run_sql(sql)
  
      # query a table with id
      sql = """
              SELECT * FROM qtest.test_table_4
              WHERE id = 32
          """
      ret = self.run_sql(sql)
      assert ret.shape[0] == 1
  
      # query a table with a search vector, without limit
      sql = """
              SELECT * FROM qtest.test_table_4
              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 qtest.test_table_4
              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 qtest.test_table_4
              WHERE `metadata.test` = 'Info';
          """
      ret = self.run_sql(sql)
      assert ret.shape[0] == 2
  
      sql = """
              SELECT * FROM qtest.test_table_4
              WHERE `metadata.test` = 'Info'
              AND search_vector = '[1.0, 2.0, 3.0]'
          """
      ret = self.run_sql(sql)
      assert ret.shape[0] == 2
  
file_path: mindsdb/tests/handler_tests/test_qdrant_handler.py
imports: from unittest.mock import patch
  import pytest
  import pandas
  from mindsdb_sql import parse_sql
  from tests.unit.executor_test_base import BaseExecutorTest
label_desc: Use image node_id 6 for calling the TestQdrantHandler obj's underlying member method code with example usage: obj.test_select_from(postgres_handler_mock) without return types