@@ -3670,8 +3670,7 @@ public void testResolveRerankFields() {
3670
3670
() -> analyze ("""
3671
3671
FROM books METADATA _score
3672
3672
| RERANK \" italian food recipe\" ON missingField OPTIONS inferenceId=`reranking-inference-id`
3673
- """ , "mapping-books.json"
3674
- )
3673
+ """ , "mapping-books.json" )
3675
3674
3676
3675
);
3677
3676
assertThat (ve .getMessage (), containsString ("Unknown column [missingField]" ));
@@ -3795,8 +3794,7 @@ public void testResolveCompletionTargetField() {
3795
3794
FROM books METADATA _score
3796
3795
| COMPLETION CONCAT("Translate the following text in French\\ n", description) INTO translation
3797
3796
OPTIONS inferenceId=`completion-inference-id`
3798
- """ ,"mapping-books.json"
3799
- );
3797
+ """ , "mapping-books.json" );
3800
3798
3801
3799
Completion completion = as (as (plan , Limit .class ).child (), Completion .class );
3802
3800
assertThat (completion .targetField (), equalTo (referenceAttribute ("translation" , DataType .KEYWORD )));
@@ -3839,8 +3837,7 @@ public void testResolveCompletionOutputField() {
3839
3837
FROM books METADATA _score
3840
3838
| COMPLETION CONCAT("Translate the following text in French\\ n", description) INTO description
3841
3839
OPTIONS inferenceId=`completion-inference-id`
3842
- """ , "mapping-books.json"
3843
- );
3840
+ """ , "mapping-books.json" );
3844
3841
3845
3842
Completion completion = as (as (plan , Limit .class ).child (), Completion .class );
3846
3843
assertThat (completion .targetField (), equalTo (referenceAttribute ("description" , DataType .KEYWORD )));
0 commit comments