2021-02-03 11:49:51 -08:00
|
|
|
import * as React from 'react';
|
2021-02-23 12:45:42 -08:00
|
|
|
import { DatabaseFilled, DatabaseOutlined } from '@ant-design/icons';
|
2022-04-13 12:25:35 -07:00
|
|
|
import { Dataset, DatasetProperties, EntityType, OwnershipType, SearchResult } from '../../../types.generated';
|
2022-07-28 17:40:03 -07:00
|
|
|
import { Entity, EntityCapabilityType, IconStyleType, PreviewType } from '../Entity';
|
2021-02-03 11:49:51 -08:00
|
|
|
import { Preview } from './preview/Preview';
|
2021-08-31 22:00:56 -07:00
|
|
|
import { EntityProfile } from '../shared/containers/profile/EntityProfile';
|
|
|
|
import { GetDatasetQuery, useGetDatasetQuery, useUpdateDatasetMutation } from '../../../graphql/dataset.generated';
|
|
|
|
import { GenericEntityProperties } from '../shared/types';
|
|
|
|
import { PropertiesTab } from '../shared/tabs/Properties/PropertiesTab';
|
|
|
|
import { DocumentationTab } from '../shared/tabs/Documentation/DocumentationTab';
|
|
|
|
import { SchemaTab } from '../shared/tabs/Dataset/Schema/SchemaTab';
|
|
|
|
import QueriesTab from '../shared/tabs/Dataset/Queries/QueriesTab';
|
2023-01-26 12:14:31 -05:00
|
|
|
import { SidebarAboutSection } from '../shared/containers/profile/sidebar/AboutSection/SidebarAboutSection';
|
2021-08-31 22:00:56 -07:00
|
|
|
import { SidebarOwnerSection } from '../shared/containers/profile/sidebar/Ownership/SidebarOwnerSection';
|
|
|
|
import { SidebarTagsSection } from '../shared/containers/profile/sidebar/SidebarTagsSection';
|
|
|
|
import StatsTab from '../shared/tabs/Dataset/Stats/StatsTab';
|
|
|
|
import { LineageTab } from '../shared/tabs/Lineage/LineageTab';
|
2023-01-25 18:32:15 +01:00
|
|
|
import { capitalizeFirstLetterOnly } from '../../shared/textUtil';
|
2021-10-12 15:47:29 -07:00
|
|
|
import ViewDefinitionTab from '../shared/tabs/Dataset/View/ViewDefinitionTab';
|
|
|
|
import { SidebarViewDefinitionSection } from '../shared/containers/profile/sidebar/Dataset/View/SidebarViewDefinitionSection';
|
2021-10-26 21:23:08 -07:00
|
|
|
import { getDataForEntityType } from '../shared/containers/profile/utils';
|
2022-01-27 22:02:41 -08:00
|
|
|
import { SidebarDomainSection } from '../shared/containers/profile/sidebar/Domain/SidebarDomainSection';
|
2022-03-04 11:51:31 -08:00
|
|
|
import { ValidationsTab } from '../shared/tabs/Dataset/Validations/ValidationsTab';
|
2022-04-12 08:52:07 +02:00
|
|
|
import { OperationsTab } from './profile/OperationsTab';
|
2022-05-30 00:26:07 -04:00
|
|
|
import { EntityMenuItems } from '../shared/EntityDropdown/EntityDropdown';
|
2022-07-14 14:23:12 -07:00
|
|
|
import { SidebarSiblingsSection } from '../shared/containers/profile/sidebar/SidebarSiblingsSection';
|
2022-07-19 15:46:43 -07:00
|
|
|
import { DatasetStatsSummarySubHeader } from './profile/stats/stats/DatasetStatsSummarySubHeader';
|
2022-10-04 11:27:46 -07:00
|
|
|
import { DatasetSearchSnippet } from './DatasetSearchSnippet';
|
2023-01-03 15:40:39 -08:00
|
|
|
import { EmbedTab } from '../shared/tabs/Embed/EmbedTab';
|
2023-01-26 12:14:31 -05:00
|
|
|
import EmbeddedProfile from '../shared/embed/EmbeddedProfile';
|
2021-03-23 15:18:32 -07:00
|
|
|
|
2021-10-12 15:47:29 -07:00
|
|
|
const SUBTYPES = {
|
|
|
|
VIEW: 'view',
|
|
|
|
};
|
|
|
|
|
2021-02-03 11:49:51 -08:00
|
|
|
/**
|
|
|
|
* Definition of the DataHub Dataset entity.
|
|
|
|
*/
|
|
|
|
export class DatasetEntity implements Entity<Dataset> {
|
|
|
|
type: EntityType = EntityType.Dataset;
|
|
|
|
|
2023-02-15 13:37:01 -05:00
|
|
|
icon = (fontSize: number, styleType: IconStyleType, color?: string) => {
|
2021-02-23 12:45:42 -08:00
|
|
|
if (styleType === IconStyleType.TAB_VIEW) {
|
2023-02-15 13:37:01 -05:00
|
|
|
return <DatabaseOutlined style={{ fontSize, color }} />;
|
2021-02-23 12:45:42 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
if (styleType === IconStyleType.HIGHLIGHT) {
|
2023-02-15 13:37:01 -05:00
|
|
|
return <DatabaseFilled style={{ fontSize, color: color || '#B37FEB' }} />;
|
2021-02-23 12:45:42 -08:00
|
|
|
}
|
|
|
|
|
2021-04-17 00:46:02 +08:00
|
|
|
if (styleType === IconStyleType.SVG) {
|
|
|
|
return (
|
2021-04-19 11:58:04 -07:00
|
|
|
<path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z" />
|
2021-04-17 00:46:02 +08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2021-02-23 12:45:42 -08:00
|
|
|
return (
|
2022-02-02 13:51:39 -08:00
|
|
|
<DatabaseOutlined
|
2021-02-23 12:45:42 -08:00
|
|
|
style={{
|
|
|
|
fontSize,
|
2023-02-15 13:37:01 -05:00
|
|
|
color: color || '#BFBFBF',
|
2021-02-23 12:45:42 -08:00
|
|
|
}}
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
2021-02-03 11:49:51 -08:00
|
|
|
isSearchEnabled = () => true;
|
|
|
|
|
|
|
|
isBrowseEnabled = () => true;
|
|
|
|
|
2021-04-09 11:55:25 -07:00
|
|
|
isLineageEnabled = () => true;
|
|
|
|
|
2021-02-03 11:49:51 -08:00
|
|
|
getAutoCompleteFieldName = () => 'name';
|
|
|
|
|
|
|
|
getPathName = () => 'dataset';
|
|
|
|
|
2021-09-28 10:30:37 -07:00
|
|
|
getEntityName = () => 'Dataset';
|
|
|
|
|
2021-02-03 11:49:51 -08:00
|
|
|
getCollectionName = () => 'Datasets';
|
|
|
|
|
2021-08-31 22:00:56 -07:00
|
|
|
renderProfile = (urn: string) => (
|
|
|
|
<EntityProfile
|
|
|
|
urn={urn}
|
|
|
|
entityType={EntityType.Dataset}
|
|
|
|
useEntityQuery={useGetDatasetQuery}
|
|
|
|
useUpdateQuery={useUpdateDatasetMutation}
|
2021-10-26 21:23:08 -07:00
|
|
|
getOverrideProperties={this.getOverridePropertiesFromEntity}
|
2022-11-22 08:48:03 -08:00
|
|
|
headerDropdownItems={new Set([EntityMenuItems.UPDATE_DEPRECATION])}
|
2022-07-19 15:46:43 -07:00
|
|
|
subHeader={{
|
|
|
|
component: DatasetStatsSummarySubHeader,
|
|
|
|
}}
|
2021-08-31 22:00:56 -07:00
|
|
|
tabs={[
|
|
|
|
{
|
|
|
|
name: 'Schema',
|
|
|
|
component: SchemaTab,
|
|
|
|
},
|
2021-10-12 15:47:29 -07:00
|
|
|
{
|
|
|
|
name: 'View Definition',
|
|
|
|
component: ViewDefinitionTab,
|
|
|
|
display: {
|
|
|
|
visible: (_, dataset: GetDatasetQuery) =>
|
2023-03-02 19:02:08 -05:00
|
|
|
dataset?.dataset?.subTypes?.typeNames
|
|
|
|
?.map((t) => t.toLocaleLowerCase())
|
|
|
|
.includes(SUBTYPES.VIEW.toLocaleLowerCase()) || false,
|
2021-10-12 15:47:29 -07:00
|
|
|
enabled: (_, dataset: GetDatasetQuery) =>
|
|
|
|
(dataset?.dataset?.viewProperties?.logic && true) || false,
|
|
|
|
},
|
|
|
|
},
|
2021-08-31 22:00:56 -07:00
|
|
|
{
|
|
|
|
name: 'Documentation',
|
|
|
|
component: DocumentationTab,
|
|
|
|
},
|
|
|
|
{
|
2023-01-03 15:40:39 -08:00
|
|
|
name: 'Preview',
|
|
|
|
component: EmbedTab,
|
|
|
|
display: {
|
|
|
|
visible: (_, dataset: GetDatasetQuery) => !!dataset?.dataset?.embed?.renderUrl,
|
|
|
|
enabled: (_, dataset: GetDatasetQuery) => !!dataset?.dataset?.embed?.renderUrl,
|
|
|
|
},
|
2021-08-31 22:00:56 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Lineage',
|
|
|
|
component: LineageTab,
|
|
|
|
},
|
2023-01-03 15:40:39 -08:00
|
|
|
{
|
|
|
|
name: 'Properties',
|
|
|
|
component: PropertiesTab,
|
|
|
|
},
|
2021-08-31 22:00:56 -07:00
|
|
|
{
|
|
|
|
name: 'Queries',
|
|
|
|
component: QueriesTab,
|
2021-10-12 15:47:29 -07:00
|
|
|
display: {
|
|
|
|
visible: (_, _1) => true,
|
2023-02-20 11:10:18 -08:00
|
|
|
enabled: (_, _2) => true,
|
2021-10-12 15:47:29 -07:00
|
|
|
},
|
2021-08-31 22:00:56 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Stats',
|
|
|
|
component: StatsTab,
|
2021-10-12 15:47:29 -07:00
|
|
|
display: {
|
|
|
|
visible: (_, _1) => true,
|
|
|
|
enabled: (_, dataset: GetDatasetQuery) =>
|
|
|
|
(dataset?.dataset?.datasetProfiles?.length || 0) > 0 ||
|
2022-01-07 15:27:09 -10:00
|
|
|
(dataset?.dataset?.usageStats?.buckets?.length || 0) > 0 ||
|
|
|
|
(dataset?.dataset?.operations?.length || 0) > 0,
|
2021-10-12 15:47:29 -07:00
|
|
|
},
|
2021-08-31 22:00:56 -07:00
|
|
|
},
|
2022-03-04 11:51:31 -08:00
|
|
|
{
|
|
|
|
name: 'Validation',
|
|
|
|
component: ValidationsTab,
|
|
|
|
display: {
|
|
|
|
visible: (_, _1) => true,
|
|
|
|
enabled: (_, dataset: GetDatasetQuery) => {
|
2022-05-25 08:55:08 -07:00
|
|
|
return (
|
|
|
|
(dataset?.dataset?.assertions?.total || 0) > 0 || dataset?.dataset?.testResults !== null
|
|
|
|
);
|
2022-03-04 11:51:31 -08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-04-12 08:52:07 +02:00
|
|
|
{
|
|
|
|
name: 'Operations',
|
|
|
|
component: OperationsTab,
|
|
|
|
display: {
|
|
|
|
visible: (_, dataset: GetDatasetQuery) => {
|
|
|
|
return (
|
|
|
|
(dataset?.dataset?.readRuns?.total || 0) + (dataset?.dataset?.writeRuns?.total || 0) > 0
|
|
|
|
);
|
|
|
|
},
|
|
|
|
enabled: (_, dataset: GetDatasetQuery) => {
|
|
|
|
return (
|
|
|
|
(dataset?.dataset?.readRuns?.total || 0) + (dataset?.dataset?.writeRuns?.total || 0) > 0
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-08-31 22:00:56 -07:00
|
|
|
]}
|
|
|
|
sidebarSections={[
|
|
|
|
{
|
|
|
|
component: SidebarAboutSection,
|
|
|
|
},
|
2022-07-19 15:46:43 -07:00
|
|
|
{
|
|
|
|
component: SidebarOwnerSection,
|
|
|
|
properties: {
|
|
|
|
defaultOwnerType: OwnershipType.TechnicalOwner,
|
|
|
|
},
|
|
|
|
},
|
2022-07-14 14:23:12 -07:00
|
|
|
{
|
|
|
|
component: SidebarSiblingsSection,
|
|
|
|
display: {
|
|
|
|
visible: (_, dataset: GetDatasetQuery) =>
|
|
|
|
(dataset?.dataset?.siblings?.siblings?.length || 0) > 0,
|
|
|
|
},
|
|
|
|
},
|
2021-10-12 15:47:29 -07:00
|
|
|
{
|
|
|
|
component: SidebarViewDefinitionSection,
|
|
|
|
display: {
|
|
|
|
visible: (_, dataset: GetDatasetQuery) =>
|
|
|
|
(dataset?.dataset?.viewProperties?.logic && true) || false,
|
|
|
|
},
|
|
|
|
},
|
2021-08-31 22:00:56 -07:00
|
|
|
{
|
|
|
|
component: SidebarTagsSection,
|
2021-09-13 09:16:37 -07:00
|
|
|
properties: {
|
|
|
|
hasTags: true,
|
|
|
|
hasTerms: true,
|
|
|
|
},
|
2021-08-31 22:00:56 -07:00
|
|
|
},
|
2022-01-27 22:02:41 -08:00
|
|
|
{
|
|
|
|
component: SidebarDomainSection,
|
|
|
|
},
|
2023-03-21 18:36:21 -07:00
|
|
|
// TODO: Add back once entity-level recommendations are complete.
|
|
|
|
// {
|
|
|
|
// component: SidebarRecommendationsSection,
|
|
|
|
// },
|
2021-08-31 22:00:56 -07:00
|
|
|
]}
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
|
2021-10-26 21:23:08 -07:00
|
|
|
getOverridePropertiesFromEntity = (dataset?: Dataset | null): GenericEntityProperties => {
|
2021-10-06 23:39:52 -07:00
|
|
|
// if dataset has subTypes filled out, pick the most specific subtype and return it
|
2021-10-26 21:23:08 -07:00
|
|
|
const subTypes = dataset?.subTypes;
|
2022-04-13 12:25:35 -07:00
|
|
|
const extendedProperties: DatasetProperties | undefined | null = dataset?.properties && {
|
|
|
|
...dataset?.properties,
|
2023-02-03 13:09:12 -08:00
|
|
|
qualifiedName: dataset?.properties?.qualifiedName || this.displayName(dataset),
|
2022-04-13 12:25:35 -07:00
|
|
|
};
|
2021-10-06 07:13:38 -07:00
|
|
|
return {
|
2023-02-03 13:09:12 -08:00
|
|
|
name: dataset && this.displayName(dataset),
|
2021-10-26 21:23:08 -07:00
|
|
|
externalUrl: dataset?.properties?.externalUrl,
|
2023-01-25 18:32:15 +01:00
|
|
|
entityTypeOverride: subTypes ? capitalizeFirstLetterOnly(subTypes.typeNames?.[0]) : '',
|
2022-04-13 12:25:35 -07:00
|
|
|
properties: extendedProperties,
|
2021-10-06 07:13:38 -07:00
|
|
|
};
|
2021-08-31 22:00:56 -07:00
|
|
|
};
|
2021-02-03 11:49:51 -08:00
|
|
|
|
2021-02-09 14:30:23 -08:00
|
|
|
renderPreview = (_: PreviewType, data: Dataset) => {
|
2021-02-03 11:49:51 -08:00
|
|
|
return (
|
|
|
|
<Preview
|
|
|
|
urn={data.urn}
|
2022-03-05 01:22:04 +05:30
|
|
|
name={data.properties?.name || data.name}
|
2021-02-03 11:49:51 -08:00
|
|
|
origin={data.origin}
|
2021-10-06 23:39:52 -07:00
|
|
|
subtype={data.subTypes?.typeNames?.[0]}
|
2021-11-08 16:24:50 -08:00
|
|
|
description={data.editableProperties?.description || data.properties?.description}
|
2023-01-25 18:32:15 +01:00
|
|
|
platformName={
|
|
|
|
data?.platform?.properties?.displayName || capitalizeFirstLetterOnly(data?.platform?.name)
|
|
|
|
}
|
2022-01-25 21:03:31 -06:00
|
|
|
platformLogo={data.platform.properties?.logoUrl}
|
2022-05-09 17:28:50 -04:00
|
|
|
platformInstanceId={data.dataPlatformInstance?.instanceId}
|
2021-02-23 12:45:42 -08:00
|
|
|
owners={data.ownership?.owners}
|
2021-03-07 11:26:47 -08:00
|
|
|
globalTags={data.globalTags}
|
2021-05-25 10:42:35 +05:30
|
|
|
glossaryTerms={data.glossaryTerms}
|
2022-07-14 14:23:12 -07:00
|
|
|
domain={data.domain?.domain}
|
2022-02-02 13:51:39 -08:00
|
|
|
container={data.container}
|
2022-12-12 12:30:09 -08:00
|
|
|
externalUrl={data.properties?.externalUrl}
|
2021-02-03 11:49:51 -08:00
|
|
|
/>
|
|
|
|
);
|
|
|
|
};
|
2021-03-23 15:18:32 -07:00
|
|
|
|
|
|
|
renderSearch = (result: SearchResult) => {
|
|
|
|
const data = result.entity as Dataset;
|
2022-06-22 08:31:18 -07:00
|
|
|
const genericProperties = this.getGenericEntityProperties(data);
|
2022-09-20 22:03:15 +05:30
|
|
|
|
2021-03-23 15:18:32 -07:00
|
|
|
return (
|
|
|
|
<Preview
|
|
|
|
urn={data.urn}
|
2022-03-05 01:22:04 +05:30
|
|
|
name={data.properties?.name || data.name}
|
2021-03-23 15:18:32 -07:00
|
|
|
origin={data.origin}
|
2021-11-08 16:24:50 -08:00
|
|
|
description={data.editableProperties?.description || data.properties?.description}
|
2023-01-25 18:32:15 +01:00
|
|
|
platformName={
|
|
|
|
data?.platform?.properties?.displayName || capitalizeFirstLetterOnly(data?.platform?.name)
|
|
|
|
}
|
2022-01-25 21:03:31 -06:00
|
|
|
platformLogo={data.platform.properties?.logoUrl}
|
2022-05-09 17:28:50 -04:00
|
|
|
platformInstanceId={data.dataPlatformInstance?.instanceId}
|
2022-06-22 08:31:18 -07:00
|
|
|
platformNames={genericProperties?.siblingPlatforms?.map(
|
2023-01-25 18:32:15 +01:00
|
|
|
(platform) => platform.properties?.displayName || capitalizeFirstLetterOnly(platform.name),
|
2022-06-22 08:31:18 -07:00
|
|
|
)}
|
|
|
|
platformLogos={genericProperties?.siblingPlatforms?.map((platform) => platform.properties?.logoUrl)}
|
2021-03-23 15:18:32 -07:00
|
|
|
owners={data.ownership?.owners}
|
|
|
|
globalTags={data.globalTags}
|
2022-07-14 14:23:12 -07:00
|
|
|
domain={data.domain?.domain}
|
2022-07-17 22:02:09 -07:00
|
|
|
deprecation={data.deprecation}
|
2021-10-12 23:21:43 -07:00
|
|
|
glossaryTerms={data.glossaryTerms}
|
2021-10-06 23:39:52 -07:00
|
|
|
subtype={data.subTypes?.typeNames?.[0]}
|
2022-02-02 13:51:39 -08:00
|
|
|
container={data.container}
|
2022-05-13 00:17:19 -04:00
|
|
|
parentContainers={data.parentContainers}
|
2022-10-04 11:27:46 -07:00
|
|
|
snippet={<DatasetSearchSnippet matchedFields={result.matchedFields} />}
|
2021-10-14 10:11:56 -07:00
|
|
|
insights={result.insights}
|
2022-07-17 22:02:09 -07:00
|
|
|
externalUrl={data.properties?.externalUrl}
|
|
|
|
statsSummary={data.statsSummary}
|
|
|
|
rowCount={(data as any).lastProfile?.length && (data as any).lastProfile[0].rowCount}
|
2023-02-02 09:38:06 -08:00
|
|
|
columnCount={(data as any).lastProfile?.length && (data as any).lastProfile[0].columnCount}
|
|
|
|
sizeInBytes={(data as any).lastProfile?.length && (data as any).lastProfile[0].sizeInBytes}
|
2022-07-17 22:02:09 -07:00
|
|
|
lastUpdatedMs={
|
|
|
|
(data as any).lastOperation?.length && (data as any).lastOperation[0].lastUpdatedTimestamp
|
|
|
|
}
|
2021-03-23 15:18:32 -07:00
|
|
|
/>
|
|
|
|
);
|
|
|
|
};
|
2021-04-09 11:55:25 -07:00
|
|
|
|
|
|
|
getLineageVizConfig = (entity: Dataset) => {
|
|
|
|
return {
|
2021-10-22 15:46:46 -07:00
|
|
|
urn: entity?.urn,
|
2022-04-01 10:37:51 -07:00
|
|
|
name: entity?.properties?.name || entity.name,
|
2022-04-28 03:39:04 +05:30
|
|
|
expandedName: entity?.properties?.qualifiedName || entity?.properties?.name || entity.name,
|
2021-04-09 11:55:25 -07:00
|
|
|
type: EntityType.Dataset,
|
2022-04-01 10:37:51 -07:00
|
|
|
subtype: entity?.subTypes?.typeNames?.[0] || undefined,
|
2022-01-25 21:03:31 -06:00
|
|
|
icon: entity?.platform?.properties?.logoUrl || undefined,
|
2022-08-10 15:12:10 -07:00
|
|
|
platform: entity?.platform,
|
2021-04-09 11:55:25 -07:00
|
|
|
};
|
|
|
|
};
|
2021-09-02 19:05:13 -07:00
|
|
|
|
|
|
|
displayName = (data: Dataset) => {
|
2022-07-01 14:35:21 -04:00
|
|
|
return data?.properties?.name || data.name || data.urn;
|
2021-09-02 19:05:13 -07:00
|
|
|
};
|
2021-10-26 21:23:08 -07:00
|
|
|
|
|
|
|
platformLogoUrl = (data: Dataset) => {
|
2022-01-25 21:03:31 -06:00
|
|
|
return data.platform.properties?.logoUrl || undefined;
|
2021-10-26 21:23:08 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
getGenericEntityProperties = (data: Dataset) => {
|
|
|
|
return getDataForEntityType({
|
|
|
|
data,
|
|
|
|
entityType: this.type,
|
|
|
|
getOverrideProperties: this.getOverridePropertiesFromEntity,
|
|
|
|
});
|
|
|
|
};
|
2022-07-28 17:40:03 -07:00
|
|
|
|
|
|
|
supportedCapabilities = () => {
|
|
|
|
return new Set([
|
|
|
|
EntityCapabilityType.OWNERS,
|
|
|
|
EntityCapabilityType.GLOSSARY_TERMS,
|
|
|
|
EntityCapabilityType.TAGS,
|
|
|
|
EntityCapabilityType.DOMAINS,
|
|
|
|
EntityCapabilityType.DEPRECATION,
|
|
|
|
EntityCapabilityType.SOFT_DELETE,
|
|
|
|
]);
|
|
|
|
};
|
2023-01-26 12:14:31 -05:00
|
|
|
|
|
|
|
renderEmbeddedProfile = (urn: string) => (
|
|
|
|
<EmbeddedProfile
|
|
|
|
urn={urn}
|
|
|
|
entityType={EntityType.Dataset}
|
|
|
|
useEntityQuery={useGetDatasetQuery}
|
|
|
|
getOverrideProperties={this.getOverridePropertiesFromEntity}
|
|
|
|
/>
|
|
|
|
);
|
2021-02-03 11:49:51 -08:00
|
|
|
}
|