PiotrAndrzejewsky commented on code in PR #14904:
URL: https://github.com/apache/gravitino/pull/14904#discussion_r4618339250


##########
docs/lakehouse-iceberg-catalog.md:
##########
@@ -95,6 +95,21 @@ If you have a JDBC Iceberg catalog prior, you must set 
`catalog-backend-name` to
 :::caution
 Download the corresponding JDBC driver and place it to the 
`catalogs/lakehouse-iceberg/libs` directory If you are using JDBC backend.
 If you are using multiple JDBC catalog backends, setting `jdbc-initialize` to 
true may not take effect for RDMS like `Mysql`, you should create Iceberg meta 
tables explicitly.
+You can initialize the metadata tables using the scripts provided in the 
`${GRAVITINO_HOME}/scripts/` directory:
+
+- MySQL: `${GRAVITINO_HOME}/scripts/mysql/iceberg-jdbc-schema-1.1.0-mysql.sql`

Review Comment:
   @roryqi I followed the naming pattern from 
`iceberg-metrics-schema-1.1.0-<db>.sql` and the regex matching in 
`TestSQLScripts.java`.
   
   I realize now that `1.1.0` was from an earlier Gravitino release and doesn't 
make sense here. 
   
   Should I update it to `2.0.0` to match the current release, or remove the 
version completely (e.g. `iceberg-jdbc-schema-mysql.sql`)? Removing the version 
would require a small adjustment in `TestSQLScripts.java` as well, which I'm 
happy to update.



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