Skip to content

Commit

Permalink
Bugfix seeds don't have compiled codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
elongl committed Oct 11, 2023
1 parent ea690c4 commit b22e7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/utils/graph/get_compiled_code.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% set compiled_code = adapter.dispatch("get_compiled_code", "elementary")(node) %}

{% set max_column_size = elementary.get_column_size() %}
{% if as_column_value and max_column_size and compiled_code | length > max_column_size %}
{% if as_column_value and max_column_size and compiled_code and compiled_code | length > max_column_size %}
{% do return(elementary.get_compiled_code_too_long_err_msg()) %}
{% endif %}

Expand Down

0 comments on commit b22e7f2

Please sign in to comment.