Sergey Kamov created NLPCRAFT-276:
-------------------------------------
Summary: 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
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)