Skip to content

Commit

Permalink
feat: Copy From
Browse files Browse the repository at this point in the history
  • Loading branch information
holicc committed Oct 28, 2024
1 parent b96a268 commit e4746cf
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 131 deletions.
1 change: 1 addition & 0 deletions qurious/src/datasource/file/csv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use crate::provider::table::TableProvider;

use super::DataFilePath;

#[derive(Debug)]
pub struct CsvReadOptions {
pub has_header: bool,
pub delimiter: u8,
Expand Down
2 changes: 1 addition & 1 deletion qurious/src/execution/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ mod tests {
"SELECT * FROM read_csv('./tests/testdata/file/case1.csv')",
vec![
"+----+---------------+--------------------+",
"| id | localtion | name |",
"| id | location | name |",
"+----+---------------+--------------------+",
"| 1 | China BeiJing | BeiJing University |",
"+----+---------------+--------------------+",
Expand Down
Loading

0 comments on commit e4746cf

Please sign in to comment.