Online Table Migration

nulltype
New Contributor III

I am currently trying to migrate our Online Tables to synced tables with Online Feature Store since Online Tables is deprecated. 

When creating a new table, it worked just fine and how the docs said it would (https://docs.databricks.com/aws/en/machine-learning/feature-store/online-feature-store)

But now I am trying to create a pipeline that will migrate our tables by creating back up Online Tables and feature specs while also referencing these docs (https://docs.databricks.com/aws/en/machine-learning/feature-store/migrate-from-online-tables). But when publishing the table to our Online Store, the online table doesnt populate in UC. Which causes errors when trying to update our endpoint

The code below will return a success message of 

PublishedTable: online_table_name='online_table', pipeline_id=None

 

online_store = fe.get_online_store(name="online_store")

fe.
publish_table(
online_store=online_store,
source_table_name="offline_table",
online_table_name="online_table",
)
 


The code below will return an Error of `NotFound: Table 'online_table does not exist.`

w.online_tables.get("online_table")


Not sure if I am doing something wrong with publishing the table or not but some insight or points in the right direction would be great!