presto-connector/src/main/java/com/facebook/presto/maxcompute/utils/TypeConvertUtils.java [110:135]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            case FLOAT:
                // long
                return RealType.REAL;
            case DOUBLE:
                // double
                return DoubleType.DOUBLE;
            case DECIMAL:
                // long or Slice
                DecimalTypeInfo decimalTypeInfo = (DecimalTypeInfo) odpsType;
                int precision = decimalTypeInfo.getPrecision();
                int scale = decimalTypeInfo.getScale();
                if (decimalTypeInfo.getPrecision() > Decimals.MAX_PRECISION) {
                    precision = Decimals.MAX_PRECISION;
                }
                return DecimalType.createDecimalType(precision, scale);
            case BOOLEAN:
                // boolean
                return BooleanType.BOOLEAN;
            case ARRAY:
                // Block
                ArrayTypeInfo arrayTypeInfo = (ArrayTypeInfo) odpsType;
                return new ArrayType(toPrestoType(arrayTypeInfo.getElementTypeInfo()));
            case MAP:
            case STRUCT:
                // TODO: support map and struct
            default:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



trino-connector/src/main/java/io/trino/plugin/maxcompute/utils/TypeConvertUtils.java [110:135]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            case FLOAT:
                // long
                return RealType.REAL;
            case DOUBLE:
                // double
                return DoubleType.DOUBLE;
            case DECIMAL:
                // long or Slice
                DecimalTypeInfo decimalTypeInfo = (DecimalTypeInfo) odpsType;
                int precision = decimalTypeInfo.getPrecision();
                int scale = decimalTypeInfo.getScale();
                if (decimalTypeInfo.getPrecision() > Decimals.MAX_PRECISION) {
                    precision = Decimals.MAX_PRECISION;
                }
                return DecimalType.createDecimalType(precision, scale);
            case BOOLEAN:
                // boolean
                return BooleanType.BOOLEAN;
            case ARRAY:
                // Block
                ArrayTypeInfo arrayTypeInfo = (ArrayTypeInfo) odpsType;
                return new ArrayType(toPrestoType(arrayTypeInfo.getElementTypeInfo()));
            case MAP:
            case STRUCT:
                // TODO: support map and struct
            default:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



