Pig should throw a useful error when the destination CF doesn't exist
---------------------------------------------------------------------

                 Key: CASSANDRA-3847
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3847
             Project: Cassandra
          Issue Type: Bug
          Components: Hadoop
    Affects Versions: 0.7.0
            Reporter: Brandon Williams
            Assignee: Brandon Williams
             Fix For: 1.0.8


When trying to store data to nonexistent CF, no good error is returned.

Instead you get a message like:

{noformat}
[main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2042: Error in new 
logical plan. Try -Dpig.usenewlogicalplan=false.
{noformat}

Which, if you follow its advice, will eventually lead you to an NPE in 
initSchema.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to