This is an automated email from the ASF dual-hosted git repository. huor pushed a commit to branch huor_orc in repository https://gitbox.apache.org/repos/asf/hawq.git
commit 7a1358bc8b5549c34c34cdf1426d9654f8f2c7ab Author: Ruilong Huo <[email protected]> AuthorDate: Thu Mar 14 11:51:13 2019 +0800 HAWQ-1679. Remove unnecessary error in hdfsprotocol_validate function --- 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,
