You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Grant Henke (JIRA)" <ji...@apache.org> on 2019/03/06 15:19:00 UTC

[jira] [Created] (KUDU-2737) Allow KuduContext row errors to be handled

Grant Henke created KUDU-2737:
---------------------------------

             Summary: Allow KuduContext row errors to be handled
                 Key: KUDU-2737
                 URL: https://issues.apache.org/jira/browse/KUDU-2737
             Project: Kudu
          Issue Type: Improvement
          Components: spark
    Affects Versions: 1.9.0
            Reporter: Grant Henke


Currently when writing to Kudu via Spark the writeRows Api detects all row errors and throws a RuntimeException with some of the sample errors included in the string: 
https://github.com/apache/kudu/blob/master/java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/KuduContext.scala#L344

We should optionally return these row errors and  allow users to handle them, or potentially take and error handler function to allow custom error handling logic to be passed through. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)