Skip to content

Commit

Permalink
Merge pull request #589 from elementary-data/ele-1888-bugfix-seeds-do…
Browse files Browse the repository at this point in the history
…nt-have-compiled-codes

Bugfix seeds don't have compiled codes.
  • Loading branch information
elongl authored Oct 11, 2023
2 parents ea690c4 + b22e7f2 commit 47e1b8f
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 47e1b8f

Please sign in to comment.