use of org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.sql.type.SqlTypeName in project calcite by apache.
the class SqlTypeNameTest method testVarbinary.
@Test
public void testVarbinary() {
SqlTypeName tn = SqlTypeName.getNameForJdbcType(Types.VARBINARY);
assertEquals("VARBINARY did not map to VARBINARY", SqlTypeName.VARBINARY, tn);
}
use of org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.sql.type.SqlTypeName in project calcite by apache.
the class SqlTypeNameTest method testDate.
@Test
public void testDate() {
SqlTypeName tn = SqlTypeName.getNameForJdbcType(Types.DATE);
assertEquals("DATE did not map to DATE", SqlTypeName.DATE, tn);
}
use of org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.sql.type.SqlTypeName in project calcite by apache.
the class SqlTypeNameTest method testChar.
@Test
public void testChar() {
SqlTypeName tn = SqlTypeName.getNameForJdbcType(Types.CHAR);
assertEquals("CHAR did not map to CHAR", SqlTypeName.CHAR, tn);
}
use of org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.sql.type.SqlTypeName in project calcite by apache.
the class SqlTypeNameTest method testTime.
@Test
public void testTime() {
SqlTypeName tn = SqlTypeName.getNameForJdbcType(Types.TIME);
assertEquals("TIME did not map to TIME", SqlTypeName.TIME, tn);
}
use of org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.sql.type.SqlTypeName in project calcite by apache.
the class SqlTypeNameTest method testRef.
@Test
public void testRef() {
SqlTypeName tn = SqlTypeName.getNameForJdbcType(Types.REF);
assertEquals("REF did not map to null", null, tn);
}
Aggregations