forked from MarquezProject/marquez
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply
pre-commit run --all-files
(MarquezProject#2576)
Signed-off-by: wslulciuc <[email protected]>
- Loading branch information
Showing
134 changed files
with
420 additions
and
425 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
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 |
---|---|---|
|
@@ -14,4 +14,3 @@ ports: | |
vscode: | ||
extensions: | ||
- ms-azuretools.vscode-docker | ||
|
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
Large diffs are not rendered by default.
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
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
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,7 +1,6 @@ | ||
__ ___ | ||
__ ___ | ||
/ |/ /___ __________ ___ _____ ____ | ||
/ /|_/ / __ `/ ___/ __ `/ / / / _ \/_ / | ||
/ / / / /_/ / / / /_/ / /_/ / __/ / /_ | ||
/_/ /_/\__,_/_/ \__, /\__,_/\___/ /___/ | ||
/_/ | ||
|
||
/_/ |
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
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V13__alter_run_add_start_end_state.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
ALTER TABLE runs ADD start_run_state_uuid UUID REFERENCES run_states(uuid); | ||
ALTER TABLE runs ADD end_run_state_uuid UUID REFERENCES run_states(uuid); | ||
ALTER TABLE runs ADD end_run_state_uuid UUID REFERENCES run_states(uuid); |
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V14__index_datasetversion_datasetid.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
CREATE INDEX datasetversion_datasetid_idx ON dataset_versions (dataset_uuid); | ||
CREATE INDEX datasetversion_datasetid_idx ON dataset_versions (dataset_uuid); |
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V17.1__unique_version_constraint.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
ALTER TABLE dataset_versions ADD CONSTRAINT dataset_versions_version UNIQUE(version); | ||
ALTER TABLE job_versions ADD CONSTRAINT job_versions_version UNIQUE(version); | ||
ALTER TABLE job_versions ADD CONSTRAINT job_versions_version UNIQUE(version); |
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V18__drop_dataset_constraint.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
alter table datasets drop constraint datasets_source_uuid_physical_name_key; | ||
alter table datasets drop constraint datasets_source_uuid_physical_name_key; |
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
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V20__drop_lineage_pk.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
ALTER TABLE lineage_events DROP CONSTRAINT lineage_event_pk; | ||
ALTER TABLE lineage_events DROP CONSTRAINT lineage_event_pk; |
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V21__alter_jobs_to_add_namespace_name.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
ALTER TABLE jobs ADD namespace_name VARCHAR(255); | ||
UPDATE jobs SET namespace_name = namespaces.name FROM namespaces WHERE jobs.namespace_uuid = namespaces.uuid; | ||
UPDATE jobs SET namespace_name = namespaces.name FROM namespaces WHERE jobs.namespace_uuid = namespaces.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 |
---|---|---|
|
@@ -12,4 +12,3 @@ UPDATE datasets SET | |
source_name = s.name | ||
FROM sources s | ||
WHERE s.uuid = datasets.source_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
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V30__alter_runs_change_transitioned_at_type.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
alter table runs alter column transitioned_at type timestamp without time zone | ||
USING transitioned_at::timestamp without time zone; | ||
USING transitioned_at::timestamp without time zone; |
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
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V41__add_operation_to_dataset_versions.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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
alter table dataset_versions add column lifecycle_state VARCHAR(63); | ||
alter table datasets add column is_deleted BOOLEAN DEFAULT FALSE; | ||
alter table datasets add column is_deleted BOOLEAN DEFAULT FALSE; |
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V42__add_job_symlink_target.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ALTER TABLE jobs ADD COLUMN symlink_target_uuid uuid REFERENCES jobs (uuid); | ||
CREATE INDEX jobs_symlinks ON jobs (symlink_target_uuid) | ||
INCLUDE (uuid, namespace_name, name) | ||
WHERE symlink_target_uuid IS NOT NULL; | ||
WHERE symlink_target_uuid IS NOT NULL; |
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
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V46__add_hidden_column_to_jobs_and_datasets.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ALTER TABLE datasets ADD COLUMN is_hidden BOOLEAN DEFAULT FALSE; | ||
|
||
ALTER TABLE jobs ADD COLUMN is_hidden BOOLEAN DEFAULT FALSE; | ||
ALTER TABLE jobs ADD COLUMN is_hidden BOOLEAN DEFAULT FALSE; |
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 |
---|---|---|
|
@@ -21,4 +21,3 @@ CREATE TYPE DATASET_NAME AS ( | |
namespace VARCHAR(255), | ||
name VARCHAR(255) | ||
); | ||
|
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
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V50__index_dataset_fields.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
create index dataset_fields_dataset_uuid | ||
on dataset_fields (dataset_uuid); | ||
on dataset_fields (dataset_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ CREATE TABLE dataset_facets ( | |
type VARCHAR(64) NOT NULL, | ||
name VARCHAR(255) NOT NULL, | ||
facet JSONB NOT NULL | ||
); | ||
); |
2 changes: 1 addition & 1 deletion
2
api/src/main/resources/marquez/db/migration/V57.1__add_migration_lock.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CREATE TABLE facet_migration_lock ( | ||
created_at TIMESTAMPTZ, | ||
run_uuid 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
2 changes: 1 addition & 1 deletion
2
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 |
---|---|---|
@@ -1 +1 @@ | ||
CREATE INDEX ON jobs_fqn (namespace_name, job_fqn); | ||
CREATE INDEX ON jobs_fqn (namespace_name, job_fqn); |
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 |
---|---|---|
|
@@ -147,4 +147,4 @@ type Dataset { | |
tags: [Tag] | ||
currentVersion: DatasetVersion | ||
versions: [DatasetVersion] | ||
} | ||
} |
Oops, something went wrong.