@Internal public final class ZetaSqlCalciteTranslationUtils extends java.lang.Object
Unsupported ZetaSQL types: INT32, UINT32, UINT64, FLOAT, ENUM, PROTO, GEOGRAPHY TODO[BEAM-10238]: support ZetaSQL types: TIME, DATETIME, NUMERIC
Modifier and Type | Method and Description |
---|---|
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType |
toArrayRelDataType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder,
com.google.zetasql.ArrayType arrayType,
boolean isNullable) |
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.type.SqlTypeName |
toCalciteTypeName(com.google.zetasql.ZetaSQLType.TypeKind type) |
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType |
toRelDataType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder,
com.google.zetasql.Type type,
boolean isNullable) |
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType |
toSimpleRelDataType(com.google.zetasql.ZetaSQLType.TypeKind kind,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder) |
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType |
toSimpleRelDataType(com.google.zetasql.ZetaSQLType.TypeKind kind,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder,
boolean isNullable) |
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType |
toStructRelDataType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder,
com.google.zetasql.StructType structType,
boolean isNullable) |
static com.google.zetasql.Type |
toZetaType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType calciteType) |
public static com.google.zetasql.Type toZetaType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType calciteType)
public static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.type.SqlTypeName toCalciteTypeName(com.google.zetasql.ZetaSQLType.TypeKind type)
public static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType toRelDataType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder, com.google.zetasql.Type type, boolean isNullable)
public static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType toArrayRelDataType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder, com.google.zetasql.ArrayType arrayType, boolean isNullable)
public static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType toStructRelDataType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder, com.google.zetasql.StructType structType, boolean isNullable)
public static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType toSimpleRelDataType(com.google.zetasql.ZetaSQLType.TypeKind kind, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder)
public static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType toSimpleRelDataType(com.google.zetasql.ZetaSQLType.TypeKind kind, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder, boolean isNullable)