presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/metadata/ShardDao.java/ShardDao/updateBucketNode
class ShardDao:    @SqlUpdate("UPDATE buckets SET node_id = :nodeId\n" +
            "WHERE distribution_id = :distributionId\n" +
            "  AND bucket_number = :bucketNumber")
    void updateBucketNode(
            @Bind("distributionId") long distributionId,
            @Bind("bucketNumber") int bucketNumber,
            @Bind("nodeId") int nodeId);