mirror of
https://github.com/apache/superset.git
synced 2026-06-01 21:59:26 +00:00
feat: deprecate /superset/extra_table_metadata migrate to api v1 (#19921)
* feat: deprecate /superset/extra_table_metadata migrate to api v1 * use can_read to table_extra_metadata * troubleshoot sqlite * fix test * fix test * fix test * fix frontend test on sqllab
This commit is contained in:
committed by
GitHub
parent
e9032e95ec
commit
4fdf230a56
@@ -147,7 +147,7 @@ export const DndFilterSelect = (props: DndFilterSelectProps) => {
|
||||
|
||||
if (!isSqllabView && dbId && name && schema) {
|
||||
SupersetClient.get({
|
||||
endpoint: `/superset/extra_table_metadata/${dbId}/${name}/${schema}/`,
|
||||
endpoint: `/api/v1/database/${dbId}/table_extra/${name}/${schema}/`,
|
||||
})
|
||||
.then(({ json }: { json: Record<string, any> }) => {
|
||||
if (json && json.partitions) {
|
||||
|
||||
Reference in New Issue
Block a user