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

Preserve path permission when truncate table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.2, 2.1.3, 2.2.3, 2.3.4, 2.4.4, 3.0.0
    • 2.4.5, 3.0.0
    • SQL

    Description

      When Spark SQL truncates table, it deletes the paths of table/partitions, then re-create new ones. If custom permission/acls are set on the paths, the metadata will be deleted.

      We should preserve original permission/acls if possible.

      Attachments

        Issue Links

          Activity

            People

              viirya L. C. Hsieh
              viirya L. C. Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: