wren-engine icon indicating copy to clipboard operation
wren-engine copied to clipboard

Optimize DuckdbClient#describe

Open brandboat opened this issue 1 year ago • 0 comments

Describe only need table schema, while we execute whole sql, this. brings redundant performance overhead

To solve this, we could:

  • add limit 1 for each sql
  • use describe stmt and convert duckdb type to pg type

brandboat avatar Jun 20 '23 06:06 brandboat