ibis icon indicating copy to clipboard operation
ibis copied to clipboard

refactor(ir): make `ops.SortKey` a non-value operation

Open kszucs opened this issue 1 year ago • 0 comments

Since aliases are valid in many places but asc()/desc() are really only valid in order_by() I wonder if asc()/desc() should return non Value operations? This would make it easier to forbid e.g. t.x.asc() + 1.

Originally posted by @jcrist in https://github.com/ibis-project/ibis/issues/8100#issuecomment-1912256153

kszucs avatar Jan 29 '24 16:01 kszucs