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

   ### What would you like to be improved?
   
   Confirm if the user can create table with the date type map in lance rest 
service
   
   ```
   
http://192.168.194.170:9101/lance/v1/table/lance_catalog_dt%24lance_datatype_schema_16%24lance_datatype_table_163/create?mode=create
   
   Status code: 500
   
   Content Type: null
   
   Request Headers
   Accept=application/json, application/javascript, text/javascript, text/json
   Authorization=Basic YW5vbnltb3VzOnRlc3Q=
   x-lance-table-location=/tmp/lance-test/tables/lance_datatype_table_163
   x-lance-table-properties={}
   Content-Type=application/vnd.apache.arrow.stream; charset=UTF-8
   Content Body
   [-1, -1, -1, -1, 120, 1, 0, 0, 16, 0, 0, 0, 0, 0, 10, 0, 14, 0, 6, 0, 13, 0, 
8, 0, 10, 0, 0, 0, 0, 0, 4, 0, 16, 0, 0, 0, 0, 1, 10, 0, 12, 0, 0, 0, 8, 0, 4, 
0, 10, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 4, 
0, 0, 0, 26, -1, -1, -1, 20, 0, 0, 0, 20, 0, 0, 0, -56, 0, 0, 0, 0, 0, 17, 1, 
-60, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 4, 0, 0, 0, -94, -1, -1, -1, 20, 0, 0, 0, 
20, 0, 0, 0, -112, 0, 0, 0, 0, 0, 0, 13, -116, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 
80, 0, 0, 0, 4, 0, 0, 0, 102, -1, -1, -1, 20, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 
0, 0, 0, 2, 1, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84, -1, -1, -1, 0, 0, 0, 1, 
32, 0, 0, 0, 5, 0, 0, 0, 118, 97, 108, 117, 101, 0, 18, 0, 24, 0, 20, 0, 0, 0, 
19, 0, 12, 0, 0, 0, 8, 0, 4, 0, 18, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 20, 0, 
0, 0, 0, 0, 0, 5, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -28, -1, -1, -1, 3, 0, 
0, 0, 107, 101, 121, 0, -16, -1, -1, -1, 7, 0, 0, 0, 101, 110, 116, 114, 105, 
101, 115, 0, 4, 0, 4, 0, 4, 0, 0, 0, 9, 0, 0, 0, 10
 9, 97, 112, 95, 102, 105, 101, 108, 100, 0, 18, 0, 24, 0, 20, 0, 19, 0, 18, 0, 
12, 0, 0, 0, 8, 0, 4, 0, 18, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 28, 0, 0, 0, 0, 
0, 2, 1, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 12, 0, 8, 0, 7, 0, 8, 0, 0, 
0, 0, 0, 0, 1, 32, 0, 0, 0, 2, 0, 0, 0, 105, 100, 0, 0, -1, -1, -1, -1, 72, 1, 
0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 12, 0, 22, 0, 14, 0, 21, 0, 16, 0, 4, 0, 12, 0, 
0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 16, 0, 0, 0, 0, 3, 10, 0, 24, 0, 12, 
0, 8, 0, 4, 0, 10, 0, 0, 0, 20, 0, 0, 0, -72, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 8, 0, 
0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 
0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 5, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 
0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 3, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, -1, -1, -1, -1, 0, 0, 0, 0]
   Response Headers
   Server: Jetty(9.4.51.v20230217)
   Transfer-Encoding: chunked
   Date: Mon, 15 Dec 2025 11:50:41 GMT
   Content-Type: application/json
   Response Body
   {
       "error": "Failed to operate object [lance_datatype_table_163] operation 
[CREATE] under [lance_datatype_schema_16], reason [Failed to create Lance 
dataset at location 
/tmp/lance-test/tables/lance_datatype_table_163/]\njava.lang.RuntimeException: 
Failed to create Lance dataset at location 
/tmp/lance-test/tables/lance_datatype_table_163/\n\tat 
org.apache.gravitino.catalog.lakehouse.lance.LanceTableOperations.createTableInternal(LanceTableOperations.java:291)\n\tat
 
org.apache.gravitino.catalog.lakehouse.lance.LanceTableOperations.createTable(LanceTableOperations.java:146)\n\tat
 
org.apache.gravitino.catalog.lakehouse.generic.GenericCatalogOperations.createTable(GenericCatalogOperations.java:252)\n\tat
 
org.apache.gravitino.catalog.TableOperationDispatcher.lambda$internalCreateTable$25(TableOperationDispatcher.java:599)\n\tat
 
org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.lambda$doWithTableOps$1(CatalogManager.java:160)\n\tat
 org.apache.gravitino.utils.IsolatedClassLoader
 .withClassLoader(IsolatedClassLoader.java:86)\n\tat 
org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.doWithTableOps(CatalogManager.java:155)\n\tat
 
org.apache.gravitino.catalog.TableOperationDispatcher.lambda$internalCreateTable$26(TableOperationDispatcher.java:597)\n\tat
 
org.apache.gravitino.catalog.OperationDispatcher.doWithCatalog(OperationDispatcher.java:121)\n\tat
 
org.apache.gravitino.catalog.TableOperationDispatcher.internalCreateTable(TableOperationDispatcher.java:594)\n\tat
 
org.apache.gravitino.catalog.TableOperationDispatcher.lambda$createTable$5(TableOperationDispatcher.java:177)\n\tat
 
org.apache.gravitino.lock.TreeLockUtils.doWithTreeLock(TreeLockUtils.java:49)\n\tat
 
org.apache.gravitino.catalog.TableOperationDispatcher.createTable(TableOperationDispatcher.java:173)\n\tat
 
org.apache.gravitino.hook.TableHookDispatcher.createTable(TableHookDispatcher.java:78)\n\tat
 
org.apache.gravitino.catalog.TableNormalizeDispatcher.createTable(TableNormalizeDispatcher.java:78)\n
 \tat 
org.apache.gravitino.listener.TableEventDispatcher.createTable(TableEventDispatcher.java:136)\n\tat
 
org.apache.gravitino.server.web.rest.TableOperations.lambda$createTable$1(TableOperations.java:141)\n\tat
 
java.base/java.security.AccessController.doPrivileged(AccessController.java:712)\n\tat
 java.base/javax.security.auth.Subject.doAs(Subject.java:439)\n\tat 
org.apache.gravitino.utils.PrincipalUtils.doAs(PrincipalUtils.java:44)\n\tat 
org.apache.gravitino.server.web.Utils.doAs(Utils.java:202)\n\tat 
org.apache.gravitino.server.web.rest.TableOperations.createTable(TableOperations.java:133)\n\tat
 
org.apache.gravitino.server.web.rest.TableOperations_$$_jvst4d8_b._d3createTable(TableOperations_$$_jvst4d8_b.java)\n\tat
 jdk.internal.reflect.GeneratedMethodAccessor353.invoke(Unknown Source)\n\tat 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
 java.base/java.lang.reflect.Method.invoke(Method.java:569)\n\tat 
org.glassfish.hk2.
 utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1268)\n\tat 
org.jvnet.hk2.internal.MethodInterceptorHandler$MethodInvocationImpl.proceed(MethodInterceptorHandler.java:164)\n\tat
 
org.apache.gravitino.server.web.filter.GravitinoInterceptionService$MetadataAuthorizationMethodInterceptor.invoke(GravitinoInterceptionService.java:204)\n\tat
 
org.jvnet.hk2.internal.MethodInterceptorHandler.invoke(MethodInterceptorHandler.java:97)\n\tat
 
org.apache.gravitino.server.web.rest.TableOperations_$$_jvst4d8_b.createTable(TableOperations_$$_jvst4d8_b.java)\n\tat
 jdk.internal.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)\n\tat 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
 java.base/java.lang.reflect.Method.invoke(Method.java:569)\n\tat 
org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)\n\tat
 org.glassfish.jersey.s
 
erver.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:146)\n\tat
 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:189)\n\tat
 
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:176)\n\tat
 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:93)\n\tat
 
org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:478)\n\tat
 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:400)\n\tat
 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)\n\tat
 org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:256)\n\tat 
org.glassfish.jersey.internal.Errors$1.call(Errors.java:24
 8)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)\n\tat 
org.glassfish.jersey.internal.Errors.process(Errors.java:292)\n\tat 
org.glassfish.jersey.internal.Errors.process(Errors.java:274)\n\tat 
org.glassfish.jersey.internal.Errors.process(Errors.java:244)\n\tat 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)\n\tat
 
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:235)\n\tat 
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)\n\tat
 
org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)\n\tat
 org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)\n\tat 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:358)\n\tat
 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:311)\n\tat
 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)\n\tat
 org.eclipse.jetty.servlet.ServletH
 older.handle(ServletHolder.java:799)\n\tat 
org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656)\n\tat
 
org.apache.gravitino.server.authentication.AuthenticationFilter.lambda$doFilter$0(AuthenticationFilter.java:89)\n\tat
 
java.base/java.security.AccessController.doPrivileged(AccessController.java:712)\n\tat
 java.base/javax.security.auth.Subject.doAs(Subject.java:439)\n\tat 
org.apache.gravitino.utils.PrincipalUtils.doAs(PrincipalUtils.java:44)\n\tat 
org.apache.gravitino.server.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:86)\n\tat
 org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)\n\tat 
org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)\n\tat
 
org.apache.gravitino.server.web.VersioningFilter.doFilter(VersioningFilter.java:111)\n\tat
 org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)\n\tat 
org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.j
 ava:1626)\n\tat 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat
 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)\n\tat
 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)\n\tat
 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)\n\tat
 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)\n\tat
 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)\n\tat 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)\n\tat
 org.eclipse.jetty.server.handler.Scoped
 Handler.nextScope(ScopedHandler.java:186)\n\tat 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat
 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)\n\tat
 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)\n\tat
 org.eclipse.jetty.server.Server.handle(Server.java:516)\n\tat 
org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)\n\tat
 org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)\n\tat 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)\n\tat 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)\n\tat
 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)\n\tat
 org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)\n\tat 
org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint
 .java:104)\n\tat 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)\n\tat
 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)\n\tat
 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)\n\tat
 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)\n\tat
 
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)\n\tat
 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)\n\tat
 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)\n\tat
 java.base/java.lang.Thread.run(Thread.java:840)\nCaused by: 
java.lang.RuntimeException: LanceError(Schema): Unsupported data type: 
Map(Field { name: \"entries\", data_type: Struct([Field { name: \"key\", 
data_type: Utf8, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: 
{} }, Field { name: \"value\", da
 ta_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: 
{} }]), nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }, 
false), /workspace/rust/lance-core/src/datatypes.rs:174:31\n\tat 
com.lancedb.lance.Dataset.createWithFfiSchema(Native Method)\n\tat 
com.lancedb.lance.Dataset.create(Dataset.java:93)\n\tat 
org.apache.gravitino.catalog.lakehouse.lance.LanceTableOperations.createTableInternal(LanceTableOperations.java:268)\n\t...
 99 more",
       "code": 500,
       "type": "RuntimeException",
       "detail": "java.lang.RuntimeException: Failed to operate object 
[lance_datatype_table_163] operation [CREATE] under [lance_datatype_schema_16], 
reason [Failed to create Lance dataset at location 
/tmp/lance-test/tables/lance_datatype_table_163/]\njava.lang.RuntimeException: 
Failed to create Lance dataset at location 
/tmp/lance-test/tables/lance_datatype_table_163/\n\tat 
org.apache.gravitino.catalog.lakehouse.lance.LanceTableOperations.createTableInternal(LanceTableOperations.java:291)\n\tat
 
org.apache.gravitino.catalog.lakehouse.lance.LanceTableOperations.createTable(LanceTableOperations.java:146)\n\tat
 
org.apache.gravitino.catalog.lakehouse.generic.GenericCatalogOperations.createTable(GenericCatalogOperations.java:252)\n\tat
 
org.apache.gravitino.catalog.TableOperationDispatcher.lambda$internalCreateTable$25(TableOperationDispatcher.java:599)\n\tat
 
org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.lambda$doWithTableOps$1(CatalogManager.java:160)\n\tat
 org.apache.gravit
 
ino.utils.IsolatedClassLoader.withClassLoader(IsolatedClassLoader.java:86)\n\tat
 
org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.doWithTableOps(CatalogManager.java:155)\n\tat
 
org.apache.gravitino.catalog.TableOperationDispatcher.lambda$internalCreateTable$26(TableOperationDispatcher.java:597)\n\tat
 
org.apache.gravitino.catalog.OperationDispatcher.doWithCatalog(OperationDispatcher.java:121)\n\tat
 
org.apache.gravitino.catalog.TableOperationDispatcher.internalCreateTable(TableOperationDispatcher.java:594)\n\tat
 
org.apache.gravitino.catalog.TableOperationDispatcher.lambda$createTable$5(TableOperationDispatcher.java:177)\n\tat
 
org.apache.gravitino.lock.TreeLockUtils.doWithTreeLock(TreeLockUtils.java:49)\n\tat
 
org.apache.gravitino.catalog.TableOperationDispatcher.createTable(TableOperationDispatcher.java:173)\n\tat
 
org.apache.gravitino.hook.TableHookDispatcher.createTable(TableHookDispatcher.java:78)\n\tat
 org.apache.gravitino.catalog.TableNormalizeDispatcher.createTable(TableN
 ormalizeDispatcher.java:78)\n\tat 
org.apache.gravitino.listener.TableEventDispatcher.createTable(TableEventDispatcher.java:136)\n\tat
 
org.apache.gravitino.server.web.rest.TableOperations.lambda$createTable$1(TableOperations.java:141)\n\tat
 
java.base/java.security.AccessController.doPrivileged(AccessController.java:712)\n\tat
 java.base/javax.security.auth.Subject.doAs(Subject.java:439)\n\tat 
org.apache.gravitino.utils.PrincipalUtils.doAs(PrincipalUtils.java:44)\n\tat 
org.apache.gravitino.server.web.Utils.doAs(Utils.java:202)\n\tat 
org.apache.gravitino.server.web.rest.TableOperations.createTable(TableOperations.java:133)\n\tat
 
org.apache.gravitino.server.web.rest.TableOperations_$$_jvst4d8_b._d3createTable(TableOperations_$$_jvst4d8_b.java)\n\tat
 jdk.internal.reflect.GeneratedMethodAccessor353.invoke(Unknown Source)\n\tat 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
 java.base/java.lang.reflect.Method.invoke(Method.java:
 569)\n\tat 
org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1268)\n\tat
 
org.jvnet.hk2.internal.MethodInterceptorHandler$MethodInvocationImpl.proceed(MethodInterceptorHandler.java:164)\n\tat
 
org.apache.gravitino.server.web.filter.GravitinoInterceptionService$MetadataAuthorizationMethodInterceptor.invoke(GravitinoInterceptionService.java:204)\n\tat
 
org.jvnet.hk2.internal.MethodInterceptorHandler.invoke(MethodInterceptorHandler.java:97)\n\tat
 
org.apache.gravitino.server.web.rest.TableOperations_$$_jvst4d8_b.createTable(TableOperations_$$_jvst4d8_b.java)\n\tat
 jdk.internal.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)\n\tat 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
 java.base/java.lang.reflect.Method.invoke(Method.java:569)\n\tat 
org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
 \n\tat 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:146)\n\tat
 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:189)\n\tat
 
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:176)\n\tat
 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:93)\n\tat
 
org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:478)\n\tat
 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:400)\n\tat
 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)\n\tat
 org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:256)\n\tat 
org.glassfish.jersey.internal
 .Errors$1.call(Errors.java:248)\n\tat 
org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)\n\tat 
org.glassfish.jersey.internal.Errors.process(Errors.java:292)\n\tat 
org.glassfish.jersey.internal.Errors.process(Errors.java:274)\n\tat 
org.glassfish.jersey.internal.Errors.process(Errors.java:244)\n\tat 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)\n\tat
 
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:235)\n\tat 
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)\n\tat
 
org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)\n\tat
 org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)\n\tat 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:358)\n\tat
 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:311)\n\tat
 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)\n\tat
 org.e
 clipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)\n\tat 
org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656)\n\tat
 
org.apache.gravitino.server.authentication.AuthenticationFilter.lambda$doFilter$0(AuthenticationFilter.java:89)\n\tat
 
java.base/java.security.AccessController.doPrivileged(AccessController.java:712)\n\tat
 java.base/javax.security.auth.Subject.doAs(Subject.java:439)\n\tat 
org.apache.gravitino.utils.PrincipalUtils.doAs(PrincipalUtils.java:44)\n\tat 
org.apache.gravitino.server.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:86)\n\tat
 org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)\n\tat 
org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)\n\tat
 
org.apache.gravitino.server.web.VersioningFilter.doFilter(VersioningFilter.java:111)\n\tat
 org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)\n\tat 
org.eclipse.jetty.servlet.ServletHandler$Ch
 ain.doFilter(ServletHandler.java:1626)\n\tat 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat
 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)\n\tat
 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)\n\tat
 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)\n\tat
 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)\n\tat
 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)\n\tat 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)\n\tat
 org.eclips
 e.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)\n\tat 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat
 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)\n\tat
 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)\n\tat
 org.eclipse.jetty.server.Server.handle(Server.java:516)\n\tat 
org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)\n\tat
 org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)\n\tat 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)\n\tat 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)\n\tat
 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)\n\tat
 org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)\n\tat 
org.eclipse.jetty.io.ChannelE
 ndPoint$1.run(ChannelEndPoint.java:104)\n\tat 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)\n\tat
 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)\n\tat
 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)\n\tat
 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)\n\tat
 
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)\n\tat
 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)\n\tat
 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)\n\tat
 java.base/java.lang.Thread.run(Thread.java:840)\nCaused by: 
java.lang.RuntimeException: LanceError(Schema): Unsupported data type: 
Map(Field { name: \"entries\", data_type: Struct([Field { name: \"key\", 
data_type: Utf8, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: 
{} }
 , Field { name: \"value\", data_type: Int32, nullable: true, dict_id: 0, 
dict_is_ordered: false, metadata: {} }]), nullable: false, dict_id: 0, 
dict_is_ordered: false, metadata: {} }, false), 
/workspace/rust/lance-core/src/datatypes.rs:174:31\n\tat 
com.lancedb.lance.Dataset.createWithFfiSchema(Native Method)\n\tat 
com.lancedb.lance.Dataset.create(Dataset.java:93)\n\tat 
org.apache.gravitino.catalog.lakehouse.lance.LanceTableOperations.createTableInternal(LanceTableOperations.java:268)\n\t...
 99 more\n\tat 
org.apache.gravitino.client.ErrorHandlers$TableErrorHandler.accept(ErrorHandlers.java:388)\n\tat
 
org.apache.gravitino.client.ErrorHandlers$TableErrorHandler.accept(ErrorHandlers.java:363)\n\tat
 org.apache.gravitino.client.HTTPClient.throwFailure(HTTPClient.java:236)\n\tat 
org.apache.gravitino.client.HTTPClient.execute(HTTPClient.java:388)\n\tat 
org.apache.gravitino.client.HTTPClient.execute(HTTPClient.java:296)\n\tat 
org.apache.gravitino.client.HTTPClient.post(HTTPClient.java:490)\n
 \tat 
org.apache.gravitino.client.RelationalCatalog.createTable(RelationalCatalog.java:170)\n\tat
 org.apache.gravitino.rel.TableCatalog.createTable(TableCatalog.java:222)\n\tat 
org.apache.gravitino.rel.TableCatalog.createTable(TableCatalog.java:95)\n\tat 
org.apache.gravitino.lance.common.ops.gravitino.GravitinoLanceTableOperations.createTable(GravitinoLanceTableOperations.java:139)\n\tat
 
org.apache.gravitino.lance.service.rest.LanceTableOperations.createTable(LanceTableOperations.java:118)\n\tat
 jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)\n\tat 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
 java.base/java.lang.reflect.Method.invoke(Method.java:569)\n\tat 
org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)\n\tat
 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(Abstrac
 tJavaResourceMethodDispatcher.java:146)\n\tat 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:189)\n\tat
 
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:176)\n\tat
 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:93)\n\tat
 
org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:478)\n\tat
 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:400)\n\tat
 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)\n\tat
 org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:256)\n\tat 
org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)\n\tat 
org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)\n
 \tat org.glassfish.jersey.internal.Errors.process(Errors.java:292)\n\tat 
org.glassfish.jersey.internal.Errors.process(Errors.java:274)\n\tat 
org.glassfish.jersey.internal.Errors.process(Errors.java:244)\n\tat 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)\n\tat
 
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:235)\n\tat 
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)\n\tat
 
org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)\n\tat
 org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)\n\tat 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:358)\n\tat
 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:311)\n\tat
 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)\n\tat
 org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)\n\tat 
org.eclipse.jetty.servlet.Se
 rvletHandler$ChainEnd.doFilter(ServletHandler.java:1656)\n\tat 
org.apache.gravitino.server.authentication.AuthenticationFilter.lambda$doFilter$0(AuthenticationFilter.java:89)\n\tat
 
java.base/java.security.AccessController.doPrivileged(AccessController.java:712)\n\tat
 java.base/javax.security.auth.Subject.doAs(Subject.java:439)\n\tat 
org.apache.gravitino.utils.PrincipalUtils.doAs(PrincipalUtils.java:44)\n\tat 
org.apache.gravitino.server.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:86)\n\tat
 org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)\n\tat 
org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)\n\tat
 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)\n\tat
 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)\n\tat
 org.eclipse.jetty.server.handler.ScopedHandler.nextSc
 ope(ScopedHandler.java:188)\n\tat 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)\n\tat 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)\n\tat
 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat
 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)\n\tat
 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)\n\tat
 org.eclipse.jetty.server.Server.handle(Server.java:516)\n\tat 
org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)\n\tat
 org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)\n\tat 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)\n\tat 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)\n\tat
 org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConn
 ection.java:311)\n\tat 
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)\n\tat 
org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)\n\tat 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)\n\tat
 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)\n\tat
 java.base/java.lang.Thread.run(Thread.java:840)\n",
       "instance": 
"lance_catalog_dt$lance_datatype_schema_16$lance_datatype_table_163"
   }
   ```
   
   ### How should we improve?
   
   If Lance not support the map type , then the doc should be correct


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