You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/01/15 10:54:41 UTC

[GitHub] [arrow] jasonkhadka commented on issue #9194: Needs a handling for missing columns in parquet file

jasonkhadka commented on issue #9194:
URL: https://github.com/apache/arrow/issues/9194#issuecomment-760857808


   > Like a keyword to indicate that missing columns in this list can be ignored instead of raising an error?
   
   Yes a `error='ignore'`  keyword would be a perfect solution. 
   
   
   > The name of the missing field is in the error message?
   
   Name of the missing field is there in the error message. But if you want to get the field name out of error so that you can use that to drop it from the list of columns and try again to read the parquet, it is difficult. 
   The error only contains the message, and it would be great if the error also included the field name as property, so error handling could be built. 


----------------------------------------------------------------
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:
users@infra.apache.org