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

Restoring cross-database compatibility of example code #5785

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

dbeatty10
Copy link
Contributor

@dbeatty10 dbeatty10 commented Jul 15, 2024

Preview

What are you changing in this pull request and why?

The code change in #5326 was tested against a variety of dbt adapters. The update in #5306 modified that code example, and it appears to have database-specific cast syntax (::) as well as a data type that means different things in different databases (i.e., the TIMESTAMP data type has different semantics in BigQuery vs. Snowflake).

So we should restore the code example in #5326. If there is a better example that has been tested across dbt adapters, then we can consider making another update in the future.

Checklist

Copy link

vercel bot commented Jul 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 10:07am

@github-actions github-actions bot added content Improvements or additions to content size: x-small This change will take under 3 hours to fix. labels Jul 15, 2024
@dbeatty10 dbeatty10 marked this pull request as ready for review July 15, 2024 20:50
@dbeatty10 dbeatty10 requested a review from a team as a code owner July 15, 2024 20:50
@mirnawong1 mirnawong1 enabled auto-merge (squash) July 18, 2024 10:00
Copy link
Contributor

@mirnawong1 mirnawong1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for clarifying that @dbeatty10 ! apologies for that!

@mirnawong1 mirnawong1 merged commit f38615b into current Jul 18, 2024
10 checks passed
@mirnawong1 mirnawong1 deleted the dbeatty10-patch-1 branch July 18, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content size: x-small This change will take under 3 hours to fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants