Skip to content

Commit 30117ec

Browse files
committed
Fix lint
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
1 parent 70c7c24 commit 30117ec

File tree

1 file changed

+1
-2
lines changed
  • sdk/python/feast/infra/offline_stores/contrib/spark_offline_store

1 file changed

+1
-2
lines changed

sdk/python/feast/infra/offline_stores/contrib/spark_offline_store/spark_source.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ def get_table_query_string(self) -> str:
177177
"""Returns a string that can directly be used to reference this table in SQL"""
178178
if self.table:
179179
# Backticks make sure that spark sql knows this a table reference.
180-
# return f"`{self.table}`"
181-
table = '.'.join(map(lambda x: f'`{x}`', self.table.split('.')))
180+
table = ".".join([f"`{x}`" for x in self.table.split(".")])
182181
return table
183182
if self.query:
184183
return f"({self.query})"

0 commit comments

Comments
 (0)