20 Mar
2008
20 Mar
'08
8:09 p.m.
I was wondering if the COPY command does not support schemas? CREATE TABLE test ( column1 VARCHAR(32), column2 VARCHAR(32) ); COPY INTO test FROM '/location/file.csv' USING DELIMITERS ',', '\n'; works fine CREATE SCHEMA abc; CREATE TABLE abc.test ( column1 VARCHAR(32), column2 VARCHAR(32) ); COPY INTO abc.test FROM '/location/file.csv' USING DELIMITERS ',', '\n'; fails with !SQLException:sql:table test not found !SQLException:importTable:failed to import table INSERT into abc.test VALUES(one,two) works fine