You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "justinmclean (via GitHub)" <gi...@apache.org> on 2025/08/11 05:00:09 UTC
[I] [Improvement] Fix bucket count parsing in DorisUtils [gravitino]
justinmclean opened a new issue, #8006:
URL: https://github.com/apache/gravitino/issues/8006
### What would you like to be improved?
There are some issues with parsing the bucket count in catalogs/catalog-jdbc-doris/src/main/java/org/apache/gravitino/catalog/doris/utils/DorisUtils.java
You can see this by running this test:
```
@Test
public void testExtractBucketNumFromSql() {
String createTableSql =
"CREATE TABLE `testTable` (\n`col1` int NOT NULL\n) ENGINE=OLAP\n DISTRIBUTED BY HASH(`col1`) BUCKETS 8";
Distribution distribution = DorisUtils.extractDistributionInfoFromSql(createTableSql);
assertEquals(8, distribution.number());
String createTableSqlWithoutBucket =
"CREATE TABLE `testTable` (\n`col1` int NOT NULL\n) ENGINE=OLAP\n DISTRIBUTED BY HASH(`col1`)";
Distribution distributionDefault =
DorisUtils.extractDistributionInfoFromSql(createTableSqlWithoutBucket);
assertEquals(1, distributionDefault.number());
}
```
### How should we improve?
Fix the code so the test passes.
--
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] [Improvement] Fix bucket count parsing in DorisUtils [gravitino]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on issue #8006:
URL: https://github.com/apache/gravitino/issues/8006#issuecomment-3994913928
this has been fixed
--
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] [Improvement] Fix bucket count parsing in DorisUtils [gravitino]
Posted by "saumyapandey1998 (via GitHub)" <gi...@apache.org>.
saumyapandey1998 commented on issue #8006:
URL: https://github.com/apache/gravitino/issues/8006#issuecomment-3175709497
Hi @justinmclean! I would like to work on this issue
--
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] [Improvement] Fix bucket count parsing in DorisUtils [gravitino]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on issue #8006:
URL: https://github.com/apache/gravitino/issues/8006#issuecomment-3213007968
Hi @saumyapandey1998, sorry I must have missed you asking to work on this, sure, go ahead.
--
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] [Improvement] Fix bucket count parsing in DorisUtils [gravitino]
Posted by "saumyapandey1998 (via GitHub)" <gi...@apache.org>.
saumyapandey1998 commented on issue #8006:
URL: https://github.com/apache/gravitino/issues/8006#issuecomment-3348325968
Hi @pandeysambhi ! Please go ahead, uni course load got the best of me :(
--
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] [Improvement] Fix bucket count parsing in DorisUtils [gravitino]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean closed issue #8006: [Improvement] Fix bucket count parsing in DorisUtils
URL: https://github.com/apache/gravitino/issues/8006
--
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] [Improvement] Fix bucket count parsing in DorisUtils [gravitino]
Posted by "pandeysambhi (via GitHub)" <gi...@apache.org>.
pandeysambhi commented on issue #8006:
URL: https://github.com/apache/gravitino/issues/8006#issuecomment-3348234316
@justinmclean This seems to be abandoned ! should I go ahead and make the changes ?
--
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] [Improvement] Fix bucket count parsing in DorisUtils [gravitino]
Posted by "saumyapandey1998 (via GitHub)" <gi...@apache.org>.
saumyapandey1998 commented on issue #8006:
URL: https://github.com/apache/gravitino/issues/8006#issuecomment-3240416149
Thank you @justinmclean ! I will start working on this
--
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