Hi guys, its when i do the ingestion, if a table i...
# ingestion
f
Hi guys, its when i do the ingestion, if a table its delete, to remove it from datahub?
i create a view in bigquery, run the ingestion, after that i deleted the view and re run the igestion. The view is still in datahub 😞
s
what version of server and CLI?
b
s
are the settings applied for stateful ingest?
@better-orange-49102 can you elaborate? don't understand the question
b
only when stateful ingestion is set in the yaml, then entities will be removed when they're removed right
f
@square-activity-64562
Copy code
DataHub CLI version: 0.8.24.0
Python version: 3.8.2 (default, Nov  4 2020, 21:23:28)
[Clang 12.0.0 (clang-1200.0.32.28)]
@better-orange-49102
Copy code
curl <http://localhost:8080/config>
{
  "models" : { },
  "versions" : {
    "linkedin/datahub" : {
      "version" : "v0.8.26",
      "commit" : "3668de85e041836d743121701cd63a8504fa327a"
    }
  },
  "statefulIngestionCapable" : true,
  "retention" : "true",
  "noCode" : "true"
}
the strange think its that i dont see the lineage also This is the recepie
Copy code
source:
    type: bigquery
    config:
        project_id: <project>
        include_table_lineage: true
sink:
    type: datahub-rest
    config:
        server: '<http://localhost:8080>'
s
@few-air-56117 As @better-orange-49102 mentioned you need to enable stateful ingestion as described in https://datahubproject.io/docs/metadata-ingestion/source_docs/stateful_ingestion
f
its true
Copy code
curl <http://localhost:8080/config>
{
  "models" : { },
  "versions" : {
    "linkedin/datahub" : {
      "version" : "v0.8.26",
      "commit" : "3668de85e041836d743121701cd63a8504fa327a"
    }
  },
  "statefulIngestionCapable" : true,
  "retention" : "true",
  "noCode" : "true"
}
ohh
statefulIngestionCapable, this one , right?
b
there is some settings in the yaml to add
f
oh, in the receipe, got it
like this?
Copy code
source:
    type: bigquery
    config:
        project_id: <project>
        include_table_lineage: true
        stateful_ingestion.enabled: true
b
i have not used it before😅, just pointing you to the doc
seems like it means you need a previous run with it enabled first, though
f
oh, oky 😂
thx a lot