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

Copy-paste error in the RelOptHiveTable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      There are two similar conditions with the same issue: or expression where both sides are the same

      if (pkPos == rowType.getFieldNames().size()
      || pkPos == rowType.getFieldNames().size()) {
      
      

      and

      if (ukPos == rowType.getFieldNames().size()
      || ukPos == rowType.getFieldNames().size()) {
      

      jcamachorodriguez, could you please check this, since they were introduced in HIVE-17054.

      Attachments

        1. HIVE-18482.patch
          1 kB
          jcamachorodriguez

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              olegd Oleg Danilov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: