You may encounter either of the following errors reported by Greenplum Database (GPDB):
ERROR: there are more external files (URLs) than primary segments that can read themor
ERROR: There are more external files than primary segment databases on host my_host_01
CREATE EXTERNAL TABLE ext_tab01 ( a int, b int) LOCATION ( 'gpfdist://etl01:8080/data.csv', 'gpfdist://etl01:8081/data.csv', 'gpfdist://etl02:8080/data.csv', 'gpfdist://etl02:8081/data.csv', 'gpfdist://etl03:8080/data.csv', 'gpfdist://etl03:8081/data.csv' ) FORMAT 'CSV';
This is functioning as designed. To avoid an error do either of the following: