You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2017/05/02 16:24:04 UTC

[jira] [Commented] (FLINK-6433) Unreachable code in SqlToRelConverter#visitCall()

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

Fabian Hueske commented on FLINK-6433:
--------------------------------------

Thanks for reporting this.

This class was copied from Apache Calcite as a temporary fix until Calcite 1.13 is released and we updated the dependency.
I think we can leave this class as it is.

> Unreachable code in SqlToRelConverter#visitCall()
> -------------------------------------------------
>
>                 Key: FLINK-6433
>                 URL: https://issues.apache.org/jira/browse/FLINK-6433
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>       SqlFunction histogramOp = !ENABLE_HISTOGRAM_AGG
>         ? null
>         : getHistogramOp(aggOp);
>       if (histogramOp != null) {
> {code}
> Since ENABLE_HISTOGRAM_AGG is hardcoded as false, the if block wouldn't be executed.



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