Github user huor commented on a diff in the pull request: https://github.com/apache/incubator-hawq/pull/1384#discussion_r208435255 --- Diff: src/backend/commands/analyze.c --- @@ -442,6 +455,17 @@ void analyzeStmt(VacuumStmt *stmt, List *relids, int preferred_seg_num) "Please run ANALYZE on the root partition table.", get_rel_name(relationOid)))); } + else if (!isExternalHDFSORMAGMAProtocol(relationOid)) + { + /* + * Support analyze for external table. + * For now, HDFS protocol external table is supported. + */ + ereport(WARNING, + (errmsg("skipping \"%s\" --- cannot analyze external table with non-HDFS or non-MAGMA protocol. " --- End diff -- No "Magma"
---