Reading the latest parquet file on Rockset

:question: QUESTION

The goal is to create a snapshot of the file from our incremental data. The filename of the parquet will be different each time we generate the snapshot. Is there any way to only read the latest parquet in a collection?


One way to achieve this is to drop all the existing records and only ingest the new parquet file. You can achieve this by creating a new collection that is pointed to the new parquet file and then dropping the old Rockset collection. Please reference:

You can also do this in a way that your queries and applications do not break by using aliases. You can switch the alias to the newly created collection on the fly. Please reference:

:thinking:Have more questions on this topic? Please respond to the thread!