MCPcopy Create free account
hub / github.com/apache/impala / _createV100

Function _createV100

be/src/workload_mgmt/workload-management-fields-test.cc:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55using FieldDefEntry = pair<TQueryTableColumn::type, FieldDefinition>;
56
57FieldDefEntry _createV100(TQueryTableColumn::type db_col, TPrimitiveType::type t,
58 const int16_t precision = 0, const int16_t scale = 0) {
59 Version v;
60 EXPECT_TRUE(ParseVersion("1.0.0", &v).ok());
61
62 return make_pair<>(db_col, FieldDefinition(t, v, precision, scale));
63}
64
65FieldDefEntry _createV100String(TQueryTableColumn::type db_col) {
66 return _createV100(db_col, TPrimitiveType::STRING);

Callers 5

_createV100StringFunction · 0.85
_createV100BigIntFunction · 0.85
_createV100IntFunction · 0.85
_createV100TimestampFunction · 0.85
_createV100DecimalFunction · 0.85

Calls 3

ParseVersionFunction · 0.85
FieldDefinitionClass · 0.85
okMethod · 0.45

Tested by

no test coverage detected