Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
youngsofun committed Oct 8, 2024
1 parent 6942842 commit 4212dee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/query/ast/src/ast/statements/copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ impl Display for FileLocation {

/// Used when we want to allow use variable for options etc.
/// Other expr is not necessary, because
/// 1. we can allways create a variable that can be used directly.
/// 1. we can always create a variable that can be used directly.
/// 2. columns can not be referred.
///
/// Can extend to all type of Literals if needed later.
Expand Down
8 changes: 6 additions & 2 deletions src/query/ast/tests/it/testdata/stmt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9279,7 +9279,9 @@ Query(
options: SelectStageOptions {
files: None,
pattern: Some(
"[.]*parquet",
Literal(
"[.]*parquet",
),
),
file_format: Some(
"tsv",
Expand Down Expand Up @@ -16830,7 +16832,9 @@ Query(
options: SelectStageOptions {
files: None,
pattern: Some(
"*.parquet",
Literal(
"*.parquet",
),
),
file_format: None,
connection: {
Expand Down

0 comments on commit 4212dee

Please sign in to comment.