Direct Query Dataset
Direct Query is a mechanism to fetch the updated data directly from the data source (i.e. connector) using Metadata stored in the application table.
When Direct Query feature is enabled, the Storyboard data will be stored in the Meta datastore instead of Elasticsearch and is saved under the “Direct Query” folder.
NOTE:
The saved Storyboard data will be stored in the Database and no index is created in Elasticsearch.
Perform the following steps to create Dataset with Direct Query:
- Navigate to the Connections tab and select the folder where the connection is added.
- Click the [] icon and click [Add Dataset].
- The Add Dataset page displays. Provide the following details:
- Dataset Name: Provide a unique Dataset name.NOTE:If the Dataset with the provided name is already created, an error message displays.
- Connection Name: Displays the selected Connection Name.
- Direct Query: Toggle the [Direct Query] option using the slider to enable Direct Query.
- Add the desired data tables to the Selected data section.
- Click [Next] the Customize Data page display.
- Click [Add Join] to generate multiple joins and select the respective columns from table with primary key and foreign key relationship.
- Click [Next] the Modify Entities page displays.
- Select the Source Time Zone from the drop-down list.
- Select the desired columns to generate the Dataset and click [Next].
- The Preview Dataset page displays, click [Next].
- On the Configure Dataset page“For direct queries, data sync configuration is not applicable. Click the Finish button to continue”message displays.
- Click [Finish] the“Dataset Saved Successfully”message displays and Create a Content for this Dataset dialog displays.
- If user does not want to continue creating the Content, click [Not Now]. This saves the dataset.(OR)Click [Sure] to continue creating the Content. The Add Content page displays.
Direct Query Dataset Information
- Click the new Dataset, navigate through the tabs to view respective information:
- Details tab: Displays the Dataset created information and Dataset Sync information.
- Preview Dataset: Displays the Dataset preview for 1000 rows by default. User can select the number of rows to display from the drop-down list. Click the column header to apply filter to the columns or to select the columns to display on the Preview Dataset panel.
Provide Feedback