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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Ted Yu created FLINK-6433:
-----------------------------

             Summary: 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)