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

Add compatibility for rest of dbt-utils #7

Open
3 of 7 tasks
jtcohen6 opened this issue Jan 7, 2021 · 0 comments
Open
3 of 7 tasks

Add compatibility for rest of dbt-utils #7

jtcohen6 opened this issue Jan 7, 2021 · 0 comments

Comments

@jtcohen6
Copy link
Collaborator

jtcohen6 commented Jan 7, 2021

Macros that need reimplementing:

  • get_url_parameter: This is actually a fix for split_part, which should only add escape characters (\\) if the delimiter needs escaping. Fix: More dbt-utils support #8
  • get_relations_by_prefix_sql, get_tables_by_pattern_sql, get_tables_by_prefix, get_tables_by_pattern: Need rethinking. Spark doesn't have a way of querying an information_schema, only show/describe commands—which do have access to regex-y like but cannot be chained/unioned together. Fix: Some dbt_utils.get_relations_by_* macros #10

Integration tests currently failing for macros that otherwise work:

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

No branches or pull requests

1 participant