Contents:
Create a writesettings object.
Version: v4
Required Permissions
NOTE: Each request to the Designer Cloud Powered by Trifacta® platform must include authentication credentials. See https://api.trifacta.com/ee/6.4/index.html#section/Authentication.
Request
Request Type: POST
Endpoint:
/v4/writesettings
Request Body:
Following creates a writesettings object that writes a new Parquet file to the designated location each time that the job is run.
{ "delim": ",", "path": "hdfs://hadoop:50070/trifacta/queryResults/admin@example.com/POS_r03.pqt", "action": "create", "format": "pqt", "compression": "none", "header": false, "asSingleFile": false, "prefix": null, "suffix": "_increment", "hasQuotes": false, "outputObjectId": 5 }
Response
Response Status Code - Success: 201 - Created
{ "delim": ",", "id": 7, "path": "hdfs://hadoop:50070/trifacta/queryResults/admin@example.com/POS_r03.pqt", "action": "create", "format": "pqt", "compression": "none", "header": false, "asSingleFile": false, "prefix": null, "suffix": "_increment", "hasQuotes": false, "updatedAt": "2018-11-08T00:15:22.948Z", "createdAt": "2018-11-08T00:15:22.948Z", "creator": { "id": 1 }, "updater": { "id": 1 }, "outputObjectId": 5 }
Reference
For more information on the properties of a writesettings object, see API WriteSettings Get v4.
This page has no comments.