@@ -196,58 +196,35 @@ def test_fetch_offset_ties_exact_number(self):
196196 pass
197197
198198
199+ @pytest .mark .reviewed
199200class FutureTableDDLTest (FutureTableDDLTest ):
200201 @pytest .mark .skip (
201- reason = "Internal bug. DESCRIBE TABLE function should deliver an executable object ."
202+ reason = "Comment reflection is possible but not implemented in this dialect ."
202203 )
203204 def test_add_table_comment (self ):
204- """
205- Exception:
206- sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'DESCRIBE TABLE main.pysql_sqlalchemy.test_table'
207- """
208-
209- @pytest .mark .skip (
210- reason = "Internal bug. DESCRIBE TABLE function should deliver an executable object."
211- )
212- def test_create_table (self ):
213- """
214- Exception:
215- sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'DESCRIBE TABLE main.pysql_sqlalchemy.test_table'
216- """
217-
218- @pytest .mark .skip (
219- reason = "Internal bug. DESCRIBE TABLE function should deliver an executable object."
220- )
221- def test_drop_table (self ):
222- """
223- Exception:
224- sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'DESCRIBE TABLE main.pysql_sqlalchemy.test_table'
225- """
205+ """We could use requirements.comment_reflection here to disable this but prefer a more meaningful skip message"""
206+ pass
226207
227208 @pytest .mark .skip (
228- reason = "Internal bug. DESCRIBE TABLE function should deliver an executable object ."
209+ reason = "Comment reflection is possible but not implemented in this dialect ."
229210 )
230211 def test_drop_table_comment (self ):
231- """
232- Exception:
233- sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'DESCRIBE TABLE main.pysql_sqlalchemy.test_table'
234- """
212+ """We could use requirements.comment_reflection here to disable this but prefer a more meaningful skip message"""
213+ pass
235214
236- @pytest .mark .skip (
237- reason = "Internal bug. DESCRIBE TABLE function should deliver an executable object."
238- )
239- def test_underscore_names (self ):
240- """
241- Exception:
242- sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'DESCRIBE TABLE main.pysql_sqlalchemy._test_table'
215+ @pytest .mark .skip (reason = "Databricks does not support indexes" )
216+ def test_create_index_if_not_exists (self ):
217+ """We could use requirements.index_reflection and requirements.index_ddl_if_exists
218+ here to disable this but prefer a more meaningful skip message
243219 """
220+ pass
244221
245- @pytest .mark .skip (reason = "Error during execution. Requires investigation." )
246- def test_create_table_schema (self ):
247- """
248- Exception:
249- - sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'DESCRIBE TABLE main.test_schema.test_table'
222+ @pytest .mark .skip (reason = "Databricks does not support indexes" )
223+ def test_drop_index_if_exists (self ):
224+ """We could use requirements.index_reflection and requirements.index_ddl_if_exists
225+ here to disable this but prefer a more meaningful skip message
250226 """
227+ pass
251228
252229
253230class IdentityAutoincrementTest (IdentityAutoincrementTest ):
0 commit comments