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:
parent
98a26e7628
commit
72d19b6b35
|
|
@ -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 }) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue