prashantwason commented on PR #18086: URL: https://github.com/apache/hudi/pull/18086#issuecomment-4030051946
Fixed the test failure in `testHoodiePipelineBuilderSink(false)`: **Root cause:** Two issues in the keyless write test case: 1. `options.put(FlinkOptions.RECORD_KEY_FIELD.key(), "")` was called after `builder.options(options)`, but `options()` copies the map via `putAll()`, so the builder never received the empty record key setting. 2. The operation was not set to `INSERT`, so `isAppendMode()` returned `false` and the sanity check tried to validate the (missing) record key. **Fix:** - Use `builder.option()` to set `RECORD_KEY_FIELD` directly on the builder - Set `OPERATION` to `INSERT` for keyless writes, which enables append mode and correctly skips record key validation The Azure CI failure was infrastructure-related (Docker process exit). -- 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]
