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

Teddy Choi updated HIVE-15743:
------------------------------
    Attachment: HIVE-15743.4.patch

This patch applies Sergey's feedback. It uses a trimed string for precision 
check, and limits strtod(String) for testing only.

> vectorized text parsing: speed up double parse
> ----------------------------------------------
>
>                 Key: HIVE-15743
>                 URL: https://issues.apache.org/jira/browse/HIVE-15743
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Teddy Choi
>         Attachments: HIVE-15743.1.patch, HIVE-15743.2.patch, 
> HIVE-15743.3.patch, HIVE-15743.4.patch, tpch-without.png
>
>
> {noformat}
> Double.parseDouble(
>                 new String(bytes, fieldStart, fieldLength, 
> StandardCharsets.UTF_8));{noformat}
> This takes ~25% of the query time in some cases.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to