@@ -2968,7 +2968,7 @@ public void testNamedFunctionArgumentNotConstant() {
29682968 }
29692969 }
29702970
2971- public void testNamedFunctionArgumentEmptyMap () {
2971+ public void testNamedFunctionNamedParametersEmptyMap () {
29722972 Map <String , String > commands = Map .ofEntries (
29732973 Map .entry ("eval x = {}" , "30" ),
29742974 Map .entry ("where {}" , "27" ),
@@ -2987,7 +2987,7 @@ public void testNamedFunctionArgumentEmptyMap() {
29872987 }
29882988 }
29892989
2990- public void testNamedFunctionArgumentMapWithNULL () {
2990+ public void testNamedFunctionNamedParametersMapWithNULL () {
29912991 Map <String , String > commands = Map .ofEntries (
29922992 Map .entry ("eval x = {}" , "29" ),
29932993 Map .entry ("where {}" , "26" ),
@@ -3007,13 +3007,13 @@ public void testNamedFunctionArgumentMapWithNULL() {
30073007 null ,
30083008 "line 1:{}: {}" ,
30093009 error ,
3010- "Invalid named function argument [\" option\" :null], NULL is not supported"
3010+ "Invalid named parameter [\" option\" :null], NULL is not supported"
30113011 )
30123012 );
30133013 }
30143014 }
30153015
3016- public void testNamedFunctionArgumentMapWithEmptyKey () {
3016+ public void testNamedFunctionNamedParametersMapWithEmptyKey () {
30173017 Map <String , String > commands = Map .ofEntries (
30183018 Map .entry ("eval x = {}" , "29" ),
30193019 Map .entry ("where {}" , "26" ),
@@ -3033,7 +3033,7 @@ public void testNamedFunctionArgumentMapWithEmptyKey() {
30333033 null ,
30343034 "line 1:{}: {}" ,
30353035 error ,
3036- "Invalid named function argument [\" \" :1], empty key is not supported"
3036+ "Invalid named parameter [\" \" :1], empty key is not supported"
30373037 )
30383038 );
30393039 expectError (
@@ -3042,13 +3042,13 @@ public void testNamedFunctionArgumentMapWithEmptyKey() {
30423042 null ,
30433043 "line 1:{}: {}" ,
30443044 error ,
3045- "Invalid named function argument [\" \" :1], empty key is not supported"
3045+ "Invalid named parameter [\" \" :1], empty key is not supported"
30463046 )
30473047 );
30483048 }
30493049 }
30503050
3051- public void testNamedFunctionArgumentMapWithDuplicatedKey () {
3051+ public void testNamedFunctionNamedParametersMapWithDuplicatedKey () {
30523052 Map <String , String > commands = Map .ofEntries (
30533053 Map .entry ("eval x = {}" , "29" ),
30543054 Map .entry ("where {}" , "26" ),
@@ -3068,13 +3068,13 @@ public void testNamedFunctionArgumentMapWithDuplicatedKey() {
30683068 null ,
30693069 "line 1:{}: {}" ,
30703070 error ,
3071- "Duplicated function arguments with the same name [dup] is not supported"
3071+ "Duplicated named parameters with the same name [dup] is not supported"
30723072 )
30733073 );
30743074 }
30753075 }
30763076
3077- public void testNamedFunctionArgumentInInvalidPositions () {
3077+ public void testNamedFunctionNamedParametersInInvalidPositions () {
30783078 // negative, named arguments are not supported outside of a functionExpression where booleanExpression or indexPattern is supported
30793079 String map = "{\" option1\" :\" string\" , \" option2\" :1}" ;
30803080
@@ -3103,7 +3103,7 @@ public void testNamedFunctionArgumentInInvalidPositions() {
31033103 }
31043104 }
31053105
3106- public void testNamedFunctionArgumentWithUnsupportedNamedParameterTypes () {
3106+ public void testNamedFunctionNamedParametersWithUnsupportedNamedParameterTypes () {
31073107 Map <String , String > commands = Map .ofEntries (
31083108 Map .entry ("eval x = {}" , "29" ),
31093109 Map .entry ("where {}" , "26" ),
@@ -3124,7 +3124,7 @@ public void testNamedFunctionArgumentWithUnsupportedNamedParameterTypes() {
31243124 null ,
31253125 "line 1:{}: {}" ,
31263126 error ,
3127- "Invalid named function argument [\" option1\" :?n1], only constant value is supported"
3127+ "Invalid named parameter [\" option1\" :?n1], only constant value is supported"
31283128 )
31293129 );
31303130 expectError (
@@ -3134,7 +3134,7 @@ public void testNamedFunctionArgumentWithUnsupportedNamedParameterTypes() {
31343134 null ,
31353135 "line 1:{}: {}" ,
31363136 error ,
3137- "Invalid named function argument [\" option1\" :?n1], only constant value is supported"
3137+ "Invalid named parameter [\" option1\" :?n1], only constant value is supported"
31383138 )
31393139 );
31403140 }
@@ -3967,7 +3967,7 @@ public void testInvalidCompletion() {
39673967 );
39683968 expectError (
39693969 "FROM foo* | COMPLETION prompt WITH { \" inference_id\" : \" inferenceId\" , \" unknown_option\" : 3 }" ,
3970- "line 1:42 : Inavalid option [unknown_option] in COMPLETION, expected one of [[inference_id]]"
3970+ "line 1:31 : Inavalid option [unknown_option] in COMPLETION, expected one of [[inference_id]]"
39713971 );
39723972
39733973 expectError ("FROM foo* | COMPLETION WITH inferenceId" , "line 1:24: extraneous input 'WITH' expecting {" );
0 commit comments