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

Describe function does not provide description for rank functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      @WindowFunctionDescription(
        description = @Description(
          name = "dense_rank",
          value = "_FUNC_(x) The difference between RANK and DENSE_RANK is that DENSE_RANK leaves no " +
                  "gaps in ranking sequence when there are ties. That is, if you were " +
                  "ranking a competition using DENSE_RANK and had three people tie for " +
                  "second place, you would say that all three were in second place and " +
                  "that the next person came in third."
        ),
        supportsWindow = false,
        pivotResult = true,
        rankingFunction = true,
        impliesOrder = true
      )
      
      DESC FUNCTION dense_rank;
      
      PREHOOK: query: DESC FUNCTION dense_rank
      PREHOOK: type: DESCFUNCTION
      POSTHOOK: query: DESC FUNCTION dense_rank
      POSTHOOK: type: DESCFUNCTION
      There is no documentation for function 'dense_rank'
      

      Attachments

        1. HIVE-22250.1.patch
          4 kB
          Krisztian Kasa
        2. HIVE-22250.1.patch
          4 kB
          Krisztian Kasa
        3. HIVE-22250.1.patch
          4 kB
          Krisztian Kasa
        4. HIVE-22250.2.patch
          37 kB
          Krisztian Kasa
        5. HIVE-22250.3.patch
          37 kB
          Krisztian Kasa
        6. HIVE-22250.3.patch
          37 kB
          Krisztian Kasa
        7. HIVE-22250.4.patch
          49 kB
          Krisztian Kasa
        8. HIVE-22250.5.patch
          49 kB
          Krisztian Kasa

        Issue Links

          Activity

            People

              kkasa Krisztian Kasa
              kkasa Krisztian Kasa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: