linkedin / openhouse

Open Control Plane for Tables in Data Lakehouse
https://www.openhousedb.org/
BSD 2-Clause "Simplified" License
273 stars 43 forks source link

JobScheduler switch using getAllTables to searchTables api #95

Closed jiang95-dev closed 1 month ago

jiang95-dev commented 2 months ago

Summary

JobScheduler is using getAllTables api which can bottlenecks the system and fails the jobs. This PR moves JobScheduler to use searchTables api.

Changes

Move all usage of getAllTables api inside TablesClient to searchTables api combined with getTable call.

Testing Done

Updated TablesClientTest to reflect the api change.

Additional Information

For all the boxes checked, include additional details of the changes made in this pull request.

autumnust commented 1 month ago

@jiang95-dev is this ready for review now ?