presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/metadata/ShardDao.java/ShardDao/getDistributionSizeBytes
class ShardDao:    @SqlQuery("SELECT SUM(compressed_size)\n" +
            "FROM tables\n" +
            "WHERE distribution_id = :distributionId")
    long getDistributionSizeBytes(@Bind("distributionId") long distributionId);