mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
feat(SIP-95): catalogs in SQL Lab and datasets (#28376)
This commit is contained in:
@@ -101,7 +101,7 @@ const StyledCollapsePanel = styled(Collapse.Panel)`
|
||||
`;
|
||||
|
||||
const TableElement = ({ table, ...props }: TableElementProps) => {
|
||||
const { dbId, schema, name, expanded } = table;
|
||||
const { dbId, catalog, schema, name, expanded } = table;
|
||||
const theme = useTheme();
|
||||
const dispatch = useDispatch();
|
||||
const {
|
||||
@@ -112,6 +112,7 @@ const TableElement = ({ table, ...props }: TableElementProps) => {
|
||||
} = useTableMetadataQuery(
|
||||
{
|
||||
dbId,
|
||||
catalog,
|
||||
schema,
|
||||
table: name,
|
||||
},
|
||||
@@ -125,6 +126,7 @@ const TableElement = ({ table, ...props }: TableElementProps) => {
|
||||
} = useTableExtendedMetadataQuery(
|
||||
{
|
||||
dbId,
|
||||
catalog,
|
||||
schema,
|
||||
table: name,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user