presto-main/src/main/java/io/prestosql/connector/system/TaskSystemTable.java/TaskSystemTable/toBytes
class TaskSystemTable:    private static Long toBytes(DataSize dataSize)
    {
        if (dataSize == null) {
            return null;
        }
        return dataSize.toBytes();
    }