You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# These are ordered for user display - do not reorder
44
-
ENGINE_DISPLAY_NAME_TO_CONNECTION_TYPE={
45
-
"DuckDB": "duckdb",
46
-
"Snowflake": "snowflake",
47
-
"Databricks": "databricks",
48
-
"BigQuery": "bigquery",
49
-
"MotherDuck": "duckdb",
50
-
"ClickHouse": "clickhouse",
51
-
"Redshift": "redshift",
52
-
"Spark": "spark",
53
-
"Trino": "trino",
54
-
"Azure SQL": "azuresql",
55
-
"MSSQL": "tsql",
56
-
"Postgres": "postgres",
57
-
"GCP Postgres": "gcp_postgres",
58
-
"MySQL": "mysql",
59
-
"Athena": "athena",
60
-
"RisingWave": "risingwave",
61
-
}
44
+
ENGINE_TYPE_DISPLAY_ORDER=[
45
+
"duckdb",
46
+
"snowflake",
47
+
"databricks",
48
+
"bigquery",
49
+
"motherduck",
50
+
"clickhouse",
51
+
"redshift",
52
+
"spark",
53
+
"trino",
54
+
"azuresql",
55
+
"mssql",
56
+
"postgres",
57
+
"gcp_postgres",
58
+
"mysql",
59
+
"athena",
60
+
"risingwave",
61
+
]
62
62
63
63
64
64
def_sqlmesh_version() ->str:
@@ -231,7 +231,7 @@ def init(
231
231
)
232
232
233
233
next_step_text= {
234
-
ProjectTemplate.DEFAULT: f"• Update your gateway connection settings (e.g., username/password) in the project configuration file:\n{config_path}\nRun command in CLI: sqlmesh plan\n(Optional) Explain a plan: sqlmesh plan --explain",
234
+
ProjectTemplate.DEFAULT: f"• Update your gateway connection settings (e.g., username/password) in the project configuration file:\n{config_path}",
f"Unable to load required Python dependencies for the {engine_type.upper()} engine.\n\nPlease run `{install_command}` to install them before running `sqlmesh init` again."
1429
+
f"Unable to load required Python dependencies for the {DISPLAY_NAME_TO_TYPE[engine_type]} engine.\n\nPlease run `{install_command}` to install them before running `sqlmesh init` again."
0 commit comments