Skip to content

Commit 43af97e

Browse files
committed
Update snowflake precision
1 parent 2b364cc commit 43af97e

File tree

1 file changed

+2
-2
lines changed
  • airbyte-integrations/connectors/destination-snowflake/src/main/kotlin/io/airbyte/integrations/destination/snowflake

1 file changed

+2
-2
lines changed

airbyte-integrations/connectors/destination-snowflake/src/main/kotlin/io/airbyte/integrations/destination/snowflake/SnowflakeDatabaseUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ object SnowflakeDatabaseUtils {
282282
fun toSqlTypeName(airbyteProtocolType: AirbyteProtocolType): String {
283283
return when (airbyteProtocolType) {
284284
AirbyteProtocolType.STRING -> "TEXT"
285-
AirbyteProtocolType.NUMBER -> "FLOAT"
286-
AirbyteProtocolType.INTEGER -> "NUMBER"
285+
AirbyteProtocolType.NUMBER -> "NUMBER"
286+
AirbyteProtocolType.INTEGER -> "INTEGER"
287287
AirbyteProtocolType.BOOLEAN -> "BOOLEAN"
288288
AirbyteProtocolType.TIMESTAMP_WITH_TIMEZONE -> "TIMESTAMP_TZ"
289289
AirbyteProtocolType.TIMESTAMP_WITHOUT_TIMEZONE -> "TIMESTAMP_NTZ"

0 commit comments

Comments
 (0)