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

Method with_schema

datafusion-cli/src/print_format.rs:541–544  ·  view source on GitHub ↗

set the schema

(mut self, schema: SchemaRef)

Source from the content-addressed store, hash-verified

539
540 // set the schema
541 fn with_schema(mut self, schema: SchemaRef) -> Self {
542 self.schema = schema;
543 self
544 }
545
546 /// set the batches to convert
547 fn with_batches(mut self, batches: Vec<RecordBatch>) -> Self {

Callers 9

simplify_demoFunction · 0.45
type_coercion_demoFunction · 0.45
json_shreddingFunction · 0.45
do_get_fallbackMethod · 0.45
adapter_serializationFunction · 0.45
custom_file_castsFunction · 0.45
print_emptyFunction · 0.45
print_maxrows_unlimitedFunction · 0.45

Calls

no outgoing calls

Tested by 3

print_emptyFunction · 0.36
print_maxrows_unlimitedFunction · 0.36