Fix missing declaration of std::max in hdfs-avro-scanner-test Change-Id: Id41c14e98163bcbb03675969e0a53754e92a4c14 Reviewed-on: http://gerrit.cloudera.org:8080/6497 Reviewed-by: Sailesh Mukil <[email protected]> Tested-by: Henry Robinson <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/ff095f18 Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/ff095f18 Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/ff095f18 Branch: refs/heads/master Commit: ff095f1894979a3899a9367b44d8dd7a6bfe0726 Parents: 296df3c Author: Henry Robinson <[email protected]> Authored: Mon Mar 27 17:55:55 2017 -0700 Committer: Henry Robinson <[email protected]> Committed: Wed Mar 29 02:51:18 2017 +0000 ---------------------------------------------------------------------- be/src/exec/hdfs-avro-scanner-test.cc | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/ff095f18/be/src/exec/hdfs-avro-scanner-test.cc ---------------------------------------------------------------------- diff --git a/be/src/exec/hdfs-avro-scanner-test.cc b/be/src/exec/hdfs-avro-scanner-test.cc index b031d6c..3567d5c 100644 --- a/be/src/exec/hdfs-avro-scanner-test.cc +++ b/be/src/exec/hdfs-avro-scanner-test.cc @@ -17,6 +17,7 @@ #include "exec/hdfs-avro-scanner.h" +#include <algorithm> #include <limits.h> #include "exec/read-write-util.h" @@ -25,6 +26,8 @@ #include "runtime/string-value.inline.h" #include "testutil/gtest-util.h" +#include "common/names.h" + // TODO: IMPALA-3658: complete CHAR unit tests. // TODO: IMPALA-3658: complete VARCHAR unit tests.
