devinjdangelo commented on issue #11150:
URL: https://github.com/apache/datafusion/issues/11150#issuecomment-2241142765
In the original PR I added a `CsvLogicalExtensionCodec` which ignores all
file format specific options and simply deserializes to the default options. In
your test you are also using the default options, so it will pass with the
existing extension codec. If you change it to anything other than defaults, it
should fail.
```rust
let plan = LogicalPlan::Copy(CopyTo {
input: Arc::new(input),
output_url: "test.csv".to_string(),
partition_by: vec!["a".to_string(), "b".to_string(),
"c".to_string()],
file_type,
options: HashMap::from_iter(vec![("format.delimiter", ";")]),
});
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]