Skip to content

Commit d49e668

Browse files
authored
Merge pull request #4 from semanticdatalayer/dmariani-patch-2
Update dataset.md
2 parents 3cebac0 + 9ab89b5 commit d49e668

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

sml-reference/dataset.md

+24
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,30 @@ A SQL query used to pull data from a specific connection defined within
240240
the repository, similar to a database view. This determines whether the
241241
dataset file defines a query dataset.
242242

243+
If you want to run the query on other types of databases, use
244+
the `dialects` property to define additional dialects for it to run in.
245+
246+
### dialects
247+
248+
- **Type:** array
249+
- **Required:** N
250+
251+
Defines alternate dialects for the `sql` statement so that it can run on
252+
other types of databases. You can define as many alternate dialects as
253+
needed.
254+
255+
Supported properties:
256+
257+
- `dialect`: String, required. An alternate SQL dialect. Supported
258+
values:
259+
- `Snowflake`
260+
- `Postgresql`
261+
- `DatabricksSQL`
262+
- `BigQuery`
263+
- `Iris`
264+
265+
- `sql`: String, required. The alternate SQL statement.
266+
243267
## table
244268

245269
- **Type:** string

0 commit comments

Comments
 (0)