-
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: Pawel Leszczynski <leszczynski.pawel@gmail.com>
- Loading branch information
1 parent
aa1cfce
commit 72665bb
Showing
3 changed files
with
31 additions
and
0 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
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__faceet_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); |