You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/02/10 19:34:11 UTC

[jira] [Resolved] (PHOENIX-1602) ResultSet.getString() is slow

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

James Taylor resolved PHOENIX-1602.
-----------------------------------
    Resolution: Invalid

Calling ResultSet.getString() is different than using Bytes.toBytes(). If it's a String type, then a String is materialized. If it's a non-String type, like DECIMAL or DATE/TIME, then default formatting will be done. It's expected that this would be slower.

> ResultSet.getString() is slow 
> ------------------------------
>
>                 Key: PHOENIX-1602
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1602
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Anil Saldhana
>
> resultset.getString() is quite slow compared to direct use of getBytes().
> Can you please check the implementation?



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