HAWQ-1048. Added filter-push down support for float8.
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/98bc759f Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/98bc759f Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/98bc759f Branch: refs/heads/HAWQ-964 Commit: 98bc759fe34363121049fd2f08ed6d72679082b9 Parents: 694ad03 Author: Oleksandr Diachenko <[email protected]> Authored: Thu Sep 22 13:34:20 2016 -0700 Committer: Oleksandr Diachenko <[email protected]> Committed: Thu Sep 22 13:34:20 2016 -0700 ---------------------------------------------------------------------- src/backend/access/external/pxffilters.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/98bc759f/src/backend/access/external/pxffilters.c ---------------------------------------------------------------------- diff --git a/src/backend/access/external/pxffilters.c b/src/backend/access/external/pxffilters.c index 847f120..20956bf 100644 --- a/src/backend/access/external/pxffilters.c +++ b/src/backend/access/external/pxffilters.c @@ -134,8 +134,15 @@ dbop_pxfop_map pxf_supported_opr[] = {1097 /* date_gt */, PXFOP_GT}, {1096 /* date_le */, PXFOP_LE}, {1098 /* date_ge */, PXFOP_GE}, - {1094 /* date_ne */, PXFOP_NE} - + {1094 /* date_ne */, PXFOP_NE}, + + /* float8 */ + {Float8EqualOperator /* float8eq */, PXFOP_EQ}, + {672 /* float8lt */, PXFOP_LT}, + {674 /* float8gt */, PXFOP_GT}, + {673 /* float8le */, PXFOP_LE}, + {675 /* float8ge */, PXFOP_GE}, + {671 /* float8ne */, PXFOP_NE} }; Oid pxf_supported_types[] =
