def METHOD_NAME(self, size: int) -> int:
    """
    Return min partition size to stay above when calculating the number of partitions.
    Redshift documentation suggests to stay above 1MB for data files. Assuming that the CSV
    files can be compressed 1:10 and that sampling will reduce that 1:10, then we have:
        * with sampling: 100MB
        * w/o sampling: 10MB
    """
    if self.use_sampling_with_table(size):
        return 100 * 1024**2
    return 10 * 1024**2