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.
This commit is contained in:
Dimitri Fontaine 2014-04-29 14:51:14 +02:00
parent f0cc4ddef9
commit 1d5d0ae72f

View File

@ -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