Bugfix: not all external tables are partitioned