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

Function csv_u8_table_options

datafusion/common/src/config.rs:3479–3488  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3477
3478 #[test]
3479 fn csv_u8_table_options() {
3480 let mut table_config = TableOptions::new();
3481 table_config.set_config_format(ConfigFileType::CSV);
3482 table_config.set("format.delimiter", ";").unwrap();
3483 assert_eq!(table_config.csv.delimiter as char, ';');
3484 table_config.set("format.escape", "\"").unwrap();
3485 assert_eq!(table_config.csv.escape.unwrap() as char, '"');
3486 table_config.set("format.escape", "\'").unwrap();
3487 assert_eq!(table_config.csv.escape.unwrap() as char, '\'');
3488 }
3489
3490 #[test]
3491 fn warning_only_not_default() {

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
set_config_formatMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…