Hello everyone. Attempting to generate a list of ...
# troubleshoot
a
Hello everyone. Attempting to generate a list of "pipeline" URNs. However, I receive no results. My script works fine with
dataset
entities but not with `dataflow`/`datajob`entities. Is this a bug? I even tried making use of
datahub.cli.cli_utils.get_urns_by_filter
See https://github.com/datahub-project/datahub/blob/master/metadata-ingestion/src/datahub/cli/cli_utils.py Same output. I also tried entity type dataFlow/dataJob. Number of entities returned is zero. URL: DataHub GMS host +
/entities?action=search
Payload
Copy code
{
  "input": "*",
  "entity": "dataflow",
  "start": 0,
  "count": 100,
  "filter": {
    "or": [
      {
        "and": [
          {
            "field": "origin",
            "value": "DEV",
            "condition": "EQUAL"
          },
          {
            "field": "platform",
            "value": "urn:li:dataPlatform:my-platform",
            "condition": "EQUAL"
          }
        ]
      }
    ]
  }
}
Response
Copy code
{
  "value": {
    "numEntities": 0,
    "pageSize": 100,
    "from": 0,
    "metadata": {
      "aggregations": [
        {
          "name": "origin",
          "filterValues": [],
          "aggregations": {},
          "displayName": "origin"
        },
        {
          "name": "platform",
          "filterValues": [],
          "aggregations": {},
          "displayName": "Platform"
        }
      ]
    },
    "entities": []
  }
}
Copy code
{
  "version": "v0.9.6.1",
  "commit": "f14676f8af32571f800bdf6ad9f144f2ba5c909f"
}
b
hey weird
can you try using dataFlow instead?
(casing)
a
can you try using dataFlow instead?
I tried that too, dataFlow / dataJob