Skip to content

Commit 9b42ead

Browse files
Merge branch 'main' into ATSCALE-27469-composite-model-uda
2 parents e98c10d + 22b68a6 commit 9b42ead

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
![logo](images/sml-logo-large.png)
22

3-
# SML version 1.1
3+
# SML version 1.2
44

5-
This is documentation for SML spec version `1.1`. For earlier versions browse the repository tags. Examples:
5+
This is documentation for SML spec version `1.2`. For earlier versions browse the repository tags. Examples:
66

77
- [SML version 1.0](https://github.com/semanticdatalayer/SML/tree/v1.0)
8+
- [SML version 1.1](https://github.com/semanticdatalayer/SML/tree/v1.1)
89

910
# What is SML?
1011

@@ -28,7 +29,7 @@ We are or will be open-sourcing the following:
2829
1. **A YAML-based Language Specification**: The SML specification is documented and encompasses tabular and multidimensional constructs.
2930
2. **Pre-built Semantic Models**: The GitHub repository contains pre-built semantic models that incorporate standard data models, such as TPC-DS, common training models like Worldwide Importers and AdventureWorks, and marketplace models like Snowplow and CRISP. We expect to add semantic models for SaaS applications such as Salesforce, Google Analytics, and Jira soon.
3031
3. **SML SDK**: An SDK that facilitates the programmatic reading and writing of SML syntax.
31-
4. **SML CLIs**: Command line interfaces (CLIs) for installing SML dependencies and validating SML syntax. This includes a reference CLI for deploying SML models to a proprietary semantic layer platform.
32+
4. **SML CLI**: Command line interface (CLI) for installing SML dependencies and validating SML syntax. This includes a reference CLI for deploying SML models to a proprietary semantic layer platform.
3233
5. **Semantic Converters**: A CLI for translating other semantic modeling languages to and from SML, including Snowflake Cortex semantic models, Databricks UC Metrics, and Power BI semantic models.
3334

3435
## SML Example
@@ -104,9 +105,11 @@ as the properties available for each:
104105
- [Connection](sml-reference/connection.md) - Defines a database and schema for connecting datasets to the physical data platform.
105106
- [Composite Model](sml-reference/composite-model.md) - Defines a model made up of multiple other models.
106107

107-
## SML Converters
108+
## SML Tools and Converters
108109

109-
[SML Converters and Tooling](https://github.com/semanticdatalayer/sml-converters) - Library of bi-directional SML converters and tooling for different semantic layer platforms.
110+
- SML SDK [(npm download)](https://www.npmjs.com/package/sml-sdk) - SDK for creating and updating SML objects. Used by converters.
111+
- SML CLI [(npm download)](https://www.npmjs.com/package/sml-cli) - Command line interface (CLI) for installing SML dependencies, validating SML syntax, and a reference implementation for deploying SML models to a proprietary semantic layer platform.
112+
- [SML Converters](https://github.com/semanticdatalayer/sml-converters) [(npm download)](https://www.npmjs.com/package/sml-converters)- Library of bi-directional SML converters for different semantic layer platforms.
110113

111114
## Model Library
112115

sml-reference/catalog.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ label: SML Model Library
1414
version: 1.0
1515
aggressive_agg_promotion: false
1616
build_speculative_aggs: false
17+
hidden_models:
18+
- Supply Model
19+
- Sales Model
1720
```
1821
1922
# Entitity Relationships
@@ -28,6 +31,7 @@ classDiagram
2831
Boolean aggressive_agg_promotion
2932
Boolean build_speculative_aggs
3033
Object dataset_properties
34+
Array~String hidden_models
3135
}
3236
```
3337

@@ -64,6 +68,15 @@ not need to be unique.
6468

6569
The version of SML being used.
6670

71+
## hidden_models
72+
73+
- **Type:** array<string>
74+
- **Required:** Y
75+
- **Added in** v1.2
76+
- **Use case:** When deploying a composite model the referenced component models may not need to be accessible as separate models.
77+
78+
A list of the models that will be excluded from the deploy. Cannot reference composite models, only regular models.
79+
6780
## aggressive_agg_promotion
6881

6982
- **Type:** boolean
@@ -114,7 +127,7 @@ Supported properties:
114127
- `allow_peer_aggs`: Boolean, optional. Enables aggregation on data
115128
derived from datasets in data warehouses that are different from the
116129
source dataset.
117-
- `allow_preferred_aggs`: Boolean, optional. Allow aggregates to be built
130+
- `allow_preferred_aggs`: Boolean, optional. Allow aggregates to be built
118131
in preferred storage.
119132

120133
Specify the `unique_name` of the dataset followed by the properties and

0 commit comments

Comments
 (0)