Changeset: f816c1775f8f for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/f816c1775f8f Added Files: sql/test/file_loader/Tests/SingleServer sql/test/file_loader/Tests/file_loader_string.test Modified Files: sql/test/file_loader/Tests/All Branch: default Log Message:
Add test for new syntax: FROM 'filename'. The parser accepts this notation but calls file_loader(). diffs (28 lines): diff --git a/sql/test/file_loader/Tests/All b/sql/test/file_loader/Tests/All --- a/sql/test/file_loader/Tests/All +++ b/sql/test/file_loader/Tests/All @@ -1,1 +1,2 @@ file_loader_function +file_loader_string diff --git a/sql/test/file_loader/Tests/SingleServer b/sql/test/file_loader/Tests/SingleServer new file mode 100644 diff --git a/sql/test/file_loader/Tests/file_loader_string.test b/sql/test/file_loader/Tests/file_loader_string.test new file mode 100644 --- /dev/null +++ b/sql/test/file_loader/Tests/file_loader_string.test @@ -0,0 +1,15 @@ +statement error 42000!Table expression without table name +select * from ''; + +statement error 42000!Table expression without table name +select * from 'FileNotFound'; + +statement error 42000!Table expression without table name +select * from '/tmp/FileNotFound'; + +statement error 42000!Table expression without table name +select * from '/tmp/FileNotFound.csv'; + +statement error 42000!Table expression without table name +select * from '/tmp/FileNotFound.csv.gz'; + _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org