You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "danhuawang (via GitHub)" <gi...@apache.org> on 2025/08/26 04:00:42 UTC

[I] [Bug report] Failed to load "column_statistics" table in Starrocks catalog [gravitino]

danhuawang opened a new issue, #8277:
URL: https://github.com/apache/gravitino/issues/8277

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   <img width="1026" height="435" alt="Image" src="https://github.com/user-attachments/assets/3ad22cb0-b41c-45d5-907a-ca0a9392f0b2" />
   
   ### Error message and/or stacktrace
   
   ```
   [
     "java.lang.IllegalArgumentException: Unknown data columnType for literal: JdbcTypeBean{typeName='HLL', columnSize='0', scale='0'}",
     "\tat org.apache.gravitino.catalog.starrocks.converter.StarRocksColumnDefaultValueConverter.toGravitino(StarRocksColumnDefaultValueConverter.java:98)",
     "\tat org.apache.gravitino.catalog.jdbc.operation.JdbcTableOperations.getBasicJdbcColumnInfo(JdbcTableOperations.java:605)",
     "\tat org.apache.gravitino.catalog.jdbc.operation.JdbcTableOperations.getColumnBuilder(JdbcTableOperations.java:183)",
     "\tat org.apache.gravitino.catalog.jdbc.operation.JdbcTableOperations.load(JdbcTableOperations.java:208)",
     "\tat org.apache.gravitino.catalog.jdbc.JdbcCatalogOperations.loadTable(JdbcCatalogOperations.java:331)",
     "\tat org.apache.gravitino.catalog.TableOperationDispatcher.lambda$internalLoadTable$21(TableOperationDispatcher.java:464)",
     "\tat org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.lambda$doWithTableOps$1(CatalogManager.java:160)",
     "\tat org.apache.gravitino.utils.IsolatedClassLoader.withClassLoader(IsolatedClassLoader.java:86)",
     "\tat org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.doWithTableOps(CatalogManager.java:155)",
     "\tat org.apache.gravitino.catalog.TableOperationDispatcher.lambda$internalLoadTable$22(TableOperationDispatcher.java:464)",
     "\tat org.apache.gravitino.catalog.OperationDispatcher.doWithCatalog(OperationDispatcher.java:100)",
     "\tat org.apache.gravitino.catalog.TableOperationDispatcher.internalLoadTable(TableOperationDispatcher.java:462)",
     "\tat org.apache.gravitino.catalog.TableOperationDispatcher.lambda$loadTable$3(TableOperationDispatcher.java:116)",
     "\tat org.apache.gravitino.lock.TreeLockUtils.doWithTreeLock(TreeLockUtils.java:49)",
     "\tat org.apache.gravitino.catalog.TableOperationDispatcher.loadTable(TableOperationDispatcher.java:116)",
     "\tat org.apache.gravitino.rel.TableCatalog.tableExists(TableCatalog.java:71)",
     "\tat org.apache.gravitino.hook.TableHookDispatcher.tableExists(TableHookDispatcher.java:142)",
     "\tat org.apache.gravitino.catalog.TableNormalizeDispatcher.tableExists(TableNormalizeDispatcher.java:113)",
     "\tat org.apache.gravitino.listener.TableEventDispatcher.tableExists(TableEventDispatcher.java:199)",
     "\tat org.apache.gravitino.utils.MetadataObjectUtil.checkMetadataObject(MetadataObjectUtil.java:167)",
     "\tat org.apache.gravitino.tag.TagManager.listTagsInfoForMetadataObject(TagManager.java:241)",
     "\tat org.apache.gravitino.listener.TagEventDispatcher.listTagsInfoForMetadataObject(TagEventDispatcher.java:227)",
     "\tat org.apache.gravitino.server.web.rest.MetadataObjectTagOperations.lambda$listTagsForMetadataObject$8(MetadataObjectTagOperations.java:167)",
     "\tat java.base/java.security.AccessController.doPrivileged(AccessController.java:712)",
     "\tat java.base/javax.security.auth.Subject.doAs(Subject.java:439)",
     "\tat org.apache.gravitino.utils.PrincipalUtils.doAs(PrincipalUtils.java:39)",
     "\tat org.apache.gravitino.server.web.Utils.doAs(Utils.java:198)",
     "\tat org.apache.gravitino.server.web.rest.MetadataObjectTagOperations.listTagsForMetadataObject(MetadataObjectTagOperations.java:159)",
     "\tat jdk.internal.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)",
     "\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)",
     "\tat java.base/java.lang.reflect.Method.invoke(Method.java:568)",
     "\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)",
     "\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:146)",
     "\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:189)",
     "\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:176)",
     "\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:93)",
     "\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:478)",
     "\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:400)",
     "\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)",
     "\tat org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:256)",
     "\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)",
     "\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)",
     "\tat org.glassfish.jersey.internal.Errors.process(Errors.java:292)",
     "\tat org.glassfish.jersey.internal.Errors.process(Errors.java:274)",
     "\tat org.glassfish.jersey.internal.Errors.process(Errors.java:244)",
     "\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)",
     "\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:235)",
     "\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)",
     "\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)",
     "\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)",
     "\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:358)",
     "\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:311)",
     "\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)",
     "\tat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)",
     "\tat org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656)",
     "\tat org.apache.gravitino.server.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:86)",
     "\tat org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)",
     "\tat org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)",
     "\tat org.apache.gravitino.server.web.VersioningFilter.doFilter(VersioningFilter.java:111)",
     "\tat org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)",
     "\tat org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)",
     "\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)",
     "\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)",
     "\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)",
     "\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)",
     "\tat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)",
     "\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)",
     "\tat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)",
     "\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)",
     "\tat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)",
     "\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)",
     "\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)",
     "\tat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)",
     "\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)",
     "\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)",
     "\tat org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)",
     "\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)",
     "\tat org.eclipse.jetty.server.Server.handle(Server.java:516)",
     "\tat org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)",
     "\tat org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)",
     "\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)",
     "\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)",
     "\tat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)",
     "\tat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)",
     "\tat org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)",
     "\tat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)",
     "\tat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)",
     "\tat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)",
     "\tat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)",
     "\tat org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)",
     "\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)",
     "\tat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)",
     "\tat java.base/java.lang.Thread.run(Thread.java:833)"
   ]
   ```
   
   ### How to reproduce
   
   1. Helm install starrock in k8s: `helm install starrocks starrocks/kube-starrocks -n starrocks --create-namespace`
   2. Create star rock catalog in gravitino, load the tables in `_statistics_ ` database.
   
   ### 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] Failed to load "column_statistics" table in Starrocks catalog [gravitino]

Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades closed issue #8277: [Bug report] Failed to load "column_statistics" table in Starrocks catalog
URL: https://github.com/apache/gravitino/issues/8277


-- 
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] Failed to load "column_statistics" table in Starrocks catalog [gravitino]

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

   We do not support column type `HLL` for StarRocks now. 


-- 
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] Failed to load "column_statistics" table in Starrocks catalog [gravitino]

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

   It's a bug and will be fixed by https://github.com/apache/gravitino/pull/9041


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