Closed fivetran-joemarkiewicz closed 11 months ago
The latest release of this package has been updated to use the custom linkedin_source.extract_url_parameter()
macro. This addresses the immediate issue raised in this feature request. However, in the next breaking change of this package we will want to remove the custom macro and swap the package to leverage the fivetran_utils.extract_url_parameter()
macro.
This was not implemented originally as it could possibly have caused breaking changes, we wanted to address the issue in a timely manner while ensuring we did not break any transformation pipelines.
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?