mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat: change query predicate to text (#16160)
* change query predicate to text
* make input multiline
* remove value that is too long for the downgrade
* keep logging lint rule
(cherry picked from commit 628169a171)
This commit is contained in:
committed by
Ville Brofeldt
parent
2b6a8652ec
commit
93de225f19
@@ -616,7 +616,13 @@ class DatasourceEditor extends React.PureComponent {
|
||||
'values from the table. Typically the intent would be to limit the scan ' +
|
||||
'by applying a relative time filter on a partitioned or indexed time-related field.',
|
||||
)}
|
||||
control={<TextControl controlId="fetch_values_predicate" />}
|
||||
control={
|
||||
<TextAreaControl
|
||||
language="sql"
|
||||
controlId="fetch_values_predicate"
|
||||
minLines={5}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
)}
|
||||
{this.state.isSqla && (
|
||||
|
||||
Reference in New Issue
Block a user