use datafusion::arrow::util::pretty;
use datafusion::error::Result;
use datafusion::prelude::*;
#[tokio::main]
async fn main() -> Result<()> {
let ctx = SessionContext::new();
let avro_file = "binary.avro";
ctx.register_avro("alltypes_plain", avro_file, AvroReadOptions::default())
.await?;
// it warns: Error: NotImplemented("cannot read avro schema without the 'avro' feature enabled")
Ok(())
}