yuqi1129 commented on code in PR #7629:
URL: https://github.com/apache/gravitino/pull/7629#discussion_r2196346638


##########
trino-connector/trino-connector/src/main/java/org/apache/gravitino/trino/connector/catalog/CatalogRegister.java:
##########
@@ -65,11 +65,9 @@ private void checkTrinoSpiVersion(ConnectorContext context) {
 
     int version = Integer.parseInt(context.getSpiVersion());
     if (version < MIN_SUPPORT_TRINO_SPI_VERSION || version > 
MAX_SUPPORT_TRINO_SPI_VERSION) {
-      String errmsg =
-          String.format(
-              "Unsupported Trino-%s version. The Supported version for the 
Gravitino-Trino-connector from Trino-%d to Trino-%d",
-              trinoVersion, MIN_SUPPORT_TRINO_SPI_VERSION, 
MAX_SUPPORT_TRINO_SPI_VERSION);
-      throw new 
TrinoException(GravitinoErrorCode.GRAVITINO_UNSUPPORTED_TRINO_VERSION, errmsg);
+      LOG.warn(
+          "Incompatible Trino-%s version. The Compatible version for the 
Gravitino-Trino-connector from Trino-%d to Trino-%d",

Review Comment:
   The message can be 'The version %s has not been fully tested with Gravitino, 
there may be compatiablity problem....'



-- 
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]

Reply via email to