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

[BACKPORT 1.6.latest] Preserve decimal places for dbt show (#8561) #8619

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

emmyoop
Copy link
Member

@emmyoop emmyoop commented Sep 11, 2023

  • update Number class to handle integer values (update Number class to handle integer values #8306)

  • add show test for json data

  • oh changie my changie

  • revert unecessary cahnge to fixture

  • keep decimal class for precision methods, but return int value

  • jerco updates

  • update integer type

  • update other tests

  • Update .changes/unreleased/Fixes-20230803-093502.yaml


  • account for integer vs number on table merges

  • add tests for combining number with integer.

  • add unit test when nulls are added

  • cant none as an Integer

  • fix null tests


resolves #8611

* update `Number` class to handle integer values (#8306)

* add show test for json data

* oh changie my changie

* revert unecessary cahnge to fixture

* keep decimal class for precision methods, but return __int__ value

* jerco updates

* update integer type

* update other tests

* Update .changes/unreleased/Fixes-20230803-093502.yaml

---------

Co-authored-by: Emily Rockman <emily.rockman@dbtlabs.com>

* account for integer vs number on table merges

* add tests for combining number with integer.

* add unit test when nulls are added

* cant none as an Integer

* fix null tests

---------

Co-authored-by: dave-connors-3 <73915542+dave-connors-3@users.noreply.github.com>
Co-authored-by: Dave Connors <dave.connors@fishtownanalytics.com>
@emmyoop emmyoop requested a review from a team as a code owner September 11, 2023 18:54
@emmyoop emmyoop requested a review from QMalcolm September 11, 2023 18:54
@cla-bot cla-bot bot added the cla:yes label Sep 11, 2023
@McKnight-42 McKnight-42 self-requested a review September 11, 2023 20:01
@colin-rogers-dbt colin-rogers-dbt merged commit a20b09b into 1.6.latest Sep 11, 2023
@colin-rogers-dbt colin-rogers-dbt deleted the backport/1.6.latest-8561 branch September 11, 2023 20:54
@aranke aranke mentioned this pull request Jul 12, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants