Hi,

When writing to a primitive node of a logical type not supported by
converted_type (such as parquet::LogicalType::TimeUnit::NANOS), the error
"Column converted type mismatch" is thrown. As I understand it, the
converted_type logic is legacy. The problem is solved by removing

  if (converted_type != node->converted_type()) {
    throw ParquetException("Column converted type mismatch.  Column '" +
node->name() +
                           "' has converted type[" +
                           ConvertedTypeToString(node->converted_type()) +
"] not '" +
                           ConvertedTypeToString(converted_type) + "'");
  }

from StreamWriter::CheckColumn() in src/parquet/stream_writer.cc

BR,
//Anders

Reply via email to