[ 
https://issues.apache.org/jira/browse/IMPALA-14819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18065871#comment-18065871
 ] 

ASF subversion and git services commented on IMPALA-14819:
----------------------------------------------------------

Commit 787b63a4b88b91bf441200e336ca0bac873541b9 in impala's branch 
refs/heads/master from Steve Carlin
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=787b63a4b ]

IMPALA-14819: Calcite planner: Implement sqrt function in convertlet

When a user uses sqrt as a function in their SQL, Calcite converts this
to the "power()" function. While this is basically harmless, it did affect
an e2e test, and it seems a bit more natural to keep things using the
Impala function.

Change-Id: I5b94421f568dd8d3f01738388277aed35c8993cb
Reviewed-on: http://gerrit.cloudera.org:8080/24076
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Calcite planner: SQRT function being converted to power
> -------------------------------------------------------
>
>                 Key: IMPALA-14819
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14819
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Steve Carlin
>            Priority: Major
>
> This is a fix to help make e2e tests work.
> Calcite is converting the Sqrt function to power.  To keep things a little 
> more Impala-esque, it would be good to keep the sqrt sql in the explain plan.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to