Skip to content

Commit

Permalink
Add cluster to preview data query (#909)
Browse files Browse the repository at this point in the history
Signed-off-by: JacobSMoller <scherffenberg91@gmail.com>
  • Loading branch information
JacobSMoller authored Feb 2, 2021
1 parent 5969820 commit 1f25770
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ describe('tableMetadata ducks', () => {
database: 'testDb',
schema: 'testSchema',
tableName: 'testName',
cluster: 'testCluster',
};
});

Expand Down
1 change: 1 addition & 0 deletions amundsen_application/static/js/interfaces/TableMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export interface PreviewQueryParams {
database: string;
schema: string;
tableName: string;
cluster: string;
}

export interface PreviewData {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export class DataPreviewButton extends React.Component<
database: tableData.database,
schema: tableData.schema,
tableName: tableData.name,
cluster: tableData.cluster,
});
}

Expand Down

0 comments on commit 1f25770

Please sign in to comment.