Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new agate Integer type and test with empty seed #936

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

gshank
Copy link
Contributor

@gshank gshank commented Nov 7, 2023

resolves #935

Problem

dbt Core added support for an agate integer type to support the show command. Empty seeds were failing due to lack of support in the "convert_" methods in impl.py, so a regression bug case fixed that.

Solution

Add a "convert_integer_type" method and include test of empty seed creation.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@gshank gshank requested a review from a team as a code owner November 7, 2023 15:26
@gshank gshank requested a review from Fleid November 7, 2023 15:26
@cla-bot cla-bot bot added the cla:yes label Nov 7, 2023
Copy link
Contributor

github-actions bot commented Nov 7, 2023

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-spark contributing guide.

@leahwicz leahwicz merged commit 0f39bd1 into main Nov 7, 2023
13 of 15 checks passed
@leahwicz leahwicz deleted the adap-935-agate_integer_type branch November 7, 2023 21:49
@mikealfare mikealfare added the backport 1.7.latest Tag for PR to be backported to the 1.7.latest branch label Nov 7, 2023
github-actions bot pushed a commit that referenced this pull request Nov 7, 2023
* Support new agate Integer type and test with empty seed

* add changie, remove branch reference

(cherry picked from commit 0f39bd1)
leahwicz pushed a commit that referenced this pull request Nov 7, 2023
* Support new agate Integer type and test with empty seed

* add changie, remove branch reference

(cherry picked from commit 0f39bd1)

Co-authored-by: Gerda Shank <[email protected]>
github-actions bot pushed a commit that referenced this pull request Nov 8, 2023
* Support new agate Integer type and test with empty seed

* add changie, remove branch reference

(cherry picked from commit 0f39bd1)
colin-rogers-dbt pushed a commit that referenced this pull request Nov 8, 2023
* Support new agate Integer type and test with empty seed

* add changie, remove branch reference

(cherry picked from commit 0f39bd1)

Co-authored-by: Gerda Shank <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.7.latest Tag for PR to be backported to the 1.7.latest branch cla:yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ADAP-1012] Support for new agate data type in Spark
3 participants