MCPcopy Create free account
hub / github.com/apache/datafusion / builder_error

Function builder_error

datafusion/datasource/src/file_stream/mod.rs:366–368  ·  view source on GitHub ↗

Convenience helper to keep builder error assertions focused on the specific missing or invalid input under test.

(builder: FileStreamBuilder<'_>)

Source from the content-addressed store, hash-verified

364 /// Convenience helper to keep builder error assertions focused on the
365 /// specific missing or invalid input under test.
366 fn builder_error(builder: FileStreamBuilder<'_>) -> String {
367 builder.build().err().unwrap().to_string()
368 }
369
370 #[tokio::test]
371 async fn on_error_opening() -> Result<()> {

Calls 2

to_stringMethod · 0.45
buildMethod · 0.45

Used in the wild real call sites across dependent graphs

searching dependent graphs…