tobixdev opened a new pull request, #8878:
URL: https://github.com/apache/arrow-rs/pull/8878

   # Which issue does this PR close?
   
   - Closes #8875 .
   
   Ping @alamb 
   
   # Rationale for this change
   
   `FormatOptions` is no longer `Send` and `Sync`.
   
   # What changes are included in this PR?
   
   - Require `Send` + `Sync` for `ArrayFormatterFactory`
   - Assertion that `FormatOptions` is `Send` + `Sync`
   
   # Are these changes tested?
   
   - Yes
   
   # Are there any user-facing changes?
   
   Yes, should fix the compiler error. I could compile DataFusion with the 
following patch adapted from the issue:
   
   ```
   ## Temporary arrow-rs patch until 57.1.0 is released
   
   [patch.crates-io]
   arrow = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   arrow-array = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   arrow-buffer = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   arrow-cast = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   arrow-data = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   arrow-ipc = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   arrow-schema = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   arrow-select = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   arrow-string = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   arrow-ord = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   arrow-flight = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   parquet = { git = "https://github.com/tobixdev/arrow-rs.git";, branch = 
"custom-formatters" }
   ```


-- 
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