From: Federico Caselli Date: Tue, 25 Nov 2025 21:48:01 +0000 (+0100) Subject: re-enable vectore test in oracle X-Git-Tag: rel_2_0_45~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a45b44fac4e78430d1078bdee350e82ac42cbc7a;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git re-enable vectore test in oracle Change-Id: I382a20027f36f32617d2680332873f1b7d5bcee6 (cherry picked from commit 09ce4d07540628dfac84bf500e9bbddbca48dc9f) --- diff --git a/test/dialect/oracle/test_types.py b/test/dialect/oracle/test_types.py index 151aee5583..d9ef112268 100644 --- a/test/dialect/oracle/test_types.py +++ b/test/dialect/oracle/test_types.py @@ -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), ), )