You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/01 08:53:49 UTC
[GitHub] [airflow] bbovenzi commented on a diff in pull request #25403: Show upstream/downstreams from a dataset
bbovenzi commented on code in PR #25403:
URL: https://github.com/apache/airflow/pull/25403#discussion_r934292029
##########
airflow/www/static/js/datasets/Details.tsx:
##########
@@ -30,12 +30,74 @@ import {
Table, TimeCell, CodeCell, TaskInstanceLink,
} from 'src/components/Table';
import { ClipboardButton } from 'src/components/Clipboard';
+import type { API } from 'src/types';
+import InfoTooltip from 'src/components/InfoTooltip';
interface Props {
datasetId: string;
onBack: () => void;
}
+const Details = ({
+ dataset: {
+ createdAt,
+ updatedAt,
+ uri,
+ extra,
+ upstreamTaskReferences,
+ downstreamDagReferences,
+ },
+}: { dataset: API.Dataset }) => (
+ <Box>
+ <Heading my={2} fontWeight="normal">
+ Dataset:
+ {' '}
+ {uri}
+ <ClipboardButton value={uri} iconOnly ml={2} />
+ </Heading>
+ {!!extra && (
+ <Flex>
+ <Text mr={1}>Extra:</Text>
+ <Code>{JSON.stringify(extra)}</Code>
+ </Flex>
+ )}
+ <Flex my={2}>
+ <Text mr={1}>Updated At:</Text>
+ <Time dateTime={updatedAt} />
+ </Flex>
+ <Flex my={2}>
+ <Text mr={1}>Created At:</Text>
+ <Time dateTime={createdAt} />
+ </Flex>
Review Comment:
Oh that isn't the case, its just when the db entry was updated? Ok. I'll cut that out.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org