Closed dbeatty10 closed 3 months ago
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
Stale label - a haiku GitHub actions bot Please do not close this issue It still needs a fix
Your words have been heard, Stale label swept away, friend, Gratitude expressed
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers.
Is this a new bug in dbt-core?
Current Behavior
Based on the documentation for the
string_type
static class method here, we'd expect the following query to work across adapters:But a package maintainer reported here that it doesn't work for dbt-bigquery, dbt-spark, or dbt-databricks.
Expected Behavior
See above.
Steps To Reproduce
See here for steps to reproduce.
Which database adapter are you using with dbt?
bigquery, spark
Suspected root cause
The primary testing for these two methods appears tautological to me (rather than actually testing platform-specific data types).
Acceptance criteria
string_type
andnumeric_type
adapter class methods that adapter maintainers can inherit