hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esteban Donato <esteban.don...@gmail.com>
Subject Re: createStatement not supported
Date Sat, 14 Jan 2012 20:18:46 GMT
any advise on this?  Is this the right distribution list to discuss this topic?

On Thu, Jan 12, 2012 at 5:32 PM, Esteban Donato
<esteban.donato@gmail.com> wrote:
> Hi community!
>
> I'm new in this list.  I have a quick question:  I was checking
> HiveConnection and noted that createStatement(int resultSetType, int
> resultSetConcurrency) is not supported.  Any reason to not implement
> it?  I checked prepareStatement(String sql, int resultSetType, int
> resultSetConcurrency) and it is implemented the same way it is
> prepareStatement(String sql), that is, discarding resultSetType and
> resultSetConcurrency values.  Can we have the same for
> createStatement?  It could also be validated that type is
> TYPE_FORWARD_ONLY and concurrency level is CONCUR_READ_ONLY to proceed
> since these are the default values as per JDBC spec.
>
> I'm particular interested in this change since I'm using hive-jdbc
> inside a framework that uses createStatement(int resultSetType, int
> resultSetConcurrency).  I can submit the change if you agree.
>
> Regards,
> Esteban

Mime
View raw message