-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: tito12 <vladyslav.sedenko@gmail.com>
- Loading branch information
Showing
28 changed files
with
374 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
api/src/main/resources/marquez/db/migration/V58__job_fqn_name_index.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE INDEX ON jobs_fqn (namespace_name, job_fqn); |
11 changes: 11 additions & 0 deletions
11
api/src/main/resources/marquez/db/migration/V59.1__column_lineage_add_indexes.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
create index column_lineage_output_dataset_version_uuid_index | ||
on column_lineage (output_dataset_version_uuid); | ||
|
||
create index column_lineage_output_dataset_field_uuid_index | ||
on column_lineage (output_dataset_field_uuid); | ||
|
||
create index column_lineage_input_dataset_version_uuid_index | ||
on column_lineage (input_dataset_version_uuid); | ||
|
||
create index column_lineage_input_dataset_field_uuid_index | ||
on column_lineage (input_dataset_field_uuid); |
14 changes: 14 additions & 0 deletions
14
api/src/main/resources/marquez/db/migration/V59.2__facet_tables_indexes.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
create index dataset_facets_dataset_uuid_index | ||
on dataset_facets (dataset_uuid); | ||
|
||
create index dataset_facets_dataset_version_uuid_index | ||
on dataset_facets (dataset_version_uuid); | ||
|
||
create index dataset_facets_run_uuid_index | ||
on dataset_facets (run_uuid); | ||
|
||
create index job_facets_job_uuid_index | ||
on job_facets (job_uuid); | ||
|
||
create index job_facets_run_uuid_index | ||
on job_facets (run_uuid); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"bumpVersion": "patch", | ||
"bumpVersion": "minor", | ||
"extends": [ | ||
"config:base", | ||
"docker:disable", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import { theme } from '../../../helpers/theme' | ||
import Box from '@material-ui/core/Box' | ||
import MqText from '../text/MqText' | ||
import React from 'react' | ||
import createStyles from '@material-ui/core/styles/createStyles' | ||
import withStyles, { WithStyles } from '@material-ui/core/styles/withStyles' | ||
|
||
const styles = () => | ||
createStyles({ | ||
type: { | ||
display: 'flex', | ||
alignItems: 'center', | ||
gap: theme.spacing(1) | ||
}, | ||
status: { | ||
width: theme.spacing(2), | ||
height: theme.spacing(2), | ||
borderRadius: '50%' | ||
} | ||
}) | ||
|
||
interface OwnProps { | ||
color: string | null | ||
label?: string | ||
} | ||
|
||
const MqStatus: React.FC<OwnProps & WithStyles<typeof styles>> = ({ label, color, classes }) => { | ||
if (!color) { | ||
return null | ||
} | ||
return ( | ||
<Box className={classes.type}> | ||
<Box className={classes.status} style={{ backgroundColor: color }} /> | ||
{label && <MqText>{label}</MqText>} | ||
</Box> | ||
) | ||
} | ||
|
||
export default withStyles(styles)(MqStatus) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.