Newer Version Available

This content describes an older version of this product. View Latest

load

Loads a dataset. All SAQL queries start with a load statement.

Syntax

1result = load dataset;

If you’re working in Dashboard JSON, dataset must be the dataset name from the UI. Use of the dataset name (also called an alias) means the app can substitute it with the correct version of the dataset.

If you’re working in Wave REST API, dataset must be the containerId/versionId.

Usage

After being loaded, the data is in ungrouped form. The columns are the columns of the loaded dataset.

Example

The following example loads the dataset with ContainerID “0Fbxx000000002qCAA” and VersionID “0Fcxx000000002WCAQ” to a stream named “b”:

b = load "0Fbxx000000002qCAA/0Fcxx000000002WCAQ";

Example

The following example loads the dataset with the name “Accounts” to a stream named “b”:

b = load "Accounts";