Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4954

PTFTranslator hardcodes ranking functions

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      protected static final ArrayList<String> RANKING_FUNCS = new ArrayList<String>();
      static

      { RANKING_FUNCS.add("rank"); RANKING_FUNCS.add("dense_rank"); RANKING_FUNCS.add("percent_rank"); RANKING_FUNCS.add("cume_dist"); }

      ;

      Move this logic to annotations

        Attachments

        1. HIVE-4954.1.patch.txt
          7 kB
          Edward Capriolo
        2. HIVE-4879.2.patch.txt
          6 kB
          Edward Capriolo

          Issue Links

            Activity

              People

              • Assignee:
                appodictic Edward Capriolo
                Reporter:
                appodictic Edward Capriolo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: