drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venki Korukanti (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-3273) Hive function 'concat_ws' not working from drill
Date Thu, 11 Jun 2015 00:09:00 GMT

     [ https://issues.apache.org/jira/browse/DRILL-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Venki Korukanti updated DRILL-3273:
-----------------------------------
    Attachment: DRILL-3273-1.patch

We are passing null DeferredObject for argument whose value is null. This causes NPE with
UDFs that don't check for null before accessing the actual argument value in DeferredObject.
Fix is to pass a DeferredObject with null as the argument value.

> Hive function 'concat_ws' not working from drill
> ------------------------------------------------
>
>                 Key: DRILL-3273
>                 URL: https://issues.apache.org/jira/browse/DRILL-3273
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Hive
>            Reporter: Rahul Challapalli
>            Assignee: Venki Korukanti
>         Attachments: DRILL-3273-1.patch, error.log
>
>
> git.commit.id.abbrev=5f26b8b
> The below query from drill fails. It works from hive.
> {code}
> 0: jdbc:drill:schema=dfs_eea> select concat_ws(varchar_col, interval_col, '|') from
hive.crosssources.fewtypes_null_hive;
> Error: SYSTEM ERROR: java.lang.RuntimeException: GenericUDF.evaluate method failed
> Fragment 0:0
> [Error Id: 2d318049-26c9-4903-a7d5-78fa61aee70c on qa-node190.qa.lab:31010] (state=,code=0)
> {code}
> I attached the error log from drill. Let me know if you need anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message