diff --git a/cli/src/ast/tokenizer.rs b/cli/src/ast/tokenizer.rs index b2bb73efa..62b314a83 100644 --- a/cli/src/ast/tokenizer.rs +++ b/cli/src/ast/tokenizer.rs @@ -122,7 +122,7 @@ pub enum TokenKind { #[regex(r#"'([^'\\]|\\.|'')*'"#)] QuotedString, - #[regex(r#"@([^\s`;'"])+"#)] + #[regex(r#"@([^\s`;'"])+/"#)] AtString, #[regex(r"[xX]'[a-fA-F0-9]*'")] diff --git a/cli/tests/01-put.sh b/cli/tests/01-put.sh index f0c5afd44..533d9481b 100755 --- a/cli/tests/01-put.sh +++ b/cli/tests/01-put.sh @@ -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} diff --git a/cli/tests/data/books.parquet b/cli/tests/data/books.parquet new file mode 100644 index 000000000..ac610fa34 Binary files /dev/null and b/cli/tests/data/books.parquet differ