Home
last modified time | relevance | path

Searched refs:DecimalLogicalType (Results 1 – 20 of 20) sorted by relevance

/dports/databases/arrow/apache-arrow-6.0.1/go/parquet/schema/
H A Dlogical_types.go48 return &DecimalLogicalType{typ: l.DECIMAL}
350 type DecimalLogicalType struct { struct
355 func (t DecimalLogicalType) Precision() int32 { argument
359 func (t DecimalLogicalType) Scale() int32 { argument
363 func (DecimalLogicalType) SortOrder() SortOrder { argument
367 func (t DecimalLogicalType) MarshalJSON() ([]byte, error) { argument
371 func (t DecimalLogicalType) String() string { argument
384 func (t DecimalLogicalType) IsApplicable(typ parquet.Type, tlen int32) bool { argument
401 func (t DecimalLogicalType) toThrift() *format.LogicalType { argument
405 func (t DecimalLogicalType) Equals(rhs LogicalType) bool { argument
[all …]
H A Dlogical_types_test.go75 assert.IsType(t, &schema.DecimalLogicalType{}, fromConverted)
76 assert.IsType(t, &schema.DecimalLogicalType{}, fromMake)
H A Dschema_element_test.go191 dec := c.logical.(*DecimalLogicalType)
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/parquet/
H A Dschema_test.cc1193 []() { DecimalLogicalType::Make(10, -1); }, // Invalid scale in TEST()
1194 []() { DecimalLogicalType::Make(10, 11); } // Invalid scale in TEST()
1233 {DecimalLogicalType::Make(16, 6), false, true, true}, in TEST()
1387 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1392 logical_type = DecimalLogicalType::Make(10, 0); in TEST()
1397 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1402 logical_type = DecimalLogicalType::Make(19, 0); in TEST()
1407 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1424 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1432 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
[all …]
H A Dtypes.cc331 return DecimalLogicalType::Make(converted_decimal_metadata.precision, in FromConvertedType()
389 return DecimalLogicalType::Make(type.DECIMAL.precision, type.DECIMAL.scale); in FromThrift()
448 return DecimalLogicalType::Make(precision, scale); in Decimal()
879 friend class DecimalLogicalType;
970 const auto& other_decimal = checked_cast<const DecimalLogicalType&>(other); in Equals()
976 std::shared_ptr<const LogicalType> DecimalLogicalType::Make(int32_t precision, in Make()
987 auto* logical_type = new DecimalLogicalType(); in Make()
992 int32_t DecimalLogicalType::precision() const { in precision()
996 int32_t DecimalLogicalType::scale() const { in scale()
H A Dtypes.h318 class PARQUET_EXPORT DecimalLogicalType : public LogicalType {
325 DecimalLogicalType() = default;
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/parquet/
H A Dschema_test.cc1193 []() { DecimalLogicalType::Make(10, -1); }, // Invalid scale in TEST()
1194 []() { DecimalLogicalType::Make(10, 11); } // Invalid scale in TEST()
1233 {DecimalLogicalType::Make(16, 6), false, true, true}, in TEST()
1386 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1391 logical_type = DecimalLogicalType::Make(10, 0); in TEST()
1396 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1401 logical_type = DecimalLogicalType::Make(19, 0); in TEST()
1406 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1423 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1431 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
[all …]
H A Dtypes.cc326 return DecimalLogicalType::Make(converted_decimal_metadata.precision, in FromConvertedType()
385 return DecimalLogicalType::Make(type.DECIMAL.precision, type.DECIMAL.scale); in FromThrift()
444 return DecimalLogicalType::Make(precision, scale); in Decimal()
873 friend class DecimalLogicalType;
964 const auto& other_decimal = checked_cast<const DecimalLogicalType&>(other); in Equals()
970 std::shared_ptr<const LogicalType> DecimalLogicalType::Make(int32_t precision, in Make()
981 auto* logical_type = new DecimalLogicalType(); in Make()
986 int32_t DecimalLogicalType::precision() const { in precision()
990 int32_t DecimalLogicalType::scale() const { in scale()
H A Dtypes.h336 class PARQUET_EXPORT DecimalLogicalType : public LogicalType {
343 DecimalLogicalType() = default;
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/parquet/
H A Dschema_test.cc1193 []() { DecimalLogicalType::Make(10, -1); }, // Invalid scale in TEST()
1194 []() { DecimalLogicalType::Make(10, 11); } // Invalid scale in TEST()
1233 {DecimalLogicalType::Make(16, 6), false, true, true}, in TEST()
1387 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1392 logical_type = DecimalLogicalType::Make(10, 0); in TEST()
1397 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1402 logical_type = DecimalLogicalType::Make(19, 0); in TEST()
1407 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1424 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
1432 logical_type = DecimalLogicalType::Make(precision, 0); in TEST()
[all …]
H A Dtypes.cc319 return DecimalLogicalType::Make(converted_decimal_metadata.precision, in FromConvertedType()
377 return DecimalLogicalType::Make(type.DECIMAL.precision, type.DECIMAL.scale); in FromThrift()
436 return DecimalLogicalType::Make(precision, scale); in Decimal()
867 friend class DecimalLogicalType;
958 const auto& other_decimal = checked_cast<const DecimalLogicalType&>(other); in Equals()
964 std::shared_ptr<const LogicalType> DecimalLogicalType::Make(int32_t precision, in Make()
975 auto* logical_type = new DecimalLogicalType(); in Make()
980 int32_t DecimalLogicalType::precision() const { in precision()
984 int32_t DecimalLogicalType::scale() const { in scale()
H A Dtypes.h318 class PARQUET_EXPORT DecimalLogicalType : public LogicalType {
325 DecimalLogicalType() = default;
/dports/databases/arrow/apache-arrow-6.0.1/go/parquet/metadata/
H A Dapp_version.go166 …if _, ok := logicalType.(*schema.DecimalLogicalType); ok && coltype == parquet.Types.FixedLenByteA…
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/parquet/arrow/
H A Dschema_internal.cc35 const auto& decimal = checked_cast<const DecimalLogicalType&>(logical_type); in MakeArrowDecimal()
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/parquet/arrow/
H A Dschema_internal.cc35 const auto& decimal = checked_cast<const DecimalLogicalType&>(logical_type); in MakeArrowDecimal()
H A Dreader_internal.cc212 const DecimalLogicalType& decimal_type = in ExtractDecimalMinMaxFromBytesType()
213 checked_cast<const DecimalLogicalType&>(logical_type); in ExtractDecimalMinMaxFromBytesType()
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/python/pyarrow/
H A D_parquet.pxd148 " parquet::DecimalLogicalType"(CParquetLogicalType):
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/python/pyarrow/
H A D_parquet.pxd149 " parquet::DecimalLogicalType"(CParquetLogicalType):
/dports/databases/arrow/apache-arrow-6.0.1/python/pyarrow/
H A D_parquet.pxd151 " parquet::DecimalLogicalType"(CParquetLogicalType):
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/parquet/arrow/
H A Dreader_internal.cc96 const auto& decimal = checked_cast<const DecimalLogicalType&>(logical_type); in MakeArrowDecimal()