Hive
  1. Hive
  2. HIVE-4954

PTFTranslator hardcodes ranking functions

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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

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

        Issue Links

          Activity

          Ashutosh Chauhan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Brock Noland made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.12.0 [ 12324312 ]
          Resolution Fixed [ 1 ]
          Edward Capriolo made changes -
          Attachment HIVE-4879.2.patch.txt [ 12595032 ]
          Edward Capriolo made changes -
          Link This issue relates to HIVE-4879 [ HIVE-4879 ]
          Edward Capriolo made changes -
          Parent HIVE-4937 [ 12659956 ]
          Issue Type Sub-task [ 7 ] Improvement [ 4 ]
          Edward Capriolo made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Edward Capriolo made changes -
          Field Original Value New Value
          Attachment HIVE-4954.1.patch.txt [ 12594832 ]
          Edward Capriolo created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development