Commit 09f0e7e 1 parent f8d3890 commit 09f0e7e Copy full SHA for 09f0e7e
File tree 1 file changed +2
-2
lines changed
sdk/python/feast/infra/offline_stores
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ def to_bigquery(
503
503
temp_dest_table = f"{ tmp_dest ['projectId' ]} .{ tmp_dest ['datasetId' ]} .{ tmp_dest ['tableId' ]} "
504
504
505
505
# persist temp table
506
- sql = f"CREATE TABLE { dest } AS SELECT * FROM { temp_dest_table } "
506
+ sql = f"CREATE TABLE ` { dest } ` AS SELECT * FROM { temp_dest_table } "
507
507
self ._execute_query (sql , timeout = timeout )
508
508
509
509
print (f"Done writing to '{ dest } '." )
@@ -663,7 +663,7 @@ def _upload_entity_df(
663
663
job : Union [bigquery .job .query .QueryJob , bigquery .job .load .LoadJob ]
664
664
665
665
if isinstance (entity_df , str ):
666
- job = client .query (f"CREATE TABLE { table_name } AS ({ entity_df } )" )
666
+ job = client .query (f"CREATE TABLE ` { table_name } ` AS ({ entity_df } )" )
667
667
668
668
elif isinstance (entity_df , pd .DataFrame ):
669
669
# Drop the index so that we don't have unnecessary columns
You can’t perform that action at this time.
0 commit comments