You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Alexander Ershov <vo...@gmail.com> on 2012/10/25 18:43:31 UTC

reflect UDF can't handle both String and int

Query
select reflect('java.lang.Integer', 'parseInt', 'a', 16) from src limit 1;

throws java.lang.NoSuchMethodException: java.lang.Integer.parseInt(null, int)

A bug or a feature?

Re: reflect UDF can't handle both String and int

Posted by Navis류승우 <na...@nexr.com>.
It seemed a bug. I've booked it on
https://issues.apache.org/jira/browse/HIVE-3622

2012/10/26 Alexander Ershov <vo...@gmail.com>

> Query
> select reflect('java.lang.Integer', 'parseInt', 'a', 16) from src limit 1;
>
> throws java.lang.NoSuchMethodException: java.lang.Integer.parseInt(null,
> int)
>
> A bug or a feature?
>