You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Csaba Ringhofer (Jira)" <ji...@apache.org> on 2023/05/08 14:36:00 UTC
[jira] [Resolved] (IMPALA-12111) Speed up DATE to STRING conversion
[ https://issues.apache.org/jira/browse/IMPALA-12111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Csaba Ringhofer resolved IMPALA-12111.
--------------------------------------
Fix Version/s: Impala 4.3.0
Resolution: Fixed
> Speed up DATE to STRING conversion
> ----------------------------------
>
> Key: IMPALA-12111
> URL: https://issues.apache.org/jira/browse/IMPALA-12111
> Project: IMPALA
> Issue Type: Improvement
> Components: be
> Reporter: Csaba Ringhofer
> Priority: Major
> Fix For: Impala 4.3.0
>
>
> Converting DATE to STRING is slower than converting TIMESTAMP to STRING which is weird as TIMESTAMP handling should need more work. The culprit seems to be using stringstream in DateValue.ToString(): https://github.com/apache/impala/blob/14698c8b99b80db7e6fd99900e32b6742bef1662/be/src/runtime/date-value.cc#L433
> As dates are returned as string to the client this also slow down the materialization of results on the coordinator.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org