impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pooja Nilangekar (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-5061: Populate null count in parquet::statistics
Date Tue, 13 Jun 2017 19:30:39 GMT
Pooja Nilangekar has posted comments on this change.

Change subject: IMPALA-5061: Populate null_count in parquet::statistics

Patch Set 6:

File be/src/exec/

Line 961:           Status err(Substitute("Corrupt Parquet file '$0': column '$1' "
> If possible, please don't rebase changes while they are under review. Other
Sorry about that! I won't do it henceforth.
File be/src/exec/

PS5, Line 197: page_stats_base_
> can this ever be nullptr?
I am not sure, I noticed Line #688 does a DCHECK. Should I change it to a DCHECK or entirely
remove this line?
File be/src/exec/

Line 58:       DCHECK(false) << "Unsupported statistics field requested";
> undo
File be/src/exec/parquet-column-stats.h:

Line 60:   /// Enum to select  whether to read minimum or maximum statistics. Values do not
> nit: Please undo this change, too.

Line 72:   static bool ReadFromThrift(const parquet::ColumnChunk& col_chunk,
> Undo

Line 100:   void IncrementNullCount(int64_t count) { null_count_ += count; }
> Update sounds like it will set it to a new value. Maybe "AddToNullCount" or
Done. Changed it to IncrementNullCount(int64_t count)

Line 162:   void Update(const T& min_value, const T& max_value);
> You can remove the implementation of Update(const T& v) and instead put a s

Line 163: 
> Please add a comment to this method, too.
File be/src/exec/parquet-column-stats.inline.h:

Line 61:     std::string min_str;
> nit: This could go on a single line now

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I4c49a63af84c2234f0633be63206cb52eb7e8ebb
Gerrit-PatchSet: 6
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Pooja Nilangekar <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-Reviewer: Pooja Nilangekar <>
Gerrit-HasComments: Yes

View raw message