Uploaded image for project: 'NLPCraft'
  1. NLPCraft
  2. NLPCRAFT-276

NlpCraft IDL functions processing error.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.5
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            aradzinski Aaron Radzinski
            sergeykamov Sergey Kamov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: