[jira] [Created] (FLINK-22372) Rename LogicalTypeCasts class variables in the castTo method.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-22372) Rename LogicalTypeCasts class variables in the castTo method.

Shang Yuanchun (Jira)
Wong Mulan created FLINK-22372:
----------------------------------

             Summary: Rename LogicalTypeCasts class variables in the castTo method.
                 Key: FLINK-22372
                 URL: https://issues.apache.org/jira/browse/FLINK-22372
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / Client
    Affects Versions: 1.12.3, 1.13.1
            Reporter: Wong Mulan



{code:java}
    // Old
    private static CastingRuleBuilder castTo(LogicalTypeRoot sourceType) {
        return new CastingRuleBuilder(sourceType);
    }
    // New
    private static CastingRuleBuilder castTo(LogicalTypeRoot targetType) {
        return new CastingRuleBuilder(targetType);
    }
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)