[ https://issues.apache.org/jira/browse/IGNITE-11806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831943#comment-16831943 ]
Alex Savitsky commented on IGNITE-11806: ---------------------------------------- [~dpavlov] Done. Strangely enoug, I wasn't getting any notifications about your comments, have only seen it now. > Wrong import statement listed in Scalar documentation > ----------------------------------------------------- > > Key: IGNITE-11806 > URL: https://issues.apache.org/jira/browse/IGNITE-11806 > Project: Ignite > Issue Type: Bug > Components: documentation > Affects Versions: 2.7 > Reporter: Alex Savitsky > Assignee: Alex Savitsky > Priority: Minor > Time Spent: 10m > Remaining Estimate: 0h > > Scalar documentation mentions the imports that need to be made in order to > use full scalar syntax: > {quote} > h4. Importing > Scalar needs to be imported in a proper way so that necessary objects and > implicit conversions got available in the scope: > {code:scala} > import org.apache.ignite.scalar._ > import scalar._ > {code} > This way you import object {{scalar}} as well as all methods declared or > inherited in that object as well. > {quote} > The imports are wrong however, I had to look up the examples to figure out > the correct ones: > {code:scala} > import org.apache.ignite.scalar.scalar > import org.apache.ignite.scalar.scalar._ > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)