Merge pull request #5557 from smatvienko-tb/partitioning_incorrect_parameter_npe_fix

Fixed NPE in case of incorrect partitioning name parameter
This commit is contained in:
Igor Kulikov 2021-12-17 12:40:40 +02:00 committed by GitHub
commit aa374fb2ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,6 @@ public enum NoSqlTsPartitionDate {
}
}
}
return Optional.of(partition);
return Optional.ofNullable(partition);
}
}