Skip to content

Commit 21ac301

Browse files
Merge pull request #32 from semanticdatalayer/ATSCALE-23628-database-and-schema-not-required-in-connection
v1.2 [ATSCALE-23628] connection database and schema not required
2 parents 623c116 + e66974f commit 21ac301

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

sml-reference/connection.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ into your repository.
66

77
Each connection file should define a single database connection *and*
88
its schema. If you need to use additional schemas for the same database,
9-
each must be defined in a separate connection file.
9+
each must be defined in a separate connection file. If a dataset uses a query
10+
instead of tables, the database and schema do not need to be specified in the
11+
connection file.
1012

1113
Sample `connection` file:
1214

@@ -69,13 +71,13 @@ The name of the database connection itself, excluding the schema.
6971
## database
7072

7173
- **Type:** string
72-
- **Required:** Y
74+
- **Required:** N
7375

74-
The source database used for this connection.
76+
The source database is required when used in the table datasets, but it is not necessary for query datasets.
7577

7678
## schema
7779

7880
- **Type:** string
79-
- **Required:** Y
81+
- **Required:** N
8082

81-
The source schema used for this connection.
83+
The source schema is required when used in the table datasets, but it is not necessary for query datasets.

0 commit comments

Comments
 (0)