{
  "enumDefs": [],
  "structDefs": [],
  "classificationDefs": [],
  "entityDefs": [
    {
      "name": "impala_process",
      "superTypes": [
        "Process"
      ],
      "serviceType": "impala",
      "typeVersion": "1.0",
      "attributeDefs": [
        {
          "name": "startTime",
          "typeName": "date",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "endTime",
          "typeName": "date",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "userName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "operationType",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "queryText",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false,
          "searchWeight": 10
        },
        {
          "name": "queryPlan",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "queryId",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "recentQueries",
          "typeName": "array<string>",
          "cardinality": "LIST",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "clusterName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": true,
          "includeInNotification": true,
          "isUnique": false,
          "searchWeight": 10
        },
        {
          "name": "queryGraph",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        }
      ]
    },
    {
      "name" : "impala_column_lineage",
      "superTypes" : [
        "Process"
      ],
      "serviceType": "impala",
      "typeVersion" : "1.0",
      "attributeDefs" : [
        {
          "name": "dependencyType",
          "typeName": "string",
          "cardinality" : "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        }
      ]
    },
    {
      "name" : "impala_process_execution",
      "superTypes" : [
        "ProcessExecution"
      ],
      "serviceType": "impala",
      "typeVersion" : "1.0",
      "attributeDefs" : [
        {
          "name": "startTime",
          "typeName": "date",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "endTime",
          "typeName": "date",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "userName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "queryText",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false,
          "searchWeight": 10
        },
        {
          "name": "queryGraph",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "queryId",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "queryPlan",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "hostName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        }
      ]
    }
  ],
  "relationshipDefs": [
    {
      "name": "impala_process_column_lineage",
      "serviceType": "impala",
      "typeVersion": "1.0",
      "relationshipCategory": "COMPOSITION",
      "endDef1": {
        "type": "impala_column_lineage",
        "name": "query",
        "isContainer": false,
        "cardinality": "SINGLE"
      },
      "endDef2": {
        "type": "impala_process",
        "name": "columnLineages",
        "isContainer": true,
        "cardinality": "SET"
      },
      "propagateTags": "NONE"
    },
    {
      "name": "impala_process_process_executions",
      "serviceType": "impala",
      "typeVersion": "1.0",
      "relationshipCategory": "COMPOSITION",
      "endDef1": {
        "type": "impala_process",
        "name": "processExecutions",
        "cardinality": "SET",
        "isContainer": true
      },
      "endDef2": {
        "type": "impala_process_execution",
        "name": "process",
        "cardinality": "SINGLE"
      },
      "propagateTags": "NONE"
    }
  ]
}
