]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
re-enable vectore test in oracle
authorFederico Caselli <cfederico87@gmail.com>
Tue, 25 Nov 2025 21:48:01 +0000 (22:48 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 25 Nov 2025 21:48:01 +0000 (22:48 +0100)
Change-Id: I382a20027f36f32617d2680332873f1b7d5bcee6

test/dialect/oracle/test_types.py

index 0eac7d5c2b8ce5bfd194d47e1308a019cf264c06..890bcf7751ec8485bd97256f0bbd9f15f22dbd2d 100644 (file)
@@ -1066,11 +1066,6 @@ class TypesTest(fixtures.TestBase):
         eq_(t1.c.c1.type.storage_format, VectorStorageFormat.FLOAT32)
 
     @testing.requires.oracle_vector
-    @testing.skip_if(
-        lambda: True,
-        "Does not work on free versions of Oracle 23.  "
-        "No testing platform available",
-    )
     def test_vector_hnsw_index(self, metadata, connection):
         t1 = Table(
             "t1",
@@ -1078,7 +1073,10 @@ class TypesTest(fixtures.TestBase):
             Column("id", Integer),
             Column(
                 "embedding",
-                VECTOR(dim=3, storage_format=VectorStorageFormat.FLOAT32),
+                # can't specify dementions in the free version of oracle
+                # since otherwise it complains that has no spece for the index
+                VECTOR(),
+                # VECTOR(dim=3, storage_format=VectorStorageFormat.FLOAT32),
             ),
         )