aaron-y-chen commented on code in PR #74674:
URL: https://github.com/apache/airflow/pull/74674#discussion_r4372498610


##########
go-sdk/pkg/execution/task_runner.go:
##########
@@ -125,6 +133,58 @@ func RunTask(
        return executeTask(ctx, task, args, details.TIContext.ShouldRetry, 
logger)
 }
 
+func normalizeDagRunConf(conf map[string]any) map[string]any {
+       if conf == nil {
+               return nil
+       }
+       normalized := make(map[string]any, len(conf))
+       for key, value := range conf {
+               normalized[key] = normalizeDagRunConfValue(value)
+       }
+       return normalized
+}
+
+func normalizeDagRunConfValue(value any) any {

Review Comment:
   I did a survey, and normalization lives in the msgpack decode layer in the 
Java SDK, so I think we can follow it. 
   
   However, it would change the integer types returned by `GetXCom` and 
`TaskStateStore().Get`, so maybe it can be left to a follow-up PR?



-- 
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