code: def test_should_not_do_vector_index_scan_with_predicate(self):
      # Execution with index scan.
      create_index_query = """CREATE INDEX testFaissIndexScanRewrite
                                      ON testSimilarityTable (DummyFeatureExtractor(data_col))
                                      USING FAISS;"""
      execute_query_fetch_all(self.evadb, create_index_query)
  
      explain_query = """
              EXPLAIN
                  SELECT data_col FROM testSimilarityTable WHERE dummy = 0
                    ORDER BY Similarity(DummyFeatureExtractor(Open("{}")), DummyFeatureExtractor(data_col))
                    LIMIT 3;
          """.format(
          "dummypath"
      )
      batch = execute_query_fetch_all(self.evadb, explain_query)
  
      # Index scan should not be used.
      self.assertFalse("FaissIndexScan" in batch.frames[0][0])
  
      # Cleanup
      drop_query = "DROP INDEX testFaissIndexScanRewrite"
      execute_query_fetch_all(self.evadb, drop_query)
  
imports: import os
  import time
  import unittest
  from test.markers import chromadb_skip_marker, milvus_skip_marker, pinecone_skip_marker, qdrant_skip_marker, weaviate_skip_marker
  from test.util import create_sample_image, get_evadb_for_testing, load_functions_for_testing, shutdown_ray
  import numpy
  import pandas
  import pytest
  from evadb.models.storage.batch import Batch
  from evadb.server.command_handler import execute_query_fetch_all
  from evadb.storage.storage_engine import StorageEngine
  from evadb.utils.generic_utils import try_to_import_cv2
label_desc: Use image node_id 6 for calling the SimilarityTests obj's underlying member method code with example usage: obj.test_should_not_do_vector_index_scan_with_predicate() without return types