Is the database-type = "sqldw" or "dwsql" for the SQL datawarehouse? #2505
-
|
Validated the dab-config.json file with DAB CLI and I get validation error message on both database-type = "dwsql" or "sqldw". dwsql at least goes further to validate the schema, complaining next about the Primary key (though the table has primary key). But when deployed the Container will not even start with this database-type. ########### Validate database-type = "dwsql" ########### sqldw DAB file validation fails but when deployed the Container successfully starts (though I get a 503 Service Unavailable on the Entity path /api/temp2) ########### Validate database-type = "sqldw" ########### |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The database-type for data warehouse is "dwsql". ########### Validate database-type = "dwsql" ###########
|
Beta Was this translation helpful? Give feedback.
The database-type for data warehouse is "dwsql".
In the first instance, where you have added database-type = "dwsql" I see that the error you are running a wrong command. You need to run the dab validate command with the
-cflag so as to pass the config which is why you are seeing the first line which says "Config not provided. Trying to get default config based on DAB_ENVIRONMENT". After this, it took the default config which is "dab-config.json" for validating the engine.Here I dont think the issue is with the database-type but the primary key configuration in the DB named "temp2".
In our validation process of the Config, we check if the Table in thr DB has Primary Key configured. Henc…