[Bug] dbt_utils.get_url_parameter does not work for databricks #55
Labels
error:forced
priority:p3
Affects many users; can wait
status:in_progress
Currently being worked on
type:bug
Something is broken or incorrect
update_type:feature
Primary focus is to add new functionality
Is there an existing issue for this?
Describe the issue
When using Databricks the
get_url_parameter
macro does not work and results in the below error. This is the result of the get_url_parameter macro (and subsequently the split macro) attempting to pull the index 1. However, if the index 1 does not exist in the data then it will result in the below error. Other warehouses are able to circumvent this due to a safe offset. However, databricks does not have this function.Relevant error log or model output
Expected behavior
The get_url_parameter works without failure
dbt Project configurations
Latestt
Package versions
Latest
What database are you using dbt with?
databricks
dbt Version
1.7.0
Additional Context
No response
Are you willing to open a PR to help address this issue?
The text was updated successfully, but these errors were encountered: