mirror of https://github.com/apache/druid.git
Make errorCode of InsertTimeOutOfBoundsFault consistent with others (#14495)
The errorCode of this fault when serialized over the wire was being set to the name of the class `InsertTimeOutOfBoundsFault` instead of the CODE `InsertTimeOutOfBounds`. All other faults' errorCodes are serialized as the respective Fault's code, so making consistent here as well.
This commit is contained in:
parent
f4ee58eaa8
commit
589aac8b31
|
@ -20,11 +20,13 @@
|
|||
package org.apache.druid.msq.indexing.error;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.fasterxml.jackson.annotation.JsonTypeName;
|
||||
import org.joda.time.Interval;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
@JsonTypeName(InsertTimeOutOfBoundsFault.CODE)
|
||||
public class InsertTimeOutOfBoundsFault extends BaseMSQFault
|
||||
{
|
||||
static final String CODE = "InsertTimeOutOfBounds";
|
||||
|
|
Loading…
Reference in New Issue