You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by li...@apache.org on 2021/08/03 02:37:13 UTC

[flink] branch master updated: [FLINK-23567][hive] Fix CNFE when creating hive table with location

This is an automated email from the ASF dual-hosted git repository.

lirui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 48cd889  [FLINK-23567][hive] Fix CNFE when creating hive table with location
48cd889 is described below

commit 48cd889b1de39080ad883da982287faf904bc520
Author: Rui Li <li...@apache.org>
AuthorDate: Mon Aug 2 14:33:33 2021 +0800

    [FLINK-23567][hive] Fix CNFE when creating hive table with location
    
    This closes #16665
---
 .../planner/delegation/hive/parse/HiveParserDDLSemanticAnalyzer.java    | 2 --
 1 file changed, 2 deletions(-)

diff --git a/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/planner/delegation/hive/parse/HiveParserDDLSemanticAnalyzer.java b/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/planner/delegation/hive/parse/HiveParserDDLSemanticAnalyzer.java
index 977ae7c..a8a72ed 100644
--- a/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/planner/delegation/hive/parse/HiveParserDDLSemanticAnalyzer.java
+++ b/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/planner/delegation/hive/parse/HiveParserDDLSemanticAnalyzer.java
@@ -107,7 +107,6 @@ import org.apache.hadoop.hive.metastore.api.SkewedInfo;
 import org.apache.hadoop.hive.ql.ErrorMsg;
 import org.apache.hadoop.hive.ql.exec.FunctionUtils;
 import org.apache.hadoop.hive.ql.metadata.Table;
-import org.apache.hadoop.hive.ql.parse.EximUtil;
 import org.apache.hadoop.hive.ql.parse.SemanticException;
 import org.apache.hadoop.hive.ql.plan.HiveOperation;
 import org.apache.hadoop.hive.ql.plan.PrincipalDesc;
@@ -756,7 +755,6 @@ public class HiveParserDDLSemanticAnalyzer {
                     location =
                             HiveParserBaseSemanticAnalyzer.unescapeSQLString(
                                     child.getChild(0).getText());
-                    location = EximUtil.relativeToAbsolutePath(conf, location);
                     break;
                 case HiveASTParser.TOK_TABLEPROPERTIES:
                     tblProps = getProps((HiveParserASTNode) child.getChild(0));