Repository: ambari Updated Branches: refs/heads/branch-2.5 bb1b7819e -> 6ee7f9fde
AMBARI-18695: Add PXF Hive ORC Profile (mithmatt) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6ee7f9fd Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6ee7f9fd Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6ee7f9fd Branch: refs/heads/branch-2.5 Commit: 6ee7f9fdec5dea8ad4a5badeb423a290c8e78f7e Parents: bb1b781 Author: Matt <[email protected]> Authored: Wed Oct 26 11:29:54 2016 -0700 Committer: Matt <[email protected]> Committed: Wed Oct 26 11:29:54 2016 -0700 ---------------------------------------------------------------------- .../PXF/3.0.0/configuration/pxf-profiles.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6ee7f9fd/ambari-server/src/main/resources/common-services/PXF/3.0.0/configuration/pxf-profiles.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/PXF/3.0.0/configuration/pxf-profiles.xml b/ambari-server/src/main/resources/common-services/PXF/3.0.0/configuration/pxf-profiles.xml index 3c2aac0..77aa4fc 100644 --- a/ambari-server/src/main/resources/common-services/PXF/3.0.0/configuration/pxf-profiles.xml +++ b/ambari-server/src/main/resources/common-services/PXF/3.0.0/configuration/pxf-profiles.xml @@ -107,6 +107,20 @@ under the License. </plugins> </profile> <profile> + <name>HiveORC</name> + <description>This profile is suitable only for Hive tables stored in ORC files + and serialized with either the ColumnarSerDe or the LazyBinaryColumnarSerDe. + It is much faster than the general purpose Hive profile. + DELIMITER parameter is mandatory. + </description> + <plugins> + <fragmenter>org.apache.hawq.pxf.plugins.hive.HiveInputFormatFragmenter</fragmenter> + <accessor>org.apache.hawq.pxf.plugins.hive.HiveORCAccessor</accessor> + <resolver>org.apache.hawq.pxf.plugins.hive.HiveORCSerdeResolver</resolver> + <metadata>org.apache.hawq.pxf.plugins.hive.HiveMetadataFetcher</metadata> + </plugins> + </profile> + <profile> <name>HdfsTextSimple</name> <description>This profile is suitable for using when reading delimited single line records from plain text files on HDFS
