jiangxt2 opened a new issue, #11590: URL: https://github.com/apache/gravitino/issues/11590
**Version** main branch **Describe the improvement** Gravitino's Doris catalog declares support for Doris 1.2.x, which has been EOL for over two years. The current stable line is 4.0.x (4.0.6 released 2026-06-08), and 3.0.x is still actively maintained. This upgrade brings Gravitino's Doris support in line with what users are actually running in production. **Compatibility testing results** Gravitino 1.2.0 was tested against Doris 3.0.8 and the following incompatibilities were identified (testing performed by @<colleague_github_username>): | # | Issue | Impact | Severity | |---|-------|--------|----------| | 1 | `DorisUtils.extractPartitionInfoFromSql()` regex fails on Doris 3.0+ `SHOW CREATE TABLE` output (space between `LIST`/`RANGE` and `(`) | All partition table operations broken — tables misidentified as non-partitioned | High | | 2 | `DorisTableOperations.appendIndexesSql()` generates `INDEX PRIMARY (id)` syntax invalid in Doris 3.0+ (`PRIMARY` is reserved word) | CREATE TABLE / ALTER TABLE with indexes fails | High | | 3 | `DATE` type disabled in Doris 4.0.x (`disable_datev1=true`), `fromGravitino(DateType)` outputs `"date"` | CREATE TABLE with date columns fails on 4.0.x | High | | 4 | `DATETIMEV2` precision lost — `COLUMN_SIZE`/`DECIMAL_DIGITS` return null in JDBC, `calculateDatetimePrecision()` returns 0 | `datetimev2(3)` read back as `datetime(0)` | Medium | | 5 | Auto Increment blocked — `validateIncrementCol()` hard-throws for all cases | Cannot create tables with auto-increment columns (Doris 2.1+ feature) | Medium | **Proposed tasks** - [ ] Fix partition regex for Doris 3.0+ SHOW CREATE TABLE format (#1 above) - [ ] Fix INDEX syntax for Doris 3.0+ compatibility (#2) - [ ] Fix `date` → `datev2` and DATETIME precision for 4.0.x (#3, #4) - [ ] Enable Auto Increment support (#5) - [ ] Update Docker test baseline from 1.2.7.1 to 4.0.x - [ ] Documentation update Each task will be a separate PR, self-contained for easier review. **Additional context** - Related: #3913 (Support multi-version Doris in Docker Image), #6900 (EPIC: Refactor Doris IT container) -- 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]
