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

updates to data type casting to resolve try cast errors #26

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

thutuva
Copy link
Member

@thutuva thutuva commented Feb 15, 2024

Describe your changes

Please include a summary of any changes.
TRY_CAST() was failing because it does not work on a timestamp data type. Converted the column to date before the try cast to resolve error.

How has this been tested?

Please describe the tests you ran to verify your changes. Provide instructions or code to reproduce output.
local testing and CI pipeline

Reviewer focus

Please summarize the specific items you’d like the reviewer(s) to look into.
n/a

Checklist before requesting a review

  • I have updated the version number in dbt_project.yml file to reflect the release number of this PR
  • I have updated the docs files (by running dbt docs generate/serve and copying the necessary files into the docs folder)
  • I have commented my code as necessary
  • I have added at least one Github label to this PR
  • My code follows style guidelines
  • (Optional) I have recorded a Loom to explain this PR

(Optional) Gif of how this PR makes you feel

Loom link

@thutuva thutuva linked an issue Feb 15, 2024 that may be closed by this pull request
@tuvaforrest tuvaforrest merged commit f3d7a07 into main Feb 15, 2024
3 checks passed
@tuvaforrest tuvaforrest deleted the testing-ci branch February 15, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI testing is failing on date casting
2 participants