pub fn try_new_with_options(
        schema: Schema,
        columns: Vec<ArrayRef>,
        options: &RecordBatchOptions,
    ) -> Result<Self> {
        Self::validate_new_batch(&schema, columns.as_slice(), options)?;
        Ok(RecordBatch { schema, columns })
    }
/// Creates a `RecordBatch` from a schema and columns, with additional options,
/// such as whether to strictly validate field names.
///
/// See [`RecordBatch::try_new`] for the expected conditions.
Creates a `RecordBatch` from a schema and columns, with additional options,
such as whether to strictly validate field names.


Creates a ` RecordBatch ` from a schema and columns with additional options such as whether to strictly validate field names .
pub fn try_new_with_options(
        schema: Schema,
        columns: Vec<ArrayRef>,
        options: &RecordBatchOptions,
    ) -> Result<Self> {
        Self::validate_new_batch(&schema, columns.as_slice(), options)?;
        Ok(RecordBatch { schema, columns })
    }
pub fn try_new_with_options ( schema : Schema , columns : Vec < ArrayRef > , options : & RecordBatchOptions , ) -> Result < Self > { Self :: validate_new_batch ( & schema , columns . as_slice ( ) , options ) ? ; Ok ( RecordBatch { schema , columns } ) }
Creates a `RecordBatch` from a schema and columns, with additional options,
such as whether to strictly validate field names.
Creates a ` RecordBatch ` from a schema and columns with additional options such as whether to strictly validate field names .
schema
Schema
columns
Vec<ArrayRef>
options
&RecordBatchOptions
schema
Schema
columns
Vec<ArrayRef>
options
&RecordBatchOptions