ibis icon indicating copy to clipboard operation
ibis copied to clipboard

refactor(sql): generate `t.*` selection rather than listing all columns of the table

Open kszucs opened this issue 1 year ago • 0 comments

Currently the SQL compiler produces all fields in a selection due to the recent changes in the IR. The compiler should be updated to check whether all fields are projected or not. There is a rewrite rule in ibis/expr/rewrites.py which could be reused here.

Originally posted by @kszucs in https://github.com/ibis-project/ibis/pull/7796#discussion_r1436449742

kszucs avatar Dec 26 '23 14:12 kszucs