...
Input/Output | Type of View | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| The SQL query in which you want to add the SAMPLE clause. Typically, it would be a SELECT query reading the source table. |
Output | Document |
|
| The incoming SQL query with the SAMPLE clause and a preview of the query's result if the Get preview data check box is selected. |
Snap Settings
Parameter Field Name | Data Type | Field Dependency | Description | Default Value | Example | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Label | String | None |
Default Value: ELT Sample Example: Sample Order Data | ||||||||||||||
Get preview data | Check boxCheckbox | None |
| Not Default Value: Not selected | SelectedExample: Selected | ||||||||||||
Sampling Type | Drop-down list | None | Choose the sampling type to query your data. Available options are:
Default Value: Number of Records Example: Percentage of Records | ||||||||||||||
Number of Records | String/Expression | Activates when you select Sampling Type is Number of Records for Sampling Type. | Enter the number of records to output.
| NA | Default Value: NA Example: 10 | ||||||||||||
Percentage of Records | String/Expression | Activates when you select Sampling Type is Percentage of Records for Sampling Type. | Enter the percentage number of records to sample your data based on a percentage value of the total records in the table.
| NA | Default Value: NA Example: 25 |
Troubleshooting
None.
Examples
Creating a Subset Table
...