A hints file is an optional text file (.txt) that can be used to help generate a big data file share manifest. To learn more about big data file shares, see What is a big data file share. After a big data file share is created and a manifest has been generated, you can upload a hints file and regenerate the manifest in ArcGIS Server Manager. The hints file provides specifications that are used when regenerating the manifest. Hints can only be applied to datasets that are derived from delimited files. Each big data file share can have a single hints file with hints for multiple datasets.
Hints allow you to provide help to manifest generation with delimited file parameters such as field names, encoding, field delimiter and quote characters. It is recommenced to upload a hints file before editing individual datasets if:
- You have a CSV without headers, and want to apply fields names to your data.
- The quote and delimiter characters were not recognized when the manifest was first generated.
- The encoding of your dataset was not recognized.
If you upload a hints file, you need to regenerate the manifest. Only datasets with hints provided or new datasets will be updated, and changes made to any other datasets not in the hints file will remain the same.
The following is an example of a hints file, outlining hints for datasets named hurricanes and earthquakes:
# earthquake dataset (# means comment) earthquakes.fieldNames=field1,field2,field3 earthquakes.delimiter=, earthquakes.quoteChar=" earthquakes.encoding=UTF-8 earthquakes.recordTerminator=\n earthquakes.hasHeaderRow=false # hurricane dataset hurricanes.delimiter=|
The following table outlines the hints parameters:
The names of the fields to be used for the specified dataset. This is useful for delimited files without headers.
The type of delimiter applied to separate fields.
The character used for quotes.
The type of encoding applied.
Character that marks the end of a record.
Flag indicating if the delimited file has a header row.