findepi opened a new issue, #17141:
URL: https://github.com/apache/datafusion/issues/17141
### repro
```
cargo clean && cargo test -p datafusion
```
### expected
success
### observed
```
...
test datafusion/core/src/lib.rs - user_guide_prepared_statements (line 1054)
... ok
test datafusion/core/src/lib.rs - user_guide_prepared_statements (line 1097)
... ok
test datafusion/core/src/lib.rs - user_guide_prepared_statements (line 1136)
... ok
failures:
---- datafusion/core/src/lib.rs - library_user_guide_sql_api (line 1241)
stdout ----
error[E0599]: no method named `register_avro` found for struct
`datafusion::prelude::SessionContext` in the current scope
--> datafusion/core/src/lib.rs:1254:9
|
15 | ctx.register_avro("alltypes_plain", avro_file,
AvroReadOptions::default()).await?;
| ^^^^^^^^^^^^^
|
help: there is a method `register_arrow` with a similar name
|
15 - ctx.register_avro("alltypes_plain", avro_file,
AvroReadOptions::default()).await?;
15 + ctx.register_arrow("alltypes_plain", avro_file,
AvroReadOptions::default()).await?;
|
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0599`.
Couldn't compile the test.
failures:
datafusion/core/src/lib.rs - library_user_guide_sql_api (line 1241)
test result: FAILED. 184 passed; 1 failed; 2 ignored; 0 measured; 0 filtered
out; finished in 23.61s
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]