Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Note It is only supported with the Snowflake and Hive SQL enginebased data sources. |
Kyvos now supports browsing the ROLAP semantic models using both MDX and SQL.
To use this feature, perform the following steps.
Set the following properties on MSSQL connection to work with it.
...
kyvos.connection.rawdata.enabled=true
...
.
...
kyvos.connection.rawdata.supported.engines=MSSQL
kyvos.connection.sqlEngineType = MSSQL
Spark Read Method=JDBC
After designing the semantic model, you must run the Process Full Data job type and select the Metadata Only from the Data Processing Type Metadata list.
Enable Raw Data Querying on the Define Semantics page in the Properties section, as shown below.
Anchor | ||||
---|---|---|---|---|
|
...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Note You must update the value of the RAW_DATA_QUERYING_LANGUAGE = 0 property to SQL (system-level property). The default value for the property is 0. This is applicable only for Kyvos Visualization and Query Playground. From Kyvos 2024.11 onwards, possible values are updated to MDX and SQL SQL. Kyvos Viz. will use the configured language for querying the ROLAP semantic model. |
If you set the property’s value as 0 SQL, ROLAP semantic models with metadata will not be displayed.
Semantic model listing behavior:
All semantic models with raw data querying enabled will be listed.
All system entities will be listed.
Semantic model browsing behavior:
Kyvos will generate SQL query.
Semantic model processed with metadata only option will be treated as ROLAP semantic model and queries having calculated measures will be answered.
If you set the property’s value as 1 MDX, ROLAP semantic models with metadata will be displayed.
Semantic model listing behavior:
Unprocessed semantic models will not be listed.
All semantic models processed with metadata and aggregate option and raw data querying enabled will not be listed. This is for old HOLAP semantic model.
All processed semantic models with raw data querying disabled or only Drill through selected will be listed.
All semantic models processed with metadata only options will be listed.
All system entities will be listed.
Semantic model browsing behavior:
Kyvos will generate SQL queries for system entities and Drill through.
Kyvos will generate MDX queries for all other cases.
Semantic model listing and Querying in Kyvos
Query Client | Supported Query Language of Semantic Model | Is Sematic Model applicable for selection? |
Kyvos Visualization If the value of the RAW_DATA_QUERYING_LANGUAGE property is MDX.
| SQL and MDX | Yes |
SQL | No | |
MDX | Yes | |
Query Playground If query language is selected as SQL | SQL and MDX | Yes |
SQL | Yes | |
MDX | No | |
Kyvos Dialogues If supported query language is SQL. | SQL and MDX | Yes |
SQL | Yes | |
MDX | No |