jychen7 commented on a change in pull request #2099: URL: https://github.com/apache/arrow-datafusion/pull/2099#discussion_r835850870
########## File path: datafusion/src/execution/options.rs ########## @@ -21,14 +21,18 @@ use std::sync::Arc; use arrow::datatypes::{Schema, SchemaRef}; -use crate::datasource::file_format::json::DEFAULT_JSON_EXTENSION; use crate::datasource::{ - file_format::{avro::AvroFormat, csv::CsvFormat, json::JsonFormat}, + file_format::{ + avro::{AvroFormat, DEFAULT_AVRO_EXTENSION}, + csv::{CsvFormat, DEFAULT_CSV_EXTENSION}, + json::{JsonFormat, DEFAULT_JSON_EXTENSION}, + parquet::{ParquetFormat, DEFAULT_PARQUET_EXTENSION}, + }, listing::ListingOptions, }; /// CSV file read option -#[derive(Copy, Clone)] Review comment: Arvo and Json read options do not use Copy trait. Removing it allows to use `Vec<String>` -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org