SEZ9 opened a new issue, #12533: URL: https://github.com/apache/seatunnel/issues/12533
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened `seatunnel-cli` validates a generated config for unresolved `${ENV_VAR}` placeholders, so that a placeholder never reaches a connector as a literal string. The check decides whether a variable is set with a truthiness test, so a variable that *is* exported but holds an empty value is reported as still needing to be exported: ``` $ export DORIS_PASSWORD= $ seatunnel-cli "write the orders table to Doris" ERROR: Unresolved environment variables: DORIS_PASSWORD. Set them before running: export DORIS_PASSWORD=<value> ``` An empty value is a resolved value, and passwordless accounts are not exotic: - Doris and StarRocks default to `root` with no password - Elasticsearch defaults to no auth So a correct config for any of those endpoints cannot pass validation, and there is no way to satisfy the message — the variable is already exported. The benchmark harness has the matching omission: it exports the docker environment's credentials before validating, but skips the entries whose value is empty, so the Doris and StarRocks benchmark tasks fail on validation rather than on anything the model produced. ### SeaTunnel Version dev ### SeaTunnel Config ```conf sink { Doris { fenodes = "localhost:8030" username = "root" password = "${DORIS_PASSWORD}" database = "test" table = "orders" } } ``` ### Running Command ```shell export DORIS_PASSWORD= python -m benchmark.runner --tasks t1_pg_doris --level l1 --provider bedrock --model <id> ``` ### Error Exception ```log Static validation failed on: parse_success. parse_success: ERROR: Unresolved environment variables: DORIS_PASSWORD. Set them before running: export DORIS_PASSWORD=<value> ``` ### Zeta or Flink or Spark Version Not engine specific — this is CLI-side config validation. ### Java or Scala Version _No response_ ### Screenshots _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
