feat: add certifications to tables (#11450)

This commit is contained in:
Erik Ritter
2020-10-30 11:28:01 -07:00
committed by GitHub
parent f2b8d6aef8
commit ca40877640
9 changed files with 75 additions and 4 deletions

View File

@@ -516,6 +516,25 @@ class DatasourceEditor extends React.PureComponent {
control={<TextControl controlId="fetch_values_predicate" />}
/>
)}
{this.state.isSqla && (
<Field
fieldKey="extra"
label={t('Extra')}
description={t(
'Extra data to specify table metadata. Currently supports ' +
'certification data of the format: `{ "certification": { "certified_by": ' +
'"Data Platform Team", "details": "This table is the source of truth." ' +
'} }`.',
)}
control={
<TextAreaControl
controlId="extra"
language="json"
offerEditInModal={false}
/>
}
/>
)}
<Field
fieldKey="owners"
label={t('Owners')}