You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "an-shi-chi-fan (via GitHub)" <gi...@apache.org> on 2025/08/20 12:04:51 UTC

[I] [Bug report] Doris Bucket Not Number [gravitino]

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: commits-unsubscribe@gravitino.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Doris Bucket Not Number [gravitino]

Posted by "mbaurin (via GitHub)" <gi...@apache.org>.
mbaurin commented on issue #8218:
URL: https://github.com/apache/gravitino/issues/8218#issuecomment-3210707517

   Hey ! Just squashed that annoying Doris bug for you. The whole DISTRIBUTED BY RANDOM BUCKETS AUTO thing was throwing NumberFormatException: Cannot parse null string because of a silly regex issue in the parsing logic


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Doris Bucket Not Number [gravitino]

Posted by "an-shi-chi-fan (via GitHub)" <gi...@apache.org>.
an-shi-chi-fan commented on issue #8218:
URL: https://github.com/apache/gravitino/issues/8218#issuecomment-3241157728

   thanks, which release version will contains this fix 


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Doris Bucket Not Number [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 closed issue #8218: [Bug report] Doris Bucket Not Number
URL: https://github.com/apache/gravitino/issues/8218


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org