breezy-portugal-43538
04/01/2022, 9:21 AMincalculable-ocean-74010
04/01/2022, 11:58 AMbreezy-portugal-43538
04/01/2022, 12:13 PMincalculable-ocean-74010
04/01/2022, 12:54 PMIf you would like I can simplify my json and share it too
Please do, DataHub does not support reading custom json, so unless you are specifying metadata in DataHub’s expected format like: https://raw.githubusercontent.com/datahub-project/datahub/master/metadata-ingestion/examples/demo_data/demo_data.json then I don’t expect the data can be correctly ingested.breezy-portugal-43538
04/01/2022, 1:19 PMbreezy-portugal-43538
04/01/2022, 1:20 PMcurl '<http://localhost:8080/entities?action=ingest>' -X POST --data-raw "$(<basic_example.json)"
Datahub will accept it and show it correctly. If this is not the way to do it, how can I then generate the ingestible json based on my csv file?incalculable-ocean-74010
04/01/2022, 1:43 PMhow can I then generate the ingestible json based on my csv file?
Right now we don’t have a CSV source in our ingestion list we would love a contribution though!
Alternatively you can take the information in your CSV and generate json files that can then be ingested via https://datahubproject.io/docs/metadata-ingestion/source_docs/filebreezy-portugal-43538
04/01/2022, 1:55 PMincalculable-ocean-74010
04/01/2022, 2:03 PMif the json that I had provided to you is valid, can I use it in curl command to send it to datahub?
Yes, but file as source is prefered.