rkrug opened a new issue, #40423:
URL: https://github.com/apache/arrow/issues/40423

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Hi
   I have a parquet file 
(https://www.dropbox.com/scl/fi/lsg2xxe565dfa88e9plo4/part-0.parquet?rlkey=3w2sjc6xewaz9lxd4cwcvf65b&dl=0)
 which is causing an `Invalid metadata$r` warning. It seems to be working fine, 
but the warning is annoying. 
   
   The file is written from R as part of a partitioning database, and the error 
occurs with others as well. Please find the code and the link to the file at 
the end.
   
   
   ```
   arrow::write_dataset(
               data, 
               path = arrow_dir,
               partitioning = "publication_year" ,
               format = "parquet",
               existing_data_behavior = "overwrite"
           )
   ```
   
   ```
   > arrow::open_dataset("./data/corpus/publication_year=1500/part-0.parquet") 
|> dplyr::group_by(author_abbr)
   FileSystemDataset (query)
   id: string
   author: string
   ab: string
   doi: string
   topics: string
   author_abbr: string
   
   * Grouped by author_abbr
   See $.data for the source Arrow object
   Warning message:
   Invalid metadata$r 
   > 
   ```
   
   The Parquet file can be downloaded from: 
https://www.dropbox.com/scl/fi/lsg2xxe565dfa88e9plo4/part-0.parquet?rlkey=3w2sjc6xewaz9lxd4cwcvf65b&dl=0
   
   ### Component(s)
   
   R


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to