You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "omrimallis (via GitHub)" <gi...@apache.org> on 2023/04/02 14:42:17 UTC
[GitHub] [arrow] omrimallis commented on pull request #34511: GH-29105: [C++][Parquet] Relax schema checking when writing using StreamWriter
omrimallis commented on PR #34511:
URL: https://github.com/apache/arrow/pull/34511#issuecomment-1493356902
@mapleFU To my understanding, Parquet writers still have to encode `ConvertedType` for each field according to the Parquet spec. So when you create a `PrimitiveNode`, its `ConvertedType` is automatically inferred and set from its `LogicalType` (see the constructor of `PrimitiveNode`). The stream writer can therefore always rely on it being present, except in the special circumstances which this PR solves. We can update the code of `StreamWriter` to check against logical types instead, though I see no special benefit for it currently.
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org