mirror of
https://github.com/apache/superset.git
synced 2026-04-22 17:45:21 +00:00
feat: add certifications to tables (#11450)
This commit is contained in:
@@ -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')}
|
||||
|
||||
Reference in New Issue
Block a user