the following methods make use of adapter.execute(), but would be more flexible for non-core adapters if they instead used adapter.get_result_from_cursor() instead, to allow for non-standard loading of results.
DbtItem.step_relations_equal()
DbtItem.step_relation_rows()
in https://github.com/firebolt-analytics/dbt-firebolt/pull/23, adapter.table_from_data_flat() is needed to be overridden to do explicit type casting. To make this test suite work, the same thing needs to be re-implemented in the methods listed above.
the following methods make use of
adapter.execute()
, but would be more flexible for non-core adapters if they instead usedadapter.get_result_from_cursor()
instead, to allow for non-standard loading of results.DbtItem.step_relations_equal()
DbtItem.step_relation_rows()
in https://github.com/firebolt-analytics/dbt-firebolt/pull/23,
adapter.table_from_data_flat()
is needed to be overridden to do explicit type casting. To make this test suite work, the same thing needs to be re-implemented in the methods listed above.https://github.com/dbt-labs/dbt-adapter-tests/blob/202c3b4550734dd910db03bbff81fa19395af57d/pytest_dbt_adapter/spec_file.py#L439-L451
totally can make this fix happen later this week