cube-js/cube

Meta API (`/meta`): Add the `sql_table` field to the response

開放

#8,711 建立於 2024年9月16日

 (3 則留言) (2 個反應) (0 位負責人)Rust (1,965 個分叉)batch import
api:resthelp wanted

倉庫指標

星標
 (19,563 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

The /v1/meta API endpoint does not include the sql_table field. Even with the ?extended query param the sql_table field does not exist, even though sql does. It would also be great to have this included unless there is a good reason not to.

I believe it's the following function that needs to be adapted along with the unit tests: https://github.com/cube-js/cube/blob/e8d81f2e04ce61215b1185d9adc4320233bc34da/packages/cubejs-api-gateway/src/helpers/transformMetaExtended.ts#L37

I'm happy to open a pull request for the same!

貢獻者指南