FrankYang0529 commented on code in PR #68983:
URL: https://github.com/apache/airflow/pull/68983#discussion_r3485556991


##########
java-sdk/processor/src/test/kotlin/org/apache/airflow/sdk/BuilderTest.kt:
##########
@@ -107,7 +108,7 @@ class BuilderTest {
            public static final class T3 implements Task {
              @Override
              public void execute(Context context, Client client) throws 
Exception {
-               var value = (Integer) client.getXCom("t2");
+               var value = ((Number) client.getXCom("t2")).intValue();
                new TestExample().t3(context, value);
              }

Review Comment:
   Added `generateBuilderWidensNumericXCom` for it. Thank you.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to