You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same issue that bit the C++ implementation: Schema() is infallible so it can't be implemented on top of C Data Interface (where get_schema is fallible) without panicking. We should import the schema up front and report the error properly.
Component(s)
Go
The text was updated successfully, but these errors were encountered:
### Rationale for this change
Panicking is rude.
### What changes are included in this PR?
Import C Array Stream schemas up front and report the error.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
`ImportCArrayStream` (which cannot fail, only panic) is deprecated in favor of `ImportCRecordReader` (which can return an error).
* Closes: #35974
Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
Describe the enhancement requested
Same issue that bit the C++ implementation: Schema() is infallible so it can't be implemented on top of C Data Interface (where get_schema is fallible) without panicking. We should import the schema up front and report the error properly.
Component(s)
Go
The text was updated successfully, but these errors were encountered: