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

Improve the Functionality of Reverse FOR Statement

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: hpl/sql
    • Labels:
      None
    • Flags:
      Patch

      Description

      According to SQL Standards, Reverse FOR Statement should be like this:-

      FOR index IN Optional[Reverse] Lower_Bound Upper_Bound

      but in hive it is like this :-
      FOR index IN Optional[Reverse] Upper_Bound Lower_Bound

      so i m just trying to improve the functionality for Reverse FOR Statement

      REFERNCES :- https://docs.oracle.com/cloud/latest/db112/LNPLS/for_loop_statement.htm#LNPLS1536

        Attachments

        1. HIVE-14382.1-branch-2.1.patch
          2 kB
          Akash Sethi
        2. HIVE-14382.1.patch
          2 kB
          Akash Sethi

          Activity

            People

            • Assignee:
              akashsethi24 Akash Sethi
              Reporter:
              akashsethi24 Akash Sethi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified