I often use the batch mode of dataset.map to process large amounts of data. Since there may be some format problems in the data, some batches may fail in the map (while most batches are OK).
Is there some way to ignore the failed batches and return the successful batches?