15 package com.cloudera.impala.analysis;
17 import static org.junit.Assert.assertTrue;
32 assertTrue(t1.equals(t2));
45 ScalarType.createDecimalType(12, 2));
49 ScalarType.createDecimalType(14, 5));
53 ScalarType.createDecimalType(12, 2));
57 ScalarType.createDecimalType(14, 5));
60 ScalarType.createDecimalType(16, 5)),
61 ScalarType.createDecimalType(16, 5));
67 ScalarType.createDecimalType());
73 ScalarType.createDecimalType(12, 2));
82 ScalarType.createDecimalType(38, 38));
void TestDecimalAssignementType()
PrimitiveType getPrimitiveType()
static ScalarType getDecimalAssignmentCompatibleType(ScalarType t1, ScalarType t2)
static final ScalarType DEFAULT_DECIMAL
uint64_t Test(T *ht, const ProbeTuple *input, uint64_t num_tuples)
static final ScalarType DECIMAL
static ScalarType createDecimalType()
void verifyDecimalType(Type t1, Type t2)