sql/src/main/java/org/apache/druid/sql/calcite/planner/Calcites.java
/**
   * Like RelDataTypeFactory.createSqlTypeWithNullability, but creates types that align best with how Druid
   * represents them.
   */
Like RelDataTypeFactory.createSqlTypeWithNullability, but creates types that align best with how Druid
represents them.
Like RelDataTypeFactory . createSqlTypeWithNullability but creates types that align best with how Druid represents them .
public static RelDataType createSqlArrayTypeWithNullability(
      final RelDataTypeFactory typeFactory,
      final SqlTypeName elementTypeName,
      final boolean nullable
  )
  {
    final RelDataType dataType = typeFactory.createArrayType(
        createSqlTypeWithNullability(typeFactory, elementTypeName, nullable),
        -1
    );
    return dataType;
  }
public static RelDataType createSqlArrayTypeWithNullability ( final RelDataTypeFactory typeFactory , final SqlTypeName elementTypeName , final boolean nullable ) { final RelDataType dataType = typeFactory . createArrayType ( createSqlTypeWithNullability ( typeFactory , elementTypeName , nullable ) , - 1 ) ; return dataType ; }
Like RelDataTypeFactory.createSqlTypeWithNullability, but creates types that align best with how Druid
 represents them.
Like RelDataTypeFactory . createSqlTypeWithNullability but creates types that align best with how Druid represents them .