dbt-labs / dbt-spark

dbt-spark contains all of the code enabling dbt to work with Apache Spark and Databricks
https://getdbt.com
Apache License 2.0
405 stars 227 forks source link

Fix split part negative part number #689

Closed dave-connors-3 closed 1 year ago

dave-connors-3 commented 1 year ago

resolves #688

Description

Copies standard approach seen in other core adapters for handling negative arguments to part_number in dbt.split_part

https://github.com/dbt-labs/dbt-core/pull/7200

Checklist

dave-connors-3 commented 1 year ago

@mikealfare forgot to link the associated core PR that adds the necessary test case we are interested in. once that's in we can remove the pointer from the dev_requirements.txt

https://github.com/dbt-labs/dbt-core/pull/7200