Fix #20 by skipping table and view missing from the catalogs.

This commit is contained in:
Dimitri Fontaine 2014-03-04 14:01:04 +01:00
parent 4d6def8105
commit 56f3da28ed
2 changed files with 6 additions and 1 deletions

View File

@ -365,6 +365,11 @@
(loop
for (table-name . columns) in (append all-columns view-columns)
unless columns
do (log-message :error "Table ~s not found, skipping." table-name)
when columns
do
(let* ((encoding
;; force the data encoding when asked to

View File

@ -16,7 +16,7 @@ LOAD DATABASE
column enumerate.foo using empty-string-to-null
MATERIALIZE VIEWS
MATERIALIZE VIEWS nonexisting,
d as $$
select cast(d as date) as d, count(*) as n
from plop