]> 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:22 +0000 (22:48 +0100)
Change-Id: I382a20027f36f32617d2680332873f1b7d5bcee6
(cherry picked from commit 09ce4d07540628dfac84bf500e9bbddbca48dc9f)

test/dialect/oracle/test_types.py

index 151aee558359a3e60fe622dfcfce77f4aea02381..d9ef1122685b38cd1affdbc5da44ab273d2f155a 100644 (file)
@@ -1067,11 +1067,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",
@@ -1079,7 +1074,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),
             ),
         )