Hi,
Below are the details
Url: http://host:9766/api/v3/catalog
Request Body:
{
“entityType”: “dataset”,
“path”: [
“SPACE_1”,
“Test”,
“VDS1”
],
“type”: “VIRTUAL_DATASET”,
“sql”: “select * from DREMIO_SAMPLE_DATA.gregg_sens”,
“sqlContext”: [“VDS1”, “DREMIO_SAMPLE_DATA”]
}
In above request body “gregg_sens” is a PDS.
I am following below link
Example name is POST CATALOG FOR DATASETS
https://docs.dremio.com/rest-api/catalog/post-catalog.html