Closed dataders closed 3 years ago
Correct! Among other changes to dispatch, we're now including parent adapters in the search order. So dbt will look for:
synapse__information_schema_name
sqlserver__information_schema_name
default__information_schema_name
Where previously it only looked for:
synapse__information_schema_name
default__information_schema_name
@jtcohen6 is there anything needed in this repo to specify that dbt-synapse inheirits from dbt-sqlsever? Or, will dbt-core do this automatically based on the Python class inheritance?
Or, will dbt-core do this automatically based on the Python class inheritance?
This! Here's where the magic happens:
v0.20.0 removes the need for this repeated dispatching... right @jtcohen6? I could be overgeneralizing the macro dispatch changes to also include adapter-level dispatch changes. My understanding is that we wouldn't need the below anymore.
https://github.com/dbt-msft/dbt-synapse/blob/2004b7da6560fbe381b020680988f91c137b6029/dbt/include/synapse/macros/adapters.sql#L1-L3