hi Anders, would you like to open a Jira issue and submit a PR (with unit test)?
On Mon, Dec 28, 2020 at 9:51 AM anders johansson <anders.johans...@tickup.se> wrote: > > 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