Apache Drill
  1. Apache Drill
  2. DRILL-993

Remove redundant comparison in comparison operator generated by FreeMarker template

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Functions - Drill
    • Labels:
      None

      Description

      In comparison operators generated by FreeMarker template, we may do two comparisons for a single operator. The second comparison is actually redundant.

      In stead, we should modify the FreeMarker template, and do one comparison. This would improve the performance of comparison operators.

        Activity

        Hide
        Jinfeng Ni added a comment -

        The fix is integrated via commit : 27d3e7145a7b1a43015fd4cb745e425443411b8c

        Show
        Jinfeng Ni added a comment - The fix is integrated via commit : 27d3e7145a7b1a43015fd4cb745e425443411b8c

          People

          • Assignee:
            Jinfeng Ni
            Reporter:
            Jinfeng Ni
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development