fe/fe-type/README.md
This module contains the Frontend (FE) logical type system. It defines the full set of SQL-visible types and related helpers used by the analyzer, optimizer, catalog, and planner.
com.starrocks.type:
Type, ScalarType, PrimitiveTypeArrayType, MapType, StructType, StructField, JsonTypeCharType, VarcharType, StringType, VarbinaryTypeIntegerType, FloatType, DecimalType, DateTypeBitmapType, HLLType, PercentileType, FunctionType, VariantType, AggStateDescAny* types, ComplexTypeAccessPath, ComplexTypeAccessPathTypefe/fe-core via TypeFactory (e.g., TypeFactory.createCharType, createUnifiedDecimalType, createDecimalV3Type, etc.).com.starrocks.type.* from this module.com.starrocks.type.* across SPI boundaries.Config.enable_decimal_v3).DOUBLE or cap to DECIMAL256 based on session variables (see TypeFactory).TypeFactory.createCharType(10)TypeFactory.createVarcharType(255)TypeFactory.createUnifiedDecimalType(10, 2)new ArrayType(TypeFactory.createVarcharType(100))TypeFactory.Type.MAX_NESTING_DEPTH to avoid pathological structures.fe/README.mdfe/fe-core/src/main/java/com/starrocks/type/TypeFactory.javacom.starrocks.type