Skip to content
Merged
Changes from all commits
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
4 changes: 3 additions & 1 deletion sdk/python/feast/infra/offline_stores/snowflake_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ def validate(self, config: RepoConfig):

def get_table_query_string(self) -> str:
"""Returns a string that can directly be used to reference this table in SQL."""
if self.database and self.table:
if self.database and self.schema and self.table:
return f'"{self.database}"."{self.schema}"."{self.table}"'
elif self.schema and self.table:
return f'"{self.schema}"."{self.table}"'
elif self.table:
return f'"{self.table}"'
else:
Expand Down