-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cesql v1 fixes #641
Cesql v1 fixes #641
Conversation
sql/src/main/java/io/cloudevents/sql/impl/ExceptionFactoryImpl.java
Outdated
Show resolved
Hide resolved
sql/src/main/java/io/cloudevents/sql/impl/ExceptionFactoryImpl.java
Outdated
Show resolved
Hide resolved
sql/src/main/java/io/cloudevents/sql/impl/runtime/EvaluationResult.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
…hen there may be an error Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Can you completely remove that link? |
Signed-off-by: Calum Murray <cmurray@redhat.com>
Done - can you recheck this @pierDipi |
Thanks @Cali0707 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Update the CESQL implementation to pass the v1 spec conformance tests.
The main change in this PR is that now the
EvaluationResult
type is used internally as well as for the final return value of the expressions, instead of using a thrower interface to collect errors over time. This allows for handling of specific exceptions that are encountered in subexpressions (for example, missing attributes). Outside of that, there are various small fixes to get the SDK to match the v1 spec.I tried to organize my work by commit, but since I wanted to get everything to pass before I did that I only sort of managed to do that. So, the commits are generally organized by what changed in them, but there may be some extra stuff in each commit. Sorry about that!
cc @pierDipi @matzew
Fixes #618