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

Refactoring code for avoiding of comparison of Strings and do comparison on Path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.13.0, 0.14.0, 1.0.0, 1.2.1
    • 2.3.0
    • Hive

    Description

      In Hive often String is used for representation path and it causes new issues.
      We need to compare it with equals() but comparing Strings often is not right in terms comparing paths .
      I think if we use Path from org.apache.hadoop.fs we will avoid new problems in future.

      Attachments

        1. HIVE-12244.1.patch
          122 kB
          Alina Abramova
        2. HIVE-12244.10.patch
          115 kB
          Zoltan Haindrich
        3. HIVE-12244.11.patch
          116 kB
          Zoltan Haindrich
        4. HIVE-12244.12.patch
          115 kB
          Zoltan Haindrich
        5. HIVE-12244.2.patch
          122 kB
          Alina Abramova
        6. HIVE-12244.3.patch
          120 kB
          Alina Abramova
        7. HIVE-12244.4.patch
          123 kB
          Alina Abramova
        8. HIVE-12244.5.patch
          123 kB
          Alina Abramova
        9. HIVE-12244.6.patch
          122 kB
          Alina Abramova
        10. HIVE-12244.7.patch
          122 kB
          Alina Abramova
        11. HIVE-12244.8.patch
          124 kB
          Alina Abramova
        12. HIVE-12244.8.patch
          124 kB
          Alina Abramova
        13. HIVE-12244.9.patch
          126 kB
          Alina Abramova

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              alina.abramova Alina Abramova
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: