File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
feast/infra/offline_stores Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,15 @@ def __init__(
4444 """
4545 if table is None and table_ref is None and query is None :
4646 raise ValueError ('No "table" argument provided.' )
47- if table_ref :
47+ if not table and table_ref :
4848 warnings .warn (
4949 (
5050 "The argument 'table_ref' is being deprecated. Please use 'table' "
5151 "instead. Feast 0.20 and onwards will not support the argument 'table_ref'."
5252 ),
5353 DeprecationWarning ,
5454 )
55+ table = table_ref
5556 self .bigquery_options = BigQueryOptions (table_ref = table , query = query )
5657
5758 # If no name, use the table_ref as the default name
Original file line number Diff line number Diff line change 1010)
1111
1212driver_locations_source = BigQuerySource (
13- table_ref = "feast-oss.public.drivers" ,
13+ table = "feast-oss.public.drivers" ,
1414 event_timestamp_column = "event_timestamp" ,
1515 created_timestamp_column = "created_timestamp" ,
1616)
You can’t perform that action at this time.
0 commit comments