Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • JSON v2 - This newer version reads the JSON source file through the Conversion Service, which stores a restructured version of the data in tabular format on the base storage layer for quick and simple use within the application. 

    Tip

    Tip: This method is enabled by default and is recommended. For more information, see Working with JSON v2.

      

  • JSON v1 - This older version reads JSON files directly into the platform as text files. However, this method often requires additional work to restructure the data into tabular format. For more information, see Working with JSON v1.

Parsing Limits

After a file is passed into the 

D s webapp
,  a set of transformations is applied to it to prepare it for use in the application. These transformations may impose additional limits on the file that is imported. When these transformations fail, the file may be imported into the application as a single column of data. For more information, see Initial Parsing Steps

Native Output File Formats

...

Info

NOTE: Import of a compressed file whose underlying format requires conversion through the Conversion Service is not supported.


Info

NOTE: Importing a compressed file with a high compression ratio can overload the available memory for the application. In such cases, you can decompress the file before uploading. If decompression fails, you should contact your administrator about increasing the Java Heap Size memory.


Info

NOTE: Publication of results in Snappy format may require additional configuration. See below.


Info

NOTE: GZIP files on Hadoop are not split across multiple nodes. As a result, jobs can crash when processing it through a single Hadoop task. This is a known issue with GZIP on Hadoop.

Where possible, limit the size of your GZIP files to 100 MB of less, or use BZIP2 as an alternative compression method. As a workaround, you can try to run the job on the unzipped file. You may also disable profiling for the job. See Run Job Page in the User Guide.


Tip

Tip: If preferred, you can configure the

D s webapp
to infer the compression scheme based on first few bytes of the file. For more information, see Miscellaneous Configuration.


Read Native File Formats



 GZIPBZIPSnappyNotes
CSV SupportedSupportedSupported
JSON v2Not supportedNot supportedNot supportedA converted file format. See above.
JSON v1SupportedSupportedSupportedNot a converted file format. See above.
Avro  

Supported
Hive  

Supported




Write Native File Formats

...



GZIPBZIPSnappy
CSVSupportedSupportedSupported
JSONSupportedSupportedSupported
Avro  

Supported; always on
Hive  

Supported; always on




Snappy compression formats

...