public static TypeInfo convertLiteralType(RexLiteral literal) {
    return TypeConverter.convertPrimitiveType(literal.getType());
  }
******************** Convert Hive Types To Calcite Types **********************
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/TypeConverter.java