Skip to main content

Community

Other: General improvements for records syncs in Snowflake destinations

Answered

Please sign in to leave a comment.

Comments

1 comment

  • Official comment

    Hi Joao,

    The `_fivetran_id` is not a random number, but is rather a surrogate primary key that we create by hashing the contents of each row (documented here). This is only done in cases where there is no defined primary key available from the source system. 

    Since this is a hash, it is not possible to make the output sequential.

    It's also not possible for us to MERGE ON a non-primary key value. If `event_time` were a primary key, I believe Snowflake would be able to apply partition pruning even without a truncated date type.

    Please reach out directly to support if you're facing performance issues!

    Thanks,

    Eric O'Connor