Skip to content

Commit 38c8af9

Browse files
authored
Adding '@function' to some definitions to force correct key/values (#50)
1 parent b792b9a commit 38c8af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rai-sdk/src/test/java/com/relationalai/ExecuteTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class ExecuteTest extends UnitTest {
3535

3636
ensureDatabase(client);
3737

38-
var query = "def output(x, x2, x3, x4): {1; 2; 3; 4; 5}(x) and x2 = x^2 and x3 = x^3 and x4 = x^4";
38+
var query = "@function def output(x, x2, x3, x4): {1; 2; 3; 4; 5}(x) and x2 = x^2 and x3 = x^3 and x4 = x^4";
3939

4040
var rsp = client.executeV1(databaseName, engineName, query, true);
4141
assertEquals(rsp.aborted, false);

0 commit comments

Comments
 (0)