Skip to content

Commit

Permalink
[FLINK-33861] Implement restore tests for WindowRank node
Browse files Browse the repository at this point in the history
  • Loading branch information
bvarghese1 authored and dawidwys committed Dec 20, 2023
1 parent 6f6ab1e commit aa5766e
Show file tree
Hide file tree
Showing 14 changed files with 4,382 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.apache.flink.table.planner.plan.nodes.exec.stream;

import org.apache.flink.table.planner.plan.nodes.exec.testutils.RestoreTestBase;
import org.apache.flink.table.test.program.TableTestProgram;

import java.util.Arrays;
import java.util.List;

/** Restore tests for {@link StreamExecWindowRank}. */
public class WindowRankRestoreTest extends RestoreTestBase {

public WindowRankRestoreTest() {
super(StreamExecWindowRank.class);
}

@Override
public List<TableTestProgram> programs() {
return Arrays.asList(
WindowRankTestPrograms.WINDOW_RANK_TUMBLE_TVF_MIN_TOP_N,
WindowRankTestPrograms.WINDOW_RANK_TUMBLE_TVF_AGG_MIN_TOP_N,
WindowRankTestPrograms.WINDOW_RANK_TUMBLE_TVF_MAX_TOP_N,
WindowRankTestPrograms.WINDOW_RANK_TUMBLE_TVF_AGG_MAX_TOP_N,
WindowRankTestPrograms.WINDOW_RANK_HOP_TVF_MIN_TOP_N,
WindowRankTestPrograms.WINDOW_RANK_CUMULATE_TVF_MIN_TOP_N);
}
}

Large diffs are not rendered by default.

Loading

0 comments on commit aa5766e

Please sign in to comment.