lincoln lee created FLINK-24666: ----------------------------------- Summary: The lenient option was not exposed to users on RetractableTopNFunction Key: FLINK-24666 URL: https://issues.apache.org/jira/browse/FLINK-24666 Project: Flink Issue Type: Improvement Components: Table SQL / Runtime Affects Versions: 1.13.3, 1.14.0 Reporter: lincoln lee Fix For: 1.15.0
Currently, the lenient option was not exposed to users on RetractableTopNFunction {quote}// flag to skip records with non-exist error instead to fail, true by default. private final boolean lenient = true{quote} We'd better to expose it or completely resolve the inconsistenty problem between the two state: {quote}// a map state stores mapping from sort key to records list private transient MapState<RowData, List<RowData>> dataState; // a sorted map stores mapping from sort key to records count private transient ValueState<SortedMap<RowData, Long>> treeMap{quote} -- This message was sent by Atlassian Jira (v8.3.4#803005)