GitHub user haohui opened a pull request:
https://github.com/apache/storm/pull/860
STORM-1159. Support nullable operations in StormSQL
This PR implements the support of the nullable semantics of the expressions
available in StormSQL.
It also implements the `IS_NULL`, `IS_NOT_NULL` operators.
Currently the `ExprCompiler` directly prints out Java source code with
`printf`. A cleaner approach is to introduce the `Expression` class in the
Apache Calcite project to avoid the printf statements. It'll be cleaned up in
follow-up PRs.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/haohui/storm STORM-1159
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/860.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #860
----
commit 183b5ac926ad25b1c504c8822ebbdd236ecd0963
Author: Haohui Mai <[email protected]>
Date: 2015-11-03T23:06:22Z
Implement IS operators in StormSQL.
commit 8890de3e098b759d0a2938e06b4841d371066b7e
Author: Haohui Mai <[email protected]>
Date: 2015-11-04T17:24:32Z
Implement nullable semantics for AND, OR and NOT operators.
commit d11dabd25a7e4962a48b7d2682c319dac31acc3c
Author: Haohui Mai <[email protected]>
Date: 2015-11-04T21:48:40Z
STORM-1159. Support nullable operations in StormSQL.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---