Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4630

Cannot remove attribute of type struct from a entity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • atlas-core
    • None

    Description

      Create a entity of type fs_path with attribute fs_permissions

      { "entity": { "typeName": "fs_path", "attributes": { "createTime": 1656095400000, "description": "description", "displayName": "displayName", "fileSize": null, "group": null, "isFile": "true", "isSymlink": "true", "modifiedTime": 1656095400000, "name": "filepath3", "owner": "admin", "path": "/etc/test", "posixPermissions": { "typeName": "fs_permissions", "attributes": { "sticky": false, "user": "READ", "others": "NONE", "group": "NONE" } }, "qualifiedName": "filepath3@cl1", "replicatedFrom": [], "replicatedTo": [], "userDescription": null }, "relationshipAttributes": { "hiveDb": null, "inputToProcesses": [], "meanings": [], "model": null, "outputFromProcesses": [], "pipeline": null, "schema": [] } } }

      Now if you try to remove attribute fs_permissions by setting by it null or empty {}. 

      It remain unchanged, i think this is bug in case of struct type

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            nixon Nixon Rodrigues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: