Dw_sync() issues

dw_sync() isn’t doing what I’d expect.
check it out:

resource_key = 'Rdd74bd6f'

table TEST_DF_V2 has an updated 3rd column.
running:

ds = rasgo.get.dataset(resource_key=resource_key)
ds = ds.dw_sync()
ds.columns 

I’d expect to show that it sync’d to the 3 columns. But looks like it didn’t update the column metadata.

dw_sync will only help when:

  • a new column is added or dropped from Snowflake
  • Rasgo already has the Dataset registered and the existing metadata needs to reflect the change

Functionally, it’s a way for you to make Snowflake your source of truth and update Rasgo with any changes

This topic was automatically closed after 365 days. New replies are no longer allowed.