Skip to content

Conversation

@markandrus
Copy link

I have been reviewing this library's support for unary operators, and I noticed that IS UNKNOWN and IS NOT UNKNOWN were not supported, so I have added support for them, along with tests.

Additionally, it was not immediately clear to me if ISNULL and NOTNULL were supported, so I added tests for them. I see from the tests that these are mapped to IS NULL and IS NOT NULL.

| value_keyword {% x => track(x, {type: 'keyword', keyword: toStr(x) }) %}
| %qparam {% x => track(x, { type: 'parameter', name: toStr(x[0]) }) %}
| %kw_default {% x => track(x, { type: 'default'}) %}
| %kw_unknown {% x => track(x, { type: 'unknown' }) %}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not completely sure if this should be here.

// added manually
, "PRECISION"
];
, "UNKNOWN"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not completely sure if this should be here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant