Kirill Tkalenko created IGNITE-27836:
----------------------------------------

             Summary: Fix documentation for QuerySqlTableFunction
                 Key: IGNITE-27836
                 URL: https://issues.apache.org/jira/browse/IGNITE-27836
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.17
            Reporter: Kirill Tkalenko


I discovered an error in the documentation forĀ  
{*}org.apache.ignite.cache.query.annotations.QuerySqlTableFunction{*}.

There's an example of calling a function: "select S_VAL from MY_TABLE(1, 5.0f, 
"ext") where F_VAL is not null".
But it actually needs to be done like this: "select S_VAL from 
table(MY_TABLE(1, 5.0f, "ext")) where F_VAL is not null";

And if possible, I'd like to add an example of how to work with an array of 
objects. What I mean is that to do this, you need to declare a list of objects 
in the function, and also how to pass them when calling.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to