You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
test_groupby: Star (*) is not allowed in select list when GROUP BY ordinal position is used;
assert_get_query_results_as_dict_objects_equal: The query is not ordered. The way the test is written, if the order in expected_dictionary differs from actual_dictionary, the test fails. Fix: Fix: get_query_results_as_dict integration test dbt-utils#322
The text was updated successfully, but these errors were encountered:
Macros that need reimplementing:
get_url_parameter
: This is actually a fix forsplit_part
, which should only add escape characters (\\
) if the delimiter needs escaping. Fix: More dbt-utils support #8get_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 aninformation_schema
, onlyshow
/describe
commands—which do have access to regex-ylike
but cannot be chained/unioned together. Fix: Some dbt_utils.get_relations_by_* macros #10Integration tests currently failing for macros that otherwise work:
test_groupby
:Star (*) is not allowed in select list when GROUP BY ordinal position is used;
test_recency
: This is a product of how the integration test is currently written, will be fixed by Add sequential values test dbt-utils#318test_get_relations_by_pattern
: Requires support for schema patterns, whichspark_utils.get_relations_by_pattern
doesn't (yet) offertest_equal_column_subset
: A minor bug withdbt_utils.equality
when used with an ephemeral model + an explicit column subset. Fix: Fix equality test with ephemeral model + explicit column set dbt-utils#321assert_get_query_results_as_dict_objects_equal
: The query is not ordered. The way the test is written, if the order inexpected_dictionary
differs fromactual_dictionary
, the test fails. Fix: Fix: get_query_results_as_dict integration test dbt-utils#322The text was updated successfully, but these errors were encountered: