Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
jinja2 template fix
Signed-off-by: Blake <blaketastic2@gmail.com>
  • Loading branch information
blaketastic2 committed Apr 1, 2025
commit 4376a7b960b5f381d25629d28b10089ef73dfc29
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def build_point_in_time_query(
"featureviews": feature_view_query_contexts,
"full_feature_names": full_feature_names,
"final_output_feature_names": final_output_feature_names,
"entity_select_mode": entity_select_mode,
"entity_select_mode": entity_select_mode.value,
}

query = template.render(template_context)
Expand Down Expand Up @@ -456,7 +456,7 @@ def _get_entity_schema(

MULTIPLE_FEATURE_VIEW_POINT_IN_TIME_JOIN = """
WITH
{% if entity_select_mode == EntitySelectMode.embed_query %}
{% if entity_select_mode == "embed_query" %}
entity_query AS ({{ left_table_query_string }}),
{% endif %}
/*
Expand All @@ -479,7 +479,7 @@ def _get_entity_schema(
{% endif %}
{% endfor %}
FROM
{% if entity_select_mode == EntitySelectMode.embed_query %}
{% if entity_select_mode == "embed_query" %}
entity_query
{% else %}
{{ left_table_query_string }}
Expand Down
Loading
Loading