Make partitioning optional in external tables