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

Function MakeRealConverter

cpp/src/arrow/csv/converter.cc:684–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682template <typename ConverterType, template <typename...> class ConcreteConverterType,
683 typename Type, typename DecoderType>
684std::shared_ptr<ConverterType> MakeRealConverter(const std::shared_ptr<DataType>& type,
685 const ConvertOptions& options,
686 MemoryPool* pool) {
687 if (options.decimal_point == '.') {
688 return std::make_shared<ConcreteConverterType<Type, DecoderType>>(type, options,
689 pool);
690 }
691 return std::make_shared<
692 ConcreteConverterType<Type, CustomDecimalPointValueDecoder<DecoderType>>>(
693 type, options, pool);
694}
695
696} // namespace
697

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected