Contents:
Get the specified writesettings object.
The writesettings
values allow you to specify aspects of the publication of results to the specified path
location.
NOTE: writesettings
values are required if you are running this specified job for the dataset for the first time.
NOTE: To specify multiple outputs, you can include additional writesettings
objects in the request. For example, if you want to generate output to csv
and json
, you can duplicate the writesettings
object for csv
and change the format
value in the second one to json
.
These settings correspond to values that you can apply through the UI. For UI information, see Run Job Page.
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: GET
Endpoint:
/v4/writesettings/<id>
Request URI - Example:
/v4/writesettings/6/
Query parameter reference:
The following query parameters can be submitted with this endpoint:
Query Parameter | Data Type | Description |
---|---|---|
embed | string | Comma-separated list of objects to include part of the response. |
includeDeleted | string | If set to |
For more information, see API Common Query Parameters v4.
Request Body:
Empty.
Response
Response Status Code - Success: 200 - OK
Response Body Example:
{ "delim": ",", "id": 6, "path": "hdfs://hadoop:50070/trifacta/queryResults/admin@example.com/POS_r01.pqt", "action": "create", "format": "pqt", "compression": "none", "header": false, "asSingleFile": false, "prefix": null, "suffix": "_increment", "hasQuotes": false, "createdAt": "2018-11-07T23:47:15.144Z", "updatedAt": "2018-11-07T23:47:15.144Z", "creator": { "id": 1 }, "updater": { "id": 1 }, "outputObject": { "id": 5 } }
Reference
Property | Description |
---|---|
delim | The delimiter between field values in an output row |
id | Internal identifier of the writesettings object |
path | (required) The fully qualified path to the output location where to write the results |
action | (required) If the output file or directory exists, you can specify one of the following actions:
|
format | (required) Output format for the results. Specify one of the following values:
NOTE: To specify multiple output formats, create additional |
compression | (optional) For NOTE: If compression is applied, the filename in the
|
header | (optional) For csv results with action set to create or append , this value determines if a header row with column names is inserted at the top of the results. Default is false . |
asSingleFile | (optional) For csv and json results, this value determines if the results are concatenated into a single file or stored as multiple files. Default is false . |
prefix | NOTE: Do not use or modify. For internal platform use only. |
suffix | NOTE: Do not use or modify. For internal platform use only. |
hasQuotes | If true , each field in the output is wrapped in double-quotes. |
createdAt | Timestamp for when the writesettings object was created |
updatedAt | Timestamp for when the writesettings object was last updated |
creator.id | Internal identifier of the user who created the object |
updater.id | Internal identifier of the user who last updated the object |
outputObject.id | If specified, this value is the internal identifier of the outputobject with which this writesettings object is associated. |
This page has no comments.