Skip to content

Instantly share code, notes, and snippets.

@Curts0
Created September 22, 2022 23:11
Show Gist options
  • Save Curts0/440bbb6d4ceff52fe88493143825239b to your computer and use it in GitHub Desktop.
Save Curts0/440bbb6d4ceff52fe88493143825239b to your computer and use it in GitHub Desktop.
#You have a few options when refreshing.
model.Refresh('Table Name')
#or...
model.Refresh(['Table1','Table2','Table3'])
#or...
model.Refresh(<Table Class>)
#or...
model.Refresh(<Partition Class>)
#or...
model.Refresh({'Table Name':'Partition Name'})
#or any kind of weird combination like
model.Refresh([{<Table Class>:<Partition Class>,'Table Name':['Partition1','Partition2']},'Table Name','Table Name2'])
#Add Tracing=True for simple Traces tracking the refresh.
model.Refresh(['Table1','Table2'], Tracing=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment