Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-28996

Add tests regarding username of HiveClient

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      The owner of Hive table has been back-and-forth, principal -> username -> principal, and looks like the change is not intentional. It was full principal before 2.1.1, and SPARK-19970 fixed the owner to be username instead of principal (2.1.1+, 2.2.0+). But there's a bug with null and SPARK-22846 fixed the issue of null but rolled back the owner to be principal (2.3.0+).
       
      Ideally we should add UT to prevent changing this unintentionally, especially there's another issue SPARK-26929 to propose it to username again.

      Attachments

        Issue Links

          Activity

            People

              kabhwan Jungtaek Lim
              kabhwan Jungtaek Lim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: