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

Preserve path permission when truncate table

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2, 2.1.3, 2.2.3, 2.3.4, 2.4.4, 3.0.0
    • Fix Version/s: 2.4.5, 3.0.0
    • Component/s: SQL
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: