Skip to content

Commit

Permalink
Merge branch 'datahub-project:master' into fix/docker-use-amd64-arch-…
Browse files Browse the repository at this point in the history
…when-using-enumlator-on-m1
  • Loading branch information
firasomrane committed Aug 20, 2022
2 parents 098f1b3 + ad4e285 commit fce6b79
Show file tree
Hide file tree
Showing 43 changed files with 1,425 additions and 552 deletions.
Expand Up @@ -33,13 +33,13 @@
public class SchemaBlameMapper {

public static GetSchemaBlameResult map(List<ChangeTransaction> changeTransactions, @Nullable String versionCutoff) {
GetSchemaBlameResult result = new GetSchemaBlameResult();
if (changeTransactions.isEmpty()) {
log.debug("Change transactions are empty");
return null;
return result;
}

Map<String, SchemaFieldBlame> schemaBlameMap = new HashMap<>();
GetSchemaBlameResult result = new GetSchemaBlameResult();

String latestSemanticVersionString =
truncateSemanticVersion(changeTransactions.get(changeTransactions.size() - 1).getSemVer());
Expand Down
2 changes: 1 addition & 1 deletion datahub-graphql-core/src/main/resources/timeline.graphql
Expand Up @@ -71,7 +71,7 @@ type GetSchemaVersionListResult {
"""
Latest and current semantic version
"""
latestVersion: SemanticVersionStruct!
latestVersion: SemanticVersionStruct
"""
Selected semantic version
"""
Expand Down
Expand Up @@ -13,6 +13,9 @@ import {
getExecutionRequestStatusDisplayColor,
getExecutionRequestStatusIcon,
getExecutionRequestStatusDisplayText,
CLI_INGESTION_SOURCE,
SCHEDULED_INGESTION_SOURCE,
MANUAL_INGESTION_SOURCE,
} from './utils';

const ListContainer = styled.div`
Expand Down Expand Up @@ -160,8 +163,9 @@ export const IngestionSourceExecutionList = ({ urn, lastRefresh, onRefresh }: Pr
key: 'source',
render: (source: string) => {
return (
(source === 'MANUAL_INGESTION_SOURCE' && 'Manual Execution') ||
(source === 'SCHEDULED_INGESTION_SOURCE' && 'Scheduled Execution') ||
(source === MANUAL_INGESTION_SOURCE && 'Manual Execution') ||
(source === SCHEDULED_INGESTION_SOURCE && 'Scheduled Execution') ||
(source === CLI_INGESTION_SOURCE && 'CLI Execution') ||
'N/A'
);
},
Expand Down

0 comments on commit fce6b79

Please sign in to comment.