how about the scenario where your table is external and partitioned with files in s3?