public void open(FunctionContext context) throws Exception {
        super.open(context);
        formatters = new HashMap<>();
    }
Round timestamp and output formatted timestamp.
inlong-sort/sort-core/src/main/java/org/apache/inlong/sort/function/RoundTimestampFunction.java