mirror of
https://github.com/apache/superset.git
synced 2026-09-01 13:01:33 +00:00
fix(sqllab): default PostgreSQL port to 5432 in the dynamic connection form (#43351)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
09bd8c98de
commit
f2610e9dca
@@ -3516,6 +3516,7 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
"description": "Database port",
|
||||
"maximum": 65536,
|
||||
"minimum": 0,
|
||||
"nullable": True,
|
||||
"type": "integer",
|
||||
},
|
||||
"query": {
|
||||
@@ -3533,7 +3534,10 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
"type": "string",
|
||||
},
|
||||
},
|
||||
"required": ["database", "host", "port", "username"],
|
||||
# ``port`` is intentionally not required: a blank port falls
|
||||
# back to the default (5432) in
|
||||
# ``PostgresEngineSpec.build_sqlalchemy_uri``.
|
||||
"required": ["database", "host", "username"],
|
||||
"type": "object",
|
||||
},
|
||||
"preferred": True,
|
||||
|
||||
Reference in New Issue
Block a user