Hey all - I am sure this has been documented / answered before but what happens to a table created with a CTAS statement when data in the source table has changed? Does the sink table reflect the changes? Or is the data stored when the table is defined and handled separately from the source table? The latter is my understanding.
What if you wanted the sink table to be updated with the source table? What would be the best approach? Would you have to manually write a pipeline (probably using the CDF)? Or is there some easy spark configuration for this?
What about views? My understanding is that views are just stored logic. So every time you query a view that logic is executed. Does that mean views will always have the most recent data from the source tables?
I know this is probably documented somewhere so could someone link me towards that? I cannot find it.
Any and all information would be appreciated. Thanks!