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

huor pushed a commit to branch huor
in repository https://gitbox.apache.org/repos/asf/hawq.git


The following commit(s) were added to refs/heads/huor by this push:
     new b341d2a  Remove hdfsprotocol_validate error
b341d2a is described below

commit b341d2a844c7606d8dc590cb422d5b23b5998bd8
Author: Ruilong Huo <[email protected]>
AuthorDate: Thu Mar 14 11:51:13 2019 +0800

    Remove hdfsprotocol_validate error
---
 contrib/exthdfs/exthdfs.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/contrib/exthdfs/exthdfs.c b/contrib/exthdfs/exthdfs.c
index 548d784..70e6510 100644
--- a/contrib/exthdfs/exthdfs.c
+++ b/contrib/exthdfs/exthdfs.c
@@ -251,13 +251,7 @@ Datum hdfsprotocol_validate(PG_FUNCTION_ARGS)
                        }
                }
        }
-       if(1)
-       {
-               ereport(ERROR,
-                                               (errcode(ERRCODE_SYNTAX_ERROR),
-                                                errmsg("hdfsprotocol_validate 
: "
-                                                               "no formatter 
is supported for external hdfs")));
-       }
+
        if (!isCsv && !isText && !isOrc)
        {
                ereport(ERROR,

Reply via email to