This is an automated email from the ASF dual-hosted git repository.
huor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hawq.git
The following commit(s) were added to refs/heads/master by this push:
new a0990cc HAWQ-1731. fix orc table create information bug
a0990cc is described below
commit a0990cca2cb6f4448c6bfbe5cad4aed5423f300d
Author: tuyu <[email protected]>
AuthorDate: Mon Jul 29 16:22:10 2019 +0800
HAWQ-1731. fix orc table create information bug
---
src/backend/tcop/utility.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index bd6e2b6..63ba3af 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -2050,7 +2050,11 @@ CreateCommandTag(Node *parsetree)
break;
case T_CreateExternalStmt:
- tag = "CREATE EXTERNAL TABLE";
+ {
+ CreateExternalStmt *stmt = (CreateExternalStmt *)
parsetree;
+
+ tag = (stmt->isexternal) ? "CREATE EXTERNAL TABLE" :
"CREATE TABLE";
+ }
break;
case T_CreateForeignStmt: