Currently to prevent repeated temporal tables when the databases are queried, an extra hash is appended to the table name. This means that even if the same file is queried within the same session a new table is created unnecessarily.
We should update the code to instead check for the existence of the table and create it if it does not exist already