Skip to content

Commit

Permalink
fix: tokenize stage path
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc committed Oct 25, 2023
1 parent b17e312 commit 536242c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/src/ast/tokenizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub enum TokenKind {
#[regex(r#"'([^'\\]|\\.|'')*'"#)]
QuotedString,

#[regex(r#"@([^\s`;'"])+"#)]
#[regex(r#"@([^\s`;'"])+/"#)]
AtString,

#[regex(r"[xX]'[a-fA-F0-9]*'")]
Expand Down
2 changes: 1 addition & 1 deletion cli/tests/01-put.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ echo "CREATE STAGE ss_temp" | ${BENDSQL}
echo "ABCD" >/tmp/a1.txt
echo "ABCD" >/tmp/a2.txt

echo 'put fs:///tmp/a*.txt @ss_temp/abc' | ${BENDSQL}
echo 'put fs://cli/tests/data/*.parquet @ss_temp/abc/' | ${BENDSQL}
echo 'get @ss_temp/abc fs:///tmp/edf' | ${BENDSQL}
Binary file added cli/tests/data/books.parquet
Binary file not shown.

0 comments on commit 536242c

Please sign in to comment.