Skip to content

Commit

Permalink
0005020: BigQuery type not found FLOAT
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Jun 9, 2021
1 parent e13b1ce commit ea85885
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public BigQueryDdlBuilder(BigQuery bq) {
databaseInfo.addNativeTypeMapping(Types.BIT, "INT64");
databaseInfo.addNativeTypeMapping(Types.BIGINT, "NUMERIC");
databaseInfo.addNativeTypeMapping(Types.TINYINT, "NUMERIC");
databaseInfo.addNativeTypeMapping(Types.DOUBLE, "NUMERIC");
databaseInfo.addNativeTypeMapping(Types.FLOAT, "FLOAT64");
databaseInfo.addNativeTypeMapping(Types.DOUBLE, "FLOAT64");
databaseInfo.addNativeTypeMapping(Types.DECIMAL, "NUMERIC");

databaseInfo.addNativeTypeMapping(Types.BINARY, "BYTES");
Expand Down

0 comments on commit ea85885

Please sign in to comment.