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

Metastore: Datanucleus MSSQLServerAdapter generates incorrect syntax for OFFSET-FETCH clause

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.1.0
    • None
    • Metastore
    • None

    Description

      See the bug description here: https://github.com/datanucleus/datanucleus-rdbms/issues/110.

      In ObjectStore#listStorageDescriptorsWithCD, we set a range on the query. For MSSQLServer version >= 12, this results in an OFFSET-FETCH clause in the MSSQLServerAdapter (provided by datanucleus).

      I'll attach a short term workaround for Hive here and once DN has the fix, we can upgrade and remove the short term fix from Hive.

      Attachments

        1. HIVE-14698.1.patch
          5 kB
          Vaibhav Gumashta
        2. HIVE-14698.2.patch
          5 kB
          Vaibhav Gumashta

        Issue Links

          Activity

            People

              vgumashta Vaibhav Gumashta
              vgumashta Vaibhav Gumashta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: