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

Method build_decimal128_array

c_glib/test/helper/buildable.rb:148–159  ·  view source on GitHub ↗
(value_data_type, values)

Source from the content-addressed store, hash-verified

146 end
147
148 def build_decimal128_array(value_data_type, values)
149 values = values.collect do |value|
150 case value
151 when String
152 Arrow::Decimal128.new(value)
153 else
154 value
155 end
156 end
157 build_array(Arrow::Decimal128ArrayBuilder.new(value_data_type),
158 values)
159 end
160
161 def build_list_array(value_data_type, values_list, field_name: "value")
162 value_field = Arrow::Field.new(field_name, value_data_type)

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected