Skip to content

fix: use OpenGauss profile and dialect in docker-compose E2E storage - #6449

Merged
dengliming merged 5 commits into
apache:masterfrom
lll-peanut:fix/opengauss-compose-profile
Jul 30, 2026
Merged

fix: use OpenGauss profile and dialect in docker-compose E2E storage#6449
dengliming merged 5 commits into
apache:masterfrom
lll-peanut:fix/opengauss-compose-profile

Conversation

@lll-peanut

Copy link
Copy Markdown
Contributor

shenyu-storage-opengauss.yml incorrectly used SPRING_PROFILES_ACTIVE=mysql
and shenyu.database.dialect=mysql while connecting to an OpenGauss database
(jdbc:opengauss://). This caused the OpenGauss-specific MyBatis SQL
interceptors (backtick-to-double-quote rewriting, dateUpdated auto-fill,
boolean type handler) to not be registered, making MySQL-style SQL with
backticks get sent to OpenGauss unmodified.

Changed to SPRING_PROFILES_ACTIVE=og and shenyu.database.dialect=opengauss,
consistent with application-og.yml and the Kubernetes OpenGauss E2E
deployment manifests.

fix : #6443
Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

lll-peanut and others added 2 commits July 24, 2026 21:59
  shenyu-storage-opengauss.yml incorrectly used SPRING_PROFILES_ACTIVE=mysql
  and shenyu.database.dialect=mysql while connecting to an OpenGauss database
  (jdbc:opengauss://). This caused the OpenGauss-specific MyBatis SQL
  interceptors (backtick-to-double-quote rewriting, dateUpdated auto-fill,
  boolean type handler) to not be registered, making MySQL-style SQL with
  backticks get sent to OpenGauss unmodified.

  Changed to SPRING_PROFILES_ACTIVE=og and shenyu.database.dialect=opengauss,
  consistent with application-og.yml and the Kubernetes OpenGauss E2E
  deployment manifests.
@dengliming
dengliming merged commit d16d929 into apache:master Jul 30, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] OpenGauss E2E compose uses MySQL profile and dialect

3 participants