You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by pr...@apache.org on 2015/04/30 23:09:43 UTC
hive git commit: HIVE-10558: LLAP: Add test case for all row groups
selection with no column projection (Prasanth Jayachandran)
Repository: hive
Updated Branches:
refs/heads/llap 581d3bbc3 -> 469f604dd
HIVE-10558: LLAP: Add test case for all row groups selection with no column projection (Prasanth Jayachandran)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/469f604d
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/469f604d
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/469f604d
Branch: refs/heads/llap
Commit: 469f604dd22c13e15db937d05ad077c455bf9290
Parents: 581d3bb
Author: Prasanth Jayachandran <j....@gmail.com>
Authored: Thu Apr 30 14:09:33 2015 -0700
Committer: Prasanth Jayachandran <j....@gmail.com>
Committed: Thu Apr 30 14:09:33 2015 -0700
----------------------------------------------------------------------
ql/src/test/queries/clientpositive/orc_llap.q | 3 +++
ql/src/test/results/clientpositive/orc_llap.q.out | 11 +++++++++++
2 files changed, 14 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/469f604d/ql/src/test/queries/clientpositive/orc_llap.q
----------------------------------------------------------------------
diff --git a/ql/src/test/queries/clientpositive/orc_llap.q b/ql/src/test/queries/clientpositive/orc_llap.q
index 1659044..4b2a3f7 100644
--- a/ql/src/test/queries/clientpositive/orc_llap.q
+++ b/ql/src/test/queries/clientpositive/orc_llap.q
@@ -55,6 +55,9 @@ explain
select count(1) from orc_llap_small y join orc_llap_small x;
select count(1) from orc_llap_small y join orc_llap_small x;
+-- All row groups selected, no projection
+select count(*) from orc_llap_small;
+
-- All row groups pruned
select count(*) from orc_llap_small where cint < 60000000;
http://git-wip-us.apache.org/repos/asf/hive/blob/469f604d/ql/src/test/results/clientpositive/orc_llap.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/orc_llap.q.out b/ql/src/test/results/clientpositive/orc_llap.q.out
index b71fb6b..79e4635 100644
--- a/ql/src/test/results/clientpositive/orc_llap.q.out
+++ b/ql/src/test/results/clientpositive/orc_llap.q.out
@@ -212,6 +212,17 @@ POSTHOOK: type: QUERY
POSTHOOK: Input: default@orc_llap_small
#### A masked pattern was here ####
225
+PREHOOK: query: -- All row groups selected, no projection
+select count(*) from orc_llap_small
+PREHOOK: type: QUERY
+PREHOOK: Input: default@orc_llap_small
+#### A masked pattern was here ####
+POSTHOOK: query: -- All row groups selected, no projection
+select count(*) from orc_llap_small
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@orc_llap_small
+#### A masked pattern was here ####
+15
PREHOOK: query: -- All row groups pruned
select count(*) from orc_llap_small where cint < 60000000
PREHOOK: type: QUERY