Skip to main content

We are a bit unclear on the difference in meaning between the "Uploaded at" vs. "Last Updated"  times for Files in CDF.

For example, we have seen un-intuitive examples where the "Uploaded at" time is newer than the "Last Updated" time - we would expect that would never be the case.

Can you define the logic for these two fields, and update the documentation here? https://cognite-sdk-python.readthedocs-hosted.com/en/latest/files.html#module-cognite.client.data_classes.files

Thank you.

I see this is a bit old, but to anyone who sees this here is a quick explanation of the difference:

“Last updated time” is the last time that the file metadata object was updated.

“Uploaded at” is the time that the actual file binaries were uploaded.

 

The file metadata object can exist and be updated independent of the actual file. This can lead to a few scenarios where the two timestamps do not align. The metadata can exist without an actual file and then the only the “last updated time” will be set. If the metadata has been updated after the file was uploaded the “last updated time” will be newer than the “uploaded time”. This is a relatively common scenario which is why there is a “uploaded time” so that it is possible to check when the actual file was uploaded.


Hi @rchesak,

Did the above information help you? 

 


Hi @rchesak,

I would like to inform you that I am closing this topic for now. Should you have any further questions, please feel free to initiate a new post.


Reply