You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2023/01/17 04:45:55 UTC

[GitHub] [doris] tiger-hcx opened a new issue, #16001: hive元数据相关

tiger-hcx opened a new issue, #16001:
URL: https://github.com/apache/doris/issues/16001

   ### Discussed in https://github.com/apache/doris/discussions/16000
   
   <div type='discussions-op-text'>
   
   <sup>Originally posted by **tiger-hcx** January 17, 2023</sup>
   doris的版本是1.2.1.
   场景:hudi数据写入的时候并同步元数据到hive,然后在doris中创建catalog,然后查询hudi的数据。
   创建catalog:
   CREATE CATALOG hive7 PROPERTIES (
       'type'='hms',
       'hive.metastore.uris' = 'thrift://ip:9083'
   );
   问题是:创建完catalog之后可以正常查询现有hudi的数据,但是新建一张hudi表的时候,新表元数据已经同步到hive,使用hive也可以正常查询hudi数据,但是使用doris查不到新建的这张表,需要重新新建一个catalog才能查到这张表。也就是doris连接hive元数据并不是实时同步的,只是同步了创建catalog的时候的hive元数据,这个问题如何解决呢?</div>


-- 
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@doris.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] xinxingi commented on issue #16001: hive元数据相关

Posted by "xinxingi (via GitHub)" <gi...@apache.org>.
xinxingi commented on issue #16001:
URL: https://github.com/apache/doris/issues/16001#issuecomment-1407600153

   注意:
   
   Hive 表 Schema 变更不会自动同步,需要在 Doris 中重建 Hive 外表。
   
   https://doris.apache.org/zh-CN/docs/dev/lakehouse/external-table/hive


-- 
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@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org