Skip to content

Commit

Permalink
[hotfix][table-planner] Move EnrichedRowData to table-runtime
Browse files Browse the repository at this point in the history
Signed-off-by: slinkydeveloper <[email protected]>

This closes apache#17753.
  • Loading branch information
slinkydeveloper authored and twalthr committed Nov 12, 2021
1 parent d687f65 commit 815bc2a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* limitations under the License.
*/

package org.apache.flink.table.data.utils;
package org.apache.flink.table.filesystem;

import org.apache.flink.annotation.PublicEvolving;
import org.apache.flink.annotation.Internal;
import org.apache.flink.table.data.ArrayData;
import org.apache.flink.table.data.DecimalData;
import org.apache.flink.table.data.MapData;
Expand All @@ -36,7 +36,7 @@
* index mapping, One of the rows is fixed, while the other can be swapped for performant changes in
* hot code paths. The {@link RowKind} is inherited from the mutable row.
*/
@PublicEvolving
@Internal
public class EnrichedRowData implements RowData {

private final RowData fixedRow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import org.apache.flink.table.api.DataTypes;
import org.apache.flink.table.data.GenericRowData;
import org.apache.flink.table.data.RowData;
import org.apache.flink.table.data.utils.EnrichedRowData;
import org.apache.flink.table.runtime.typeutils.InternalTypeInfo;
import org.apache.flink.table.types.DataType;
import org.apache.flink.table.utils.PartitionPathUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
* limitations under the License.
*/

package org.apache.flink.table.data.utils;
package org.apache.flink.table.filesystem;

import org.apache.flink.table.data.GenericRowData;
import org.apache.flink.table.data.RowData;
import org.apache.flink.table.data.utils.JoinedRowData;
import org.apache.flink.types.RowKind;

import org.junit.jupiter.api.Test;
Expand All @@ -33,7 +34,7 @@
public class EnrichedRowDataTest {

@Test
public void testJoinedRows() {
public void testEnrichedRow() {
final List<String> completeRowFields =
Arrays.asList(
"fixedRow1",
Expand Down

0 comments on commit 815bc2a

Please sign in to comment.