metabase table 类型entity_type 识别
生活随笔
收集整理的這篇文章主要介紹了
metabase table 类型entity_type 识别
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在https://blog.csdn.net/weixin_40455124/article/details/115364776 記錄了metabase如何對表進行自動展示,展示是依賴表的entity_type ,那這個entity_type 怎么來的呢?
entity_type 來源于metabase在同步表的meta數據時候,根據表名稱進行識別的,是不是覺得太簡單了?!
關鍵代碼都在metabase.sync.analyze 下,包括對field的識別。
核心代碼如下:
(s/defn analyze-table!"Perform in-depth analysis for a `table`."[table :- i/TableInstance](fingerprint/fingerprint-fields! table)(classify/classify-fields! table)(classify/clas總結
以上是生活随笔為你收集整理的metabase table 类型entity_type 识别的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: web分享QQ空间api接口
- 下一篇: 什么是独立IP,独立IP主机怎么样?