MCPcopy Create free account
hub / github.com/apache/arrow / decimal128

Function decimal128

cpp/src/arrow/type.cc:3364–3366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3362}
3363
3364std::shared_ptr<DataType> decimal128(int32_t precision, int32_t scale) {
3365 return std::make_shared<Decimal128Type>(precision, scale);
3366}
3367
3368std::shared_ptr<DataType> decimal256(int32_t precision, int32_t scale) {
3369 return std::make_shared<Decimal256Type>(precision, scale);

Callers 15

smallest_decimalFunction · 0.70
TESTFunction · 0.70
TEST_FFunction · 0.70
SampleSchemasFunction · 0.70
TEST_FFunction · 0.70
BuildDecimalArrayFunction · 0.70
TestSessionFunction · 0.50
json_internal.ccFile · 0.50

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.56
TEST_FFunction · 0.56
TEST_FFunction · 0.56
TestSessionFunction · 0.40
TESTFunction · 0.40
ASSERT_OK_AND_ASSIGNFunction · 0.40