Page tree

Versions Compared

Key

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

...

Below, you can review the basic request body for creating imported datasets for various types of sources:

  • File (HDFS or S3 source)

    Info

    NOTE: You can create imported datasets only from file types that are natively supported by the platform. Using this endpoint, you cannot create imported datasets from file types, such as Microsoft Excel, that must be converted before import.


  • Hive
  • Relational
  • Relation with Custom SQL Query

...

Info

NOTE: The path value should not include the S3 protocol, host, or port information. You only need to provide the path on S3.


Code Block
{
  "path": "/trifacta/uploads/1/4aee9852-cf92-47a8-8c6a-9ff2adeb3b4a/POS-r02.txt",
  "type": "s3",
  "bucket": "myBucket",
  "name": "POS-r02b.txt",
  "description": "POS-r02 - copy"
}

Response Body - file:

Following example is for an HDFS file. For an S3 file, type=s3.

...