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

PTFTranslator hardcodes ranking functions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • 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-4879.2.patch.txt
          6 kB
          Edward Capriolo
        2. HIVE-4954.1.patch.txt
          7 kB
          Edward Capriolo

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: