cube icon indicating copy to clipboard operation
cube copied to clipboard

Typo (probably) in SQL API docs page

Open mcheshkov opened this issue 1 year ago • 0 comments

Ordering section mentions query with ORDER BY status DESC

https://github.com/cube-js/cube/blob/0d891563976ebd76b8f4f7ff91bfe75b914ac510/docs/pages/product/apis-integrations/sql-api.mdx?plain=1#L282-L292

But query plan mentions SortExec: [transformed_amount@1 DESC]

https://github.com/cube-js/cube/blob/0d891563976ebd76b8f4f7ff91bfe75b914ac510/docs/pages/product/apis-integrations/sql-api.mdx?plain=1#L300-L305

I'm not sure what was the intent here, but, since this section documents an issue with projection-ordering pushdown, I think query should use ORDER BY transformed_amount DESC.

mcheshkov avatar Apr 09 '24 12:04 mcheshkov