Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-15658][table-planner-blink] Fix duplicate field names exception when join on the same key multiple times #11011

Merged
merged 2 commits into from
Feb 4, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
minor fix
  • Loading branch information
wuchong committed Feb 4, 2020
commit 38e5a57f0b14176f4117662cb5e2bc151e30e241
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static BaseRowKeySelector getBaseRowSelector(int[] keyFields, BaseRowType
// do not provide field names for the result key type,
// because we may have duplicate key fields and the field names may conflict
RowType returnType = RowType.of(keyFieldTypes);
RowType inputType = RowType.of(inputFieldTypes, rowType.getFieldNames());
RowType inputType = rowType.toRowType();
GeneratedProjection generatedProjection = ProjectionCodeGenerator.generateProjection(
CodeGeneratorContext.apply(new TableConfig()),
"KeyProjection",
Expand Down