impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila Jeges (Code Review)" <ger...@cloudera.org>
Subject [Impala-CR](cdh5-trunk) IMPALA-1731,IMPALA-3868: Float values are not parsed correctly
Date Fri, 22 Jul 2016 16:25:22 GMT
Attila Jeges has posted comments on this change.

Change subject: IMPALA-1731,IMPALA-3868: Float values are not parsed correctly
......................................................................


Patch Set 2:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/3622/2/be/src/util/string-parser.h
File be/src/util/string-parser.h:

PS2, Line 377: We'll be a little loose
             :     // here and interpret any column with "inf" as a prefix as infinity rather
than
             :     // checking every remaining byte.
> Was there any urgency to getting this in before C6? I.e. if someone was ask
Took Justin Erickson's recommendation: only treat case insensitive "inf"/"infinity" and "nan"
as valid strings for infinity and nan respectively.


PS2, Line 380:     // NaN is parsed the same way: any column with "nan" as a prefix is interpreted
             :     // as NaN.
> this doesn't seem necessary, no need to accept garbage after the nan
Done


-- 
To view, visit http://gerrit.cloudera.org:8080/3622
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I9e17d0f051b300a22a520ce34e276c2d4460d35e
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Attila Jeges <attilaj@cloudera.com>
Gerrit-Reviewer: Attila Jeges <attilaj@cloudera.com>
Gerrit-Reviewer: Jim Apple <jbapple@cloudera.com>
Gerrit-Reviewer: Lars Volker <lv@cloudera.com>
Gerrit-Reviewer: Matthew Jacobs <mj@cloudera.com>
Gerrit-Reviewer: Michael Ho <kwho@cloudera.com>
Gerrit-HasComments: Yes

Mime
View raw message