Skip to content

Commit 865e221

Browse files
committed
Merge main
Signed-off-by: tito12 <vladyslav.sedenko@gmail.com>
2 parents 339fb31 + 0e434d5 commit 865e221

28 files changed

Lines changed: 374 additions & 176 deletions

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [Unreleased](https://github.com/MarquezProject/marquez/compare/0.30.0...HEAD)
44

5+
### Fixed
6+
7+
* Add missing database indexes [`#2419`](https://github.com/MarquezProject/marquez/pull/2419) [@pawel-big-lebowski](https://github.com/pawel-big-lebowski)
8+
*Create missing indexes on reference columns.*
9+
10+
511
## [0.30.0](https://github.com/MarquezProject/marquez/compare/0.29.0...0.30.0) - 2023-01-31
612

713
### Added

api/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins {
2121
}
2222

2323
ext {
24-
jdbi3Version = '3.36.0'
24+
jdbi3Version = '3.37.1'
2525
prometheusVersion = '0.16.0'
2626
testcontainersVersion = '1.17.6'
2727
sentryVersion = '6.13.0'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CREATE INDEX ON jobs_fqn (namespace_name, job_fqn);
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
create index column_lineage_output_dataset_version_uuid_index
2+
on column_lineage (output_dataset_version_uuid);
3+
4+
create index column_lineage_output_dataset_field_uuid_index
5+
on column_lineage (output_dataset_field_uuid);
6+
7+
create index column_lineage_input_dataset_version_uuid_index
8+
on column_lineage (input_dataset_version_uuid);
9+
10+
create index column_lineage_input_dataset_field_uuid_index
11+
on column_lineage (input_dataset_field_uuid);
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
create index dataset_facets_dataset_uuid_index
2+
on dataset_facets (dataset_uuid);
3+
4+
create index dataset_facets_dataset_version_uuid_index
5+
on dataset_facets (dataset_version_uuid);
6+
7+
create index dataset_facets_run_uuid_index
8+
on dataset_facets (run_uuid);
9+
10+
create index job_facets_job_uuid_index
11+
on job_facets (job_uuid);
12+
13+
create index job_facets_run_uuid_index
14+
on job_facets (run_uuid);

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ buildscript {
2121
dependencies {
2222
classpath 'com.adarshr:gradle-test-logger-plugin:3.2.0'
2323
classpath 'gradle.plugin.com.github.johnrengelman:shadow:7.1.2'
24-
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.14.0'
24+
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.15.0'
2525
}
2626
}
2727

@@ -58,11 +58,11 @@ subprojects {
5858
dropwizardVersion = '2.1.4'
5959
jacocoVersion = '0.8.8'
6060
junit5Version = '5.9.2'
61-
lombokVersion = '1.18.24'
62-
mockitoVersion = '5.1.0'
63-
openlineageVersion = '0.19.2'
61+
lombokVersion = '1.18.26'
62+
mockitoVersion = '5.1.1'
63+
openlineageVersion = '0.20.6'
6464
slf4jVersion = '1.7.36'
65-
postgresqlVersion = '42.5.1'
65+
postgresqlVersion = '42.5.3'
6666
isReleaseVersion = !version.endsWith('SNAPSHOT')
6767
}
6868

docker/metadata.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,22 @@
13581358
"_schemaURL": "https://openlineage.io/spec/facets/1-0-0/DatasourceDatasetFacet.json",
13591359
"name": "food_delivery_db",
13601360
"uri": "postgres://food_delivery:food_delivery@postgres:5432/food_delivery"
1361+
},
1362+
"dataQualityAssertions": {
1363+
"_producer": "https://github.com/MarquezProject/marquez/blob/main/docker/metadata.json",
1364+
"_schemaURL": "https://openlineage.io/spec/facets/1-0-0/DataQualityAssertionsDatasetFacet.json",
1365+
"assertions": [
1366+
{
1367+
"assertion": "not_null",
1368+
"success": false,
1369+
"column": "driver_id"
1370+
},
1371+
{
1372+
"assertion": "is_string",
1373+
"success": true,
1374+
"column": "customer_address"
1375+
}
1376+
]
13611377
}
13621378
}
13631379
}
@@ -1824,4 +1840,4 @@
18241840
},
18251841
"producer": "https://github.com/MarquezProject/marquez/blob/main/docker/metadata.json"
18261842
}
1827-
]
1843+
]

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"bumpVersion": "patch",
2+
"bumpVersion": "minor",
33
"extends": [
44
"config:base",
55
"docker:disable",

web/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// SPDX-License-Identifier: Apache-2.0
2+
3+
import { theme } from '../../../helpers/theme'
4+
import Box from '@material-ui/core/Box'
5+
import MqText from '../text/MqText'
6+
import React from 'react'
7+
import createStyles from '@material-ui/core/styles/createStyles'
8+
import withStyles, { WithStyles } from '@material-ui/core/styles/withStyles'
9+
10+
const styles = () =>
11+
createStyles({
12+
type: {
13+
display: 'flex',
14+
alignItems: 'center',
15+
gap: theme.spacing(1)
16+
},
17+
status: {
18+
width: theme.spacing(2),
19+
height: theme.spacing(2),
20+
borderRadius: '50%'
21+
}
22+
})
23+
24+
interface OwnProps {
25+
color: string | null
26+
label?: string
27+
}
28+
29+
const MqStatus: React.FC<OwnProps & WithStyles<typeof styles>> = ({ label, color, classes }) => {
30+
if (!color) {
31+
return null
32+
}
33+
return (
34+
<Box className={classes.type}>
35+
<Box className={classes.status} style={{ backgroundColor: color }} />
36+
{label && <MqText>{label}</MqText>}
37+
</Box>
38+
)
39+
}
40+
41+
export default withStyles(styles)(MqStatus)

0 commit comments

Comments
 (0)