Skip to main content

Community

Destination Improvement: Fivetran changing data type due to Type Promotion

Answered

Please sign in to leave a comment.

Comments

1 comment

  • Official comment

    Hi Philip,

    Thank you for your post here! I definitely understand this behavior can be confusing, and will work with the team to clarify this for our users.

    To be clear, this is intended behavior of the platform. Because Fivetran is a heterogeneous data platform, we support many different sources and destinations for our customers. We have prioritized keeping our data type mapping behavior consistent across different destinations. So this means, even if say Postgres supports a specific precision/scale, we want the data we write to Postgres and Snowflake to be as similar as possible. 

    All of this type mapping occurs in our "Core" layer, where we convert data types to our standard Fivetran types, as shown in these docs: https://fivetran.com/docs/getting-started/core-concepts#datatypes

    Since we do not want a customer who is using both Postgres and Snowflake destinations to have different outputs from the same connector, we have this shared data type mapping in our Core layer.

    Are you able to do type transformations after the loading process?