[Bugfix](Jdbc Catalog) fix data type mapping of SQLServer Catalog (#19525)
We map `money/smallmoney` types of SQLSERVER into decimal type of doris.
This commit is contained in:
@ -798,9 +798,11 @@ public class JdbcClient {
|
||||
case "real":
|
||||
return Type.FLOAT;
|
||||
case "float":
|
||||
case "money":
|
||||
case "smallmoney":
|
||||
return Type.DOUBLE;
|
||||
case "money":
|
||||
return ScalarType.createDecimalV3Type(19, 4);
|
||||
case "smallmoney":
|
||||
return ScalarType.createDecimalV3Type(10, 4);
|
||||
case "decimal":
|
||||
case "numeric":
|
||||
int precision = fieldSchema.getColumnSize();
|
||||
|
||||
Reference in New Issue
Block a user