hivemall-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myui <>
Subject [GitHub] incubator-hivemall issue #46: [HIVEMALL-72] Fix corner-case rescale UDF beha...
Date Thu, 16 Feb 2017 07:20:37 GMT
Github user myui commented on the issue:
    @wangyum Are you agree with the following new behavior of [rescale(value,min,max)](
    -- new
    select rescale(4.2,1.0,3.0),rescale(-0.3, 1.0, 3.0);
    > 1.0 0.0
    -- old
    select rescale(4.2,1.0,3.0),rescale(-0.3, 1.0, 3.0);
    > 1.5999999	-0.65
    Throwing an exception if value is out of range but exact min/max is sometimes unknown

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 or file a JIRA ticket
with INFRA.

View raw message