Skip to content

Commit b0c8ae9

Browse files
author
Himanshu Singh
committed
casting null as string
1 parent 9c11934 commit b0c8ae9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk/python/feast/infra/offline_stores/bigquery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ def _bq_create_entity_union_table(
640640
if col in ctx_entities_set:
641641
select_entities.append(f"`{col}`")
642642
else:
643-
select_entities.append(f"NULL AS `{col}`")
643+
select_entities.append(f"CAST(NULL AS STRING) AS `{col}`")
644644

645645
per_view_selects.append(
646646
f"SELECT DISTINCT {', '.join(select_entities)} "

0 commit comments

Comments
 (0)