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:
Elizabeth Thompson
2021-08-10 17:52:01 -07:00
committed by Ville Brofeldt
parent 2b6a8652ec
commit 93de225f19
3 changed files with 92 additions and 2 deletions

View File

@@ -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 && (