mirror of
https://github.com/apache/superset.git
synced 2026-04-25 02:55:07 +00:00
chore: removing Druid from front- and back- end (#20338)
* first pass at removing native Druid nosql * removing having_druid * addressing comments, linting * fixed all tests * addressing comments * redirected to ui-core TimeGranularity type * query form metric linting * fixed broken chart type * implementing feedback
This commit is contained in:
@@ -589,9 +589,6 @@ class DatasourceEditor extends React.PureComponent {
|
||||
}),
|
||||
},
|
||||
errors: [],
|
||||
isDruid:
|
||||
props.datasource.type === 'druid' ||
|
||||
props.datasource.datasource_type === 'druid',
|
||||
isSqla:
|
||||
props.datasource.datasource_type === 'table' ||
|
||||
props.datasource.type === 'table',
|
||||
@@ -1089,20 +1086,6 @@ class DatasourceEditor extends React.PureComponent {
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
{this.state.isDruid && (
|
||||
<Field
|
||||
fieldKey="json"
|
||||
label={t('JSON')}
|
||||
description={
|
||||
<div>
|
||||
{t('The JSON metric or post aggregation definition.')}
|
||||
</div>
|
||||
}
|
||||
control={
|
||||
<TextAreaControl language="json" offerEditInModal={false} />
|
||||
}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
{this.state.datasourceType === DATASOURCE_TYPES.physical.key && (
|
||||
|
||||
Reference in New Issue
Block a user