code: def test_insert_into(self, postgres_handler_mock):
      df = pd.DataFrame(
          {
              "id": ["id1", "id2", "id3"],
              "content": [
                  "this is a test",
                  "this is a test",
                  "this is a test",
              ],
              "metadata": [
                  {"test": "test1"},
                  {"test": "test2"},
                  {"test": "test3"},
              ],
              "embeddings": [
                  [1.0, 2.0, 3.0],
                  [1.0, 2.0, 3.0],
                  [1.0, 2.0, 3.0],
              ],
          }
      )
      df2 = pd.DataFrame(
          {
              "content": [
                  "this is a test",
                  "this is a test",
                  "this is a test",
              ],
              "metadata": [
                  {"test": "test1"},
                  {"test": "test2"},
                  {"test": "test3"},
              ],
              "embeddings": [
                  [1.0, 2.0, 4.0],
                  [1.0, 2.0, 5.0],
                  [1.0, 2.0, 3.0],
              ],
          }
      )
      self.set_handler(
          postgres_handler_mock, "pg", tables={"df": df, "df2": df2}
      )
  
      self.drop_table("testable")
      self.drop_table("testableauto")
  
      # create tables
      sql = """
              CREATE TABLE milvus_test.testable (
                  SELECT * FROM pg.df
              )
          """
      self.run_sql(sql)
      sql = """
              CREATE TABLE milvus_test_auto_id.testableauto (
                  SELECT * FROM pg.df2
              )
          """
      self.run_sql(sql)
  
      # insert into a table with values
      sql = """
              INSERT INTO milvus_test.testable (
                  id,content,metadata,embeddings
              )
              VALUES (
                  "id4", 'this is a test', '{"test": "test"}', '[1.0, 8.0, 9.0]'
              )
          """
      self.run_sql(sql)
  
      # check if the data is inserted
      sql = """
              SELECT * FROM milvus_test.testable
              WHERE id = "id4"
          """
      ret = self.run_sql(sql)
      assert ret.shape[0] == 1
  
      # insert without specifying id should work in autoid one
      sql = """
              INSERT INTO milvus_test_auto_id.testableauto (
                  content,metadata,embeddings
              )
              VALUES (
                  'this is a test', '{"test": "test"}', '[1.0, 2.0, 3.0]'
              )
          """
      self.run_sql(sql)
  
      # check if the data is inserted
      sql = """
              SELECT * FROM milvus_test_auto_id.testableauto
          """
      ret = self.run_sql(sql)
      assert ret.shape[0] == 4
  
      # insert into a table with a select statement
      sql = """
              INSERT INTO milvus_test_auto_id.testableauto (content,metadata,embeddings)
              SELECT * FROM pg.df2
          """
      self.run_sql(sql)
  
      # check if the data is inserted
      sql = """
              SELECT * FROM milvus_test.testableauto
          """
      ret = self.run_sql(sql)
      assert ret.shape[0] == 7
  
      self.drop_table("testable")
      self.drop_table("testableauto")
  
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 7 for calling the TestMilvusHandler obj's underlying member method code with example usage: obj.test_insert_into(postgres_handler_mock) without return types