HAWQ-1587. Fix metadata parameters handling in PXF

Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/66afff2c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/66afff2c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/66afff2c

Branch: refs/heads/2.3.0.0-incubating
Commit: 66afff2ce3c2e70d6ba7681788794654fa5ca61b
Parents: 3612c9a
Author: shivzone <shivram.m...@gmail.com>
Authored: Tue Feb 13 11:07:08 2018 +1100
Committer: shivzone <shivram.m...@gmail.com>
Committed: Tue Feb 13 11:07:08 2018 +1100

----------------------------------------------------------------------
 .../java/org/apache/hawq/pxf/service/utilities/ProtocolData.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/66afff2c/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/utilities/ProtocolData.java
----------------------------------------------------------------------
diff --git 
a/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/utilities/ProtocolData.java
 
b/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/utilities/ProtocolData.java
index 39926ed..227e987 100644
--- 
a/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/utilities/ProtocolData.java
+++ 
b/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/utilities/ProtocolData.java
@@ -178,7 +178,7 @@ public class ProtocolData extends InputData {
         requestParametersMap = paramsMap;
         profile = profileString;
         setProfilePlugins();
-        metadata = getProperty("METADATA");
+        metadata = getUserProperty("METADATA");
 
         parseSecurityProperties();
     }

Reply via email to