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

Function create_external_table_format_option

datafusion-cli/src/exec.rs:754–764  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

752
753 #[tokio::test]
754 async fn create_external_table_format_option() -> Result<()> {
755 let location = "path/to/file.cvs";
756
757 // Test with format options
758 let sql = format!(
759 "CREATE EXTERNAL TABLE test STORED AS CSV LOCATION '{location}' OPTIONS('format.has_header' 'true')"
760 );
761 create_external_table_test(location, &sql).await.unwrap();
762
763 Ok(())
764 }
765}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…