[BEAM-2158] This closes #2893
Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/4ea38d82 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/4ea38d82 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/4ea38d82 Branch: refs/heads/DSL_SQL Commit: 4ea38d82359ed443c906de9caed8488d1dbf199a Parents: f7ee8d3 a376f37 Author: Jean-Baptiste Onofré <[email protected]> Authored: Tue May 9 10:24:20 2017 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Tue May 9 10:24:20 2017 +0200 ---------------------------------------------------------------------- .../dsls/sql/interpreter/BeamSQLFnExecutor.java | 21 +- .../arithmetic/BeamSqlArithmeticExpression.java | 101 ++++++++ .../arithmetic/BeamSqlDivideExpression.java | 40 +++ .../arithmetic/BeamSqlMinusExpression.java | 40 +++ .../arithmetic/BeamSqlModExpression.java | 40 +++ .../arithmetic/BeamSqlMultiplyExpression.java | 40 +++ .../arithmetic/BeamSqlPlusExpression.java | 40 +++ .../operator/arithmetic/package-info.java | 22 ++ .../sql/interpreter/BeamSQLFnExecutorTest.java | 55 +++- .../BeamSqlArithmeticExpressionTest.java | 251 +++++++++++++++++++ 10 files changed, 637 insertions(+), 13 deletions(-) ----------------------------------------------------------------------
