Skip to content

Commit

Permalink
NUMBER data type support for Snowflake
Browse files Browse the repository at this point in the history
  • Loading branch information
delchev committed Apr 3, 2024
1 parent 67c2611 commit abd9550
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ public class DataTypeUtils {

/** The Constant NUMERIC. */
private static final String NUMERIC = "NUMERIC";

/** The Constant NUMBER. */
private static final String NUMBER = "NUMBER";

/** The Constant FLOAT8. */
private static final String FLOAT8 = "FLOAT8";
Expand Down Expand Up @@ -220,6 +223,7 @@ public class DataTypeUtils {
STRING_TO_DATABASE_TYPE.put(FLOAT8, Types.DOUBLE);
STRING_TO_DATABASE_TYPE.put(NUMERIC, Types.NUMERIC);
STRING_TO_DATABASE_TYPE.put(DECIMAL, Types.DECIMAL);
STRING_TO_DATABASE_TYPE.put(NUMBER, Types.DECIMAL);
// booleans
STRING_TO_DATABASE_TYPE.put(BOOLEAN, Types.BOOLEAN);
STRING_TO_DATABASE_TYPE.put(BOOL, Types.BOOLEAN);
Expand Down

0 comments on commit abd9550

Please sign in to comment.