You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2021/04/21 03:21:23 UTC
[flink] branch release-1.13 updated: [FLINK-22372][table-common]
Fix typo of parameter name of LogicalTypeCasts#castTo method
This is an automated email from the ASF dual-hosted git repository.
jark pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.13 by this push:
new a653949 [FLINK-22372][table-common] Fix typo of parameter name of LogicalTypeCasts#castTo method
a653949 is described below
commit a653949c5b118605a59b36722320c2f154fc7eeb
Author: Mulan <wu...@dtstack.com>
AuthorDate: Wed Apr 21 11:19:47 2021 +0800
[FLINK-22372][table-common] Fix typo of parameter name of LogicalTypeCasts#castTo method
This closes #15686
---
.../org/apache/flink/table/types/logical/utils/LogicalTypeCasts.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/logical/utils/LogicalTypeCasts.java b/flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/logical/utils/LogicalTypeCasts.java
index 5b1f65a..8c37f56 100644
--- a/flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/logical/utils/LogicalTypeCasts.java
+++ b/flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/logical/utils/LogicalTypeCasts.java
@@ -358,8 +358,8 @@ public final class LogicalTypeCasts {
return false;
}
- private static CastingRuleBuilder castTo(LogicalTypeRoot sourceType) {
- return new CastingRuleBuilder(sourceType);
+ private static CastingRuleBuilder castTo(LogicalTypeRoot targetType) {
+ return new CastingRuleBuilder(targetType);
}
private static LogicalTypeRoot[] allTypes() {