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 testArray.
@Test
public void testArray() {
SqlTypeName tn = SqlTypeName.getNameForJdbcType(Types.ARRAY);
assertEquals("ARRAY did not map to ARRAY", SqlTypeName.ARRAY, 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 testDecimal.
@Test
public void testDecimal() {
SqlTypeName tn = SqlTypeName.getNameForJdbcType(Types.DECIMAL);
assertEquals("DECIMAL did not map to DECIMAL", SqlTypeName.DECIMAL, 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 testTinyint.
@Test
public void testTinyint() {
SqlTypeName tn = SqlTypeName.getNameForJdbcType(Types.TINYINT);
assertEquals("TINYINT did not map to TINYINT", SqlTypeName.TINYINT, 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 testDatalink.
@Test
public void testDatalink() {
SqlTypeName tn = SqlTypeName.getNameForJdbcType(Types.DATALINK);
assertEquals("DATALINK did not map to null", null, 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 testSqlxml.
@Test
public void testSqlxml() {
SqlTypeName tn = SqlTypeName.getNameForJdbcType(ExtraSqlTypes.SQLXML);
// SQLXML not supported yet
assertEquals("SQLXML maps to non-null type", null, tn);
}
Aggregations