Repository: ambari Updated Branches: refs/heads/branch-2.4 83f275106 -> 829001afd
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/829001af Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/829001af Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/829001af Branch: refs/heads/branch-2.4 Commit: 829001afdbc58b7ce6c261dc0a79d28aadf8bb2d Parents: 83f2751 Author: Matt <[email protected]> Authored: Wed Oct 26 11:30:25 2016 -0700 Committer: Matt <[email protected]> Committed: Wed Oct 26 11:30:25 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/829001af/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
