From 1d5d0ae72f27f41128183cbb3b86a6653a55a92f Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Tue, 29 Apr 2014 14:51:14 +0200 Subject: [PATCH] Update the bossa.load test case. The archive contents seem to have changed, and the regular expression to match files that we were using doesn't match any filename in the archive any more. Also, have the command load more data by parsing more files, using the ALL FILENAME MATCHING clause. --- test/bossa.load | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bossa.load b/test/bossa.load index 437f094..70c6307 100644 --- a/test/bossa.load +++ b/test/bossa.load @@ -4,7 +4,7 @@ LOAD ARCHIVE INTO postgresql:///stocks LOAD CSV - FROM FILENAME MATCHING ~/ALIOR/ + FROM ALL FILENAMES MATCHING ~/ALIOR/ WITH ENCODING iso-8859-2 (ticker, quote_date, open, high, low, close, volume) INTO postgresql:///stocks?intf_stocks @@ -14,7 +14,7 @@ LOAD ARCHIVE FIELDS TERMINATED BY ',' AND LOAD CSV - FROM FILENAME MATCHING ~/FPGNH14/ + FROM ALL FILENAMES MATCHING ~/F[A-Z]{4}1[45]|OZ20/ WITH ENCODING iso-8859-2 (ticker, quote_date, open, high, low, close, volume, openint) INTO postgresql:///stocks?intf_derivatives