Merge [TRAFODION-2208] PR-703, new built-in functions added
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/66827b05 Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/66827b05 Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/66827b05 Branch: refs/heads/master Commit: 66827b0532604762c68b2f8ee7c2c1084ce6b1ad Parents: 4418ed3 2e70db6 Author: Liu Ming <lium...@apache.org> Authored: Sun Sep 18 00:32:50 2016 +0000 Committer: Liu Ming <lium...@apache.org> Committed: Sun Sep 18 00:32:50 2016 +0000 ---------------------------------------------------------------------- core/sql/common/OperTypeEnum.h | 7 + core/sql/exp/ExpPackDefs.cpp | 14 ++ core/sql/exp/exp_clause.cpp | 21 ++ core/sql/exp/exp_clause.h | 19 +- core/sql/exp/exp_function.cpp | 366 +++++++++++++++++++++++++++++++ core/sql/exp/exp_function.h | 93 ++++++++ core/sql/exp/exp_math_func.cpp | 12 + core/sql/generator/GenItemFunc.cpp | 27 +++ core/sql/optimizer/BindItemExpr.cpp | 5 + core/sql/optimizer/ItemExpr.cpp | 1 + core/sql/optimizer/SynthType.cpp | 75 +++++++ core/sql/parser/ParKeyWords.cpp | 5 + core/sql/parser/sqlparser.y | 40 +++- 13 files changed, 676 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/66827b05/core/sql/common/OperTypeEnum.h ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/66827b05/core/sql/optimizer/BindItemExpr.cpp ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/66827b05/core/sql/optimizer/ItemExpr.cpp ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/66827b05/core/sql/optimizer/SynthType.cpp ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/66827b05/core/sql/parser/ParKeyWords.cpp ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/66827b05/core/sql/parser/sqlparser.y ----------------------------------------------------------------------