Skip to content

Commit

Permalink
remove unnessasary check
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordworms committed Feb 25, 2025
1 parent e3c56d4 commit d304cfc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions datafusion-cli/src/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,15 +326,6 @@ mod tests {
)?;
assert!(matches!(result, ValidationResult::Valid(None)));

// should be invalid
let result = readline_direct(
Cursor::new(
r"create external table test stored as csv location 'data.csv' options ('format.delimiter' '\u{07}');"
.as_bytes()),
&validator,
)?;
assert!(matches!(result, ValidationResult::Invalid(Some(_))));

let result = readline_direct(
Cursor::new(
r"select '\', '\\', '\\\\\', 'dsdsds\\\\', '\t', '\0', '\n';".as_bytes(),
Expand Down

0 comments on commit d304cfc

Please sign in to comment.