Hello Percy,
On 08.02.2013, at 19:07, Percy Wegmann
Recently, though, I ran into a problem. If the "COPY INTO" statement that I issue is wrong, for example the referenced table doesn't exist, Monet comes back with an error. The example isn't checking for this error condition and proceeds to send data anyway. With a really large batch of data, this becomes a problem because the SQL parser ends up trying to parse all that data as if it were SQL and basically chokes on it.
The solution is to add something like the following after the out.newLine() on line 86:
error = in.waitForPrompt(); if (error != null) { throw new Exception(error); }
You are right, that can happen. We will update this to the mentioned file soon. Thanks for providing the solution! Best, Hannes