Skip to content

Commit

Permalink
Fix bug where invalid schema name was being used for returned highlig…
Browse files Browse the repository at this point in the history
…ht fields

Signed-off-by: forestmvey <forestv@bitquilltech.com>
  • Loading branch information
forestmvey committed Aug 4, 2022
1 parent 9fbea30 commit d3af03b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public HighlightExpression(Expression highlightField) {
}

/**
* Return String or Map value matching highlight field.
* Return collection value matching highlight field.
* @param valueEnv : Dataset to parse value from.
* @return : String or Map value of highlight fields.
* @return : collection value of highlight fields.
*/
@Override
public ExprValue valueOf(Environment<Expression, ExprValue> valueEnv) {
Expand All @@ -47,7 +47,7 @@ public ExprValue valueOf(Environment<Expression, ExprValue> valueEnv) {
*/
@Override
public ExprType type() {
return ExprCoreType.STRING;
return ExprCoreType.ARRAY;
}

@Override
Expand Down

0 comments on commit d3af03b

Please sign in to comment.