an-shi-chi-fan opened a new issue, #8218:
URL: https://github.com/apache/gravitino/issues/8218

   ### Version
   
   0.9.0
   
   ### Describe what's wrong
   
   DISTRIBUTED BY RANDOM BUCKETS AUTO
   PROPERTIES 
   
   if buckets is auto the function
   ```java
   public static Distribution extractDistributionInfoFromSql(String 
createTableSql)
   ```
   will throw exception
   
   
   ### Error message and/or stacktrace
   
   ```java
   
   Failed to operate table(s) [orders] operation [LOAD] under schema [xxxx], 
reason [Cannot parse null string]","stack":["java.lang.NumberFormatException: 
Cannot parse null string","\tat 
java.base/java.lang.Integer.parseInt(Integer.java:630)","\tat 
java.base/java.lang.Integer.valueOf(Integer.java:999)","\tat 
org.apache.gravitino.catalog.doris.utils.DorisUtils.extractDistributionInfoFromSql(DorisUtils.java:208)","\tat
 
org.apache.gravitino.catalog.doris.operation.DorisTableOperations.getDistributionInfo(DorisTableOperations.java:791)","\tat
 
org.apache.gravitino.catalog.jdbc.operation.JdbcTableOperations.load(JdbcTableOperations.java:226)","\tat
 
org.apache.gravitino.catalog.jdbc.JdbcCatalogOperations.loadTable(JdbcCatalogOperations.java:332)","\tat
   ```
   
   ### How to reproduce
   
   support buckets is auto value
   
   ### Additional context
   
   _No response_


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