[ 
https://issues.apache.org/jira/browse/HIVE-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747152#action_12747152
 ] 

Edward Capriolo commented on HIVE-645:
--------------------------------------

Now you are making progress.:) The '1' return is a failure code for the UDF. If 
you set the logging level high enough you should see why.

Right now I think the problem is you are not doing 
{noformat}
add jar mysql-connector.jar;
{noformat}

We could return different numbers to indicate where the failure happened. but 1 
indicates (could not load the driver or bad query)

> A UDF that can export data to JDBC databases.
> ---------------------------------------------
>
>                 Key: HIVE-645
>                 URL: https://issues.apache.org/jira/browse/HIVE-645
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Contrib
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>            Priority: Minor
>         Attachments: hive-645-2.patch, hive-645-3.patch, hive-645-4.patch, 
> hive-645-5.patch, hive-645.patch
>
>
> A UDF that can export data to JDBC databases.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to