This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 235d54286 [Minor] fix(CI): Fix CI pipeline configuration error. (#4612)
235d54286 is described below
commit 235d542865c50d7c89d0c599388f71b3b12aa282
Author: Qi Yu <[email protected]>
AuthorDate: Wed Aug 21 19:12:38 2024 +0800
[Minor] fix(CI): Fix CI pipeline configuration error. (#4612)
### What changes were proposed in this pull request?
Fix the backend type configuration.
### Why are the changes needed?
The configuration for the backend type is incorrect.
### Does this PR introduce _any_ user-facing change?
N/A.
### How was this patch tested?
CI
---
.github/workflows/backend-integration-test.yml | 8 ++++----
.../apache/gravitino/storage/relational/mapper/TagMetaMapper.java | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/backend-integration-test.yml
b/.github/workflows/backend-integration-test.yml
index 46091e80b..3be304bb4 100644
--- a/.github/workflows/backend-integration-test.yml
+++ b/.github/workflows/backend-integration-test.yml
@@ -95,10 +95,10 @@ jobs:
run: |
dev/ci/util_free_space.sh
- - name: Backend Integration Test
+ - name: Backend Integration Test(JDK${{ matrix.java-version }}-${{
matrix.test-mode }}-${{ matrix.backend }})
id: integrationTest
run: >
- ./gradlew test -PskipTests -PtestMode=${{ matrix.test-mode }}
-PjdkVersion=${{ matrix.java-version }} -P${{ matrix.backend }} -PskipWebITs
-PskipDockerTests=false
+ ./gradlew test -PskipTests -PtestMode=${{ matrix.test-mode }}
-PjdkVersion=${{ matrix.java-version }} -PjdbcBackend=${{ matrix.backend }}
-PskipWebITs -PskipDockerTests=false
-x :web:test -x :clients:client-python:test -x :flink-connector:test
-x :spark-connector:test -x :spark-connector:spark-common:test
-x :spark-connector:spark-3.3:test -x
:spark-connector:spark-3.4:test -x :spark-connector:spark-3.5:test
-x :spark-connector:spark-runtime-3.3:test -x
:spark-connector:spark-runtime-3.4:test -x
:spark-connector:spark-runtime-3.5:test
@@ -164,10 +164,10 @@ jobs:
run: |
dev/ci/util_free_space.sh
- - name: Backend Integration Test
+ - name: Backend Integration Test(JDK${{ matrix.java-version }}-${{
matrix.test-mode }}-${{ matrix.backend }})
id: integrationTest
run: >
- ./gradlew test -PskipTests -PtestMode=${{ matrix.test-mode }}
-PjdkVersion=${{ matrix.java-version }} -P${{ matrix.backend }} -PskipWebITs
-PskipDockerTests=false
+ ./gradlew test -PskipTests -PtestMode=${{ matrix.test-mode }}
-PjdkVersion=${{ matrix.java-version }} -PjdbcBackend=${{ matrix.backend }}
-PskipWebITs -PskipDockerTests=false
-x :web:test -x :clients:client-python:test -x :flink-connector:test
-x :spark-connector:test -x :spark-connector:spark-common:test
-x :spark-connector:spark-3.3:test -x
:spark-connector:spark-3.4:test -x :spark-connector:spark-3.5:test
-x :spark-connector:spark-runtime-3.3:test -x
:spark-connector:spark-runtime-3.4:test -x
:spark-connector:spark-runtime-3.5:test
diff --git
a/core/src/main/java/org/apache/gravitino/storage/relational/mapper/TagMetaMapper.java
b/core/src/main/java/org/apache/gravitino/storage/relational/mapper/TagMetaMapper.java
index 93bf0b5f6..ad8afcfa3 100644
---
a/core/src/main/java/org/apache/gravitino/storage/relational/mapper/TagMetaMapper.java
+++
b/core/src/main/java/org/apache/gravitino/storage/relational/mapper/TagMetaMapper.java
@@ -167,7 +167,7 @@ public interface TagMetaMapper {
+ " AND audit_info = #{oldTagMeta.auditInfo}"
+ " AND current_version = #{oldTagMeta.currentVersion}"
+ " AND last_version = #{oldTagMeta.lastVersion}"
- + "AND deleted_at = 0")
+ + " AND deleted_at = 0")
Integer updateTagMeta(@Param("newTagMeta") TagPO newTagPO,
@Param("oldTagMeta") TagPO oldTagPO);
@Update(