rok commented on code in PR #13901: URL: https://github.com/apache/arrow/pull/13901#discussion_r1738894355
########## cpp/src/parquet/arrow/schema.cc: ########## @@ -427,6 +428,12 @@ Status FieldToNode(const std::string& name, const std::shared_ptr<Field>& field, } case ArrowTypeId::EXTENSION: { auto ext_type = std::static_pointer_cast<::arrow::ExtensionType>(field->type()); + // Built-in JSON extension is handled differently. + if (ext_type->extension_name() == std::string("arrow.json")) { + type = ParquetType::BYTE_ARRAY; + logical_type = LogicalType::JSON(); + break; Review Comment: Reintroduced this break. It breaks `case` and is necessary. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org