Hey im trying to import some tables manually and i...
# troubleshoot
p
Hey im trying to import some tables manually and im wondering if im using tags correctly since they are not showing up:
Copy code
{
  "proposedSnapshot": {
    "com.linkedin.pegasus2avro.metadata.snapshot.DatasetSnapshot": {
      "urn": "urn:li:dataset:(urn:li:dataPlatform:s3,controller-avrodata.node_state,DEV)",
      "aspects": [
        {
          "com.linkedin.pegasus2avro.dataset.DatasetProperties": {
            "customProperties": {
              "test": "SPLAT"
            },
            "name": "controller-avrodata.node_state",
            "description": "",
            "tags": [
              "Sample"
            ]
          }
        }
      ]
    }
  }
}
g
DatasetProperties does have the tags key. But, Tags are declared as an aspect called 'globalTags'. So, I think the right way to do that is: Disclaimer: I'm not sure about that. I use the python SDK to ingest metadata manually.
Copy code
{
  "proposedSnapshot": {
    "com.linkedin.pegasus2avro.metadata.snapshot.DatasetSnapshot": {
      "urn": "urn:li:dataset:(urn:li:dataPlatform:s3,controller-avrodata.node_state,DEV)",
      "aspects": [
        {
          "com.linkedin.pegasus2avro.dataset.DatasetProperties": {
            "customProperties": {
              "test": "SPLAT"
            },
            "name": "controller-avrodata.node_state",
            "description": ""
          }
        },
        {
          "com.linkedin.pegasus2avro.common.GlobalTags": {
            "tags": [
              {
                "com.linkedin.pegasus2avro.common.TagAssociation": {
                  "tag": "tag"
                }
              }
            ]
          }
        }
      ]
    }
  }
}