chovy-3012 opened a new issue, #13254: URL: https://github.com/apache/seatunnel/issues/13254
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue) and found no similar issues. --- ### What happened The Doris **sink** documents the `case_sensitive` option: when set to `false`, table and column names are converted to lowercase. Setting this option on a Doris **source** that reads a single table (via `database` + `table`) has no effect — the configured names are used with their original case, as if the option were not there. Expected: with `case_sensitive = false`, the names are lowercased before being used. Actual: the original mixed-case `database`/`table` values are used verbatim. Reproduce: - Precondition: a Doris cluster whose database/table-name matching is case-sensitive, with a table created in lowercase, e.g. database `testdb`, table `testtable`; SeaTunnel 3.1.0. - Step: run a batch job with the Doris source configured with mixed-case names and `case_sensitive = false`: ```hocon env { parallelism = 1 job.mode = "BATCH" } source { Doris { fenodes = "fe-host:8030" username = "user" password = "pwd" database = "TestDB" table = "TestTable" case_sensitive = false } } sink { Console {} } ``` - Expected: the read succeeds against `testdb.testtable` (the names are lowercased as the option promises). - Actual: the read is attempted against `TestDB.TestTable` and fails, e.g. `errCode = 2, detailMessage = there is no such database or database and table name are case sensitive in Doris`. --- ### SeaTunnel Version 3.1.0 --- ### SeaTunnel Config See the config in the reproduce step above. --- ### Running Command ```bash sh bin/seatunnel.sh --config config/doris-case.conf -e local ``` --- ### Error Exception With a case-sensitive Doris cluster and lowercase table names, the job fails with `there is no such database or database and table name are case sensitive in Doris`. With a case-insensitive cluster or already-lowercase names, the job runs silently with the original case — the option has no observable effect in any setup. --- ### Zeta or Flink or Spark Version Zeta --- ### Java or Scala Version Java 8/11 --- ### Screenshots N/A --- ### 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/code-of-conduct.html) -- 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]
