I am trying to create a new data source in Dremio using REST API.
While the docs are pretty decent, they lack real examples which is where I fail.
So wanting to add a new data source I do the following REST calls:
- Login to get the session token
- Create a datasource: So I can create a folder structure or create a virtual dataset which is based on SQL query of pre-existing data. However I am failing to add a new PHYSICAL_DATASET or promote VIRTUAL_DATASET to a physical one.
I am getting HTTP 400 with a message that the entity to promote with a given path does not exist (when I can verify it does)
Anybody with any experience using Dremio's REST should be able to shed some light.
Thank you!