@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        DefaultSerializationSchema<?> that = (DefaultSerializationSchema<?>) o;
        return Objects.equals(ignoreErrors, that.ignoreErrors);
    }
Serialize the data and handle the failure.

<p>Note: Returns null if the message could not be properly serialized.
inlong-sort/sort-formats/format-rowdata/format-rowdata-base/src/main/java/org/apache/inlong/sort/formats/base/DefaultSerializationSchema.java