HyukjinKwon edited a comment on pull request #31284: URL: https://github.com/apache/spark/pull/31284#issuecomment-768630015
@razajafri, do you mind clarifying PR description? For exmaple, I thought you meant writing out to files or somewhere by: > Spark should read it as a long but write it as an int by downcasting it and calling the appropriate method to set the integer value The change itself looks making sense but my question is how parquet-mr handles this case. Vectorized readers are supposed to contribute back to Parquet side so it would be great to know how they handle and we match it. It's more because it looks a bit odd to me that we should manipulate the column descriptor. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org