Is this a new bug?
Which packages are affected?
Current Behavior
Some adapters don't support using CREATE OR REPLACE ... for functions when an "immutable" property of the function is changed (return type, volatility, etc). When you modify an "immutable" property and build the function, an exception gets raised.
Expected Behavior
The "old" function should go away, and the "new" function should properly exist. No exception should get raised.
Steps To Reproduce
- Create a function
.sql and .yml
- run
dbt build
- change the return type of the function
- run
dbt build
Relevant log output
Environment
- OS:
- Python:
- dbt-adapters:
- <adapter>:
Additional Context
No response