mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-09 15:32:25 +00:00
parent
b569852062
commit
cd2dbabcdd
@ -15,6 +15,7 @@ import classNames from 'classnames';
|
|||||||
import React, { FC, Fragment } from 'react';
|
import React, { FC, Fragment } from 'react';
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import { TITLE_FOR_NON_ADMIN_ACTION } from '../../constants/constants';
|
import { TITLE_FOR_NON_ADMIN_ACTION } from '../../constants/constants';
|
||||||
|
import { excludedMetrics } from '../../constants/profiler.constant';
|
||||||
import { Table, TableProfile } from '../../generated/entity/data/table';
|
import { Table, TableProfile } from '../../generated/entity/data/table';
|
||||||
import { useAuth } from '../../hooks/authHooks';
|
import { useAuth } from '../../hooks/authHooks';
|
||||||
import {
|
import {
|
||||||
@ -63,16 +64,6 @@ const PercentageGraph = ({
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const excludedMetrics = [
|
|
||||||
'profilDate',
|
|
||||||
'name',
|
|
||||||
'nullCount',
|
|
||||||
'nullProportion',
|
|
||||||
'uniqueCount',
|
|
||||||
'uniqueProportion',
|
|
||||||
'rows',
|
|
||||||
];
|
|
||||||
|
|
||||||
const TableProfiler: FC<Props> = ({
|
const TableProfiler: FC<Props> = ({
|
||||||
tableProfiles,
|
tableProfiles,
|
||||||
columns,
|
columns,
|
||||||
|
|||||||
@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2021 Collate
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const excludedMetrics = [
|
||||||
|
'profilDate',
|
||||||
|
'name',
|
||||||
|
'nullCount',
|
||||||
|
'nullProportion',
|
||||||
|
'uniqueCount',
|
||||||
|
'uniqueProportion',
|
||||||
|
'rows',
|
||||||
|
'histogram',
|
||||||
|
];
|
||||||
Loading…
x
Reference in New Issue
Block a user