fixed NPE in case of incorrect partitioning name parameter (now you will see the normal log message with error)
(cherry picked from commit f247e96d97dfa136c553f9b359a47f33b2d60acf)
This commit is contained in:
parent
c0514ca3f4
commit
1cda63e74d
@ -66,6 +66,6 @@ public enum NoSqlTsPartitionDate {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Optional.of(partition);
|
return Optional.ofNullable(partition);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user