mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix(sqllab): Table name and schema are encoded twice during fetching table metadata on SQL Lab page. (#13636)
Co-authored-by: dmitry.mudrov <dmitrym.mudrov@agileengine.com>
This commit is contained in:
@@ -980,10 +980,7 @@ export function mergeTable(table, query) {
|
||||
function getTableMetadata(table, query, dispatch) {
|
||||
return SupersetClient.get({
|
||||
endpoint: encodeURI(
|
||||
`/api/v1/database/${query.dbId}/table/` +
|
||||
`${encodeURIComponent(table.name)}/${encodeURIComponent(
|
||||
table.schema,
|
||||
)}/`,
|
||||
`/api/v1/database/${query.dbId}/table/${table.name}/${table.schema}/`,
|
||||
),
|
||||
})
|
||||
.then(({ json }) => {
|
||||
|
||||
Reference in New Issue
Block a user