Applies to: Kyvos Enterprise Kyvos Cloud (SaaS on AWS) Kyvos AWS Marketplace
...
The sanity suite is a small set of integration tests to check the activities after receiving the software build process and to ensure that all the changes introduced are working as expected.
...
Create database kyvosrepo_$clustername if the KYVOS_QUERY_ANALYZER_DATABASE is not present in the olapengine.properties file.
Create database $value of KYVOS_QUERY_ANALYZER_DATABASE if KYVOS_QUERY_ANALYZER_DATABASE is present in the olapengine.properties file.
Ensure that the Sanity_table table must exist when you are creating a database.
NOTE: If AWS Glue is enabled, the Sanity_table tableis not created for AWS cluster deployment. Similarly, if Dataproc Metastore is enabled, this table is not created for GCP cluster deployment.
Table Syntax
Following are the different types of table Table syntax to be used in the database for cluster deployment if AWS Glue is enabled.
...
params | JTdCJTIyZ2VuZXJhbCUyMiUzQSU3QiUyMnRhYlNwYWNpbmclMjIlM0EwJTJDJTIydGFiV2lkdGglMjIlM0ExMDAlMkMlMjJ0YWJIZWlnaHQlMjIlM0E1MCUyQyUyMmRpcmVjdGlvbiUyMiUzQSUyMmhvcml6b250YWwlMjIlN0QlMkMlMjJjb250ZW50JTIyJTNBJTdCJTIyYmFja2dyb3VuZENvbG9yJTIyJTNBJTdCJTIyY29sb3IlMjIlM0ElMjIlMjNmZmYlMjIlN0QlMkMlMjJib3JkZXIlMjIlM0ElN0IlMjJzdHlsZSUyMiUzQSUyMnNvbGlkJTIyJTJDJTIyd2lkdGglMjIlM0ExJTJDJTIydG9wJTIyJTNBdHJ1ZSUyQyUyMmJvdHRvbSUyMiUzQXRydWUlMkMlMjJsZWZ0JTIyJTNBdHJ1ZSUyQyUyMnJpZ2h0JTIyJTNBdHJ1ZSUyQyUyMmNvbG9yJTIyJTNBJTdCJTIybGlnaHQlMjIlM0ElMjIlMjNjY2NlY2YlMjIlN0QlN0QlMkMlMjJwYWRkaW5nJTIyJTNBJTdCJTIydG9wJTIyJTNBMTAlMkMlMjJyaWdodCUyMiUzQTEwJTJDJTIyYm90dG9tJTIyJTNBMTAlMkMlMjJsZWZ0JT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pZ2h0JTIyJTNBdHJ1ZSUyQyUyMmJvdHRvbSUyMiUzQXRydWUlMkMlMjJ3aWR0aCUyMiUzQTElMkMlMjJzdHlsZSUyMiUzQSUyMnNvbGlkJTIyJTJDJTIyY29sb3IlMjIlM0ElN0IlMjJsaWdodCUyMiUzQSUyMiUyM2NjY2VjZiUyMiU3RCU3RCU3RCU3RA== |
---|
Aura tab | ||||
---|---|---|---|---|
|
These are the steps
Step 1 for editing
Step 2 for editing
Aura tab | ||||
---|---|---|---|---|
|
Step 1 for editing
Step 2 for editing
Aura tab | ||||
---|---|---|---|---|
|
...
Step 1 for editing
...
Code Block | ||
---|---|---|
| ||
CREATE EXTERNAL TABLE `sanity_table`(
`product_id` int,
`product_category` string,
`manufacturer` string,
`product_type` string,
`product_name` string,
`order_priority` string,
`sale_amount` double,
`order_quantity` int,
`discount` double,
`continent` string,
`country` string,
`region` string,
`state` string,
`city` string,
`profit` double,
`customer_name` string,
`customer_segment` string,
`shipping_cost` double,
`date` string,
`quarter` string,
`month` string,
`week` string,
`day` string)
PARTITIONED BY (
`year` int)
ROW FORMAT SERDE
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'
STORED AS INPUTFORMAT
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'
OUTPUTFORMAT
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'
LOCATION
's3://cftautomationdeployment/user/engine_work_cftAutomationCluster/data/Reference/parquet'
TBLPROPERTIES (
'bucketing_version'='2',
'transient_lastDdlTime'='1694802287')
Time taken: 0.426 seconds, Fetched: 37 row(s)CREATE EXTERNAL TABLE `sanity_table`(
`product_id` int,
`product_category` string,
`manufacturer` string,
`product_type` string,
`product_name` string,
`order_priority` string,
`sale_amount` double,
`order_quantity` int,
`discount` double,
`continent` string,
`country` string,
`region` string,
`state` string,
`city` string,
`profit` double,
`customer_name` string,
`customer_segment` string,
`shipping_cost` double,
`date` string,
`quarter` string,
`month` string,
`week` string,
`day` string)
PARTITIONED BY (
`year` int)
ROW FORMAT SERDE
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'
STORED AS INPUTFORMAT
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'
OUTPUTFORMAT
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'
LOCATION
's3://cftautomationdeployment/user/engine_work_cftAutomationCluster/data/Reference/parquet'
TBLPROPERTIES (
'bucketing_version'='2',
'transient_lastDdlTime'='1694802287')
Time taken: 0.426 seconds, Fetched: 37 row(s) |
Using Sanity Suite
After cluster deployment, you can run the Sanity Suite to check if all the activities (like creating a Datasets, Data Relationship Diagram, and Semantic model processing) for browsing semantic models in the Kyvos application are working fine.
...