This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use datafusion::prelude::*; | |
use arrow::{array::{Int32Builder, StructBuilder}, datatypes::*}; | |
#[tokio::main] | |
async fn main() -> datafusion::error::Result<()> { | |
let inner_field1 = Field::new("inner_1", DataType::Int32, true); | |
let inner_field2 = Field::new("inner_2", DataType::Int32, true); |