You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Aaron Radzinski (Jira)" <ji...@apache.org> on 2021/03/20 00:58:00 UTC

[jira] [Commented] (NLPCRAFT-276) NlpCraft IDL functions processing error.

    [ https://issues.apache.org/jira/browse/NLPCRAFT-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17305255#comment-17305255 ] 

Aaron Radzinski commented on NLPCRAFT-276:
------------------------------------------

Fixed in NLPCRAFT-206.

> NlpCraft IDL functions processing error.
> ----------------------------------------
>
>                 Key: NLPCRAFT-276
>                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-276
>             Project: NLPCraft
>          Issue Type: Bug
>          Components: probe
>            Reporter: Sergey Kamov
>            Assignee: Aaron Radzinski
>            Priority: Major
>             Fix For: 0.7.5
>
>
> The function `has` or `list` doesn't work.
> SQL model element 'col:num' cannot be detected with such definition
> - "^^\{id() == 'col' && has(list(4, 8), meta_part(find_part(token(), 'colName'), 'sql:datatype'))}^^"
> but if we change it to equal clause without `has` and 'list' 
> - "^^\{id() == 'col' && (meta_part(find_part(token(), 'colName'), 'sql:datatype') == 8 || meta_part(find_part(token(), 'colName'), 'sql:datatype') == 4)}^^"
> it works for both NCSqlModelSpec and NCSqlExampleSpec



--
This message was sent by Atlassian Jira
(v8.3.4#803005)