Forum Discussion

winosky's avatar
winosky
New Contributor III
5 years ago

Accessing temp table Snaplogic creates in Snowflake?

Is it possible to access the temp table Snaplogic creates in Snowflake? Need to do some deletes and the delete snap takes a lot of time and resources. I would like to delete using a join to the temp table instead of individual transactions if possible.
“MERGE_TEMP_TABLE_”

6 Replies

  • Hi Winosky:

    Temp tables created by the Snowflake Bulk snaps will be cleaned up during processing, so they are not suitable for accessing or joining against, at least reliably.

    • winosky's avatar
      winosky
      New Contributor III

      Hi @mbowen, so it is possible then? When talking about reliable, do you mean Snaplogic randomly decides when the temp table is dropped or is it done during the snap?

      • mbowen's avatar
        mbowen
        Employee

        Sorry, poor choice of words on my part. The snap manages the temporary table, and will remove it after it has completed its operation, so is an ephemeral thing. Let me see if I can fish out some more specifics for you. You mentioned that deleting via snap too time/resource consuming.