helloppx commented on issue #1680: [CALCITE-3621] Push down sort to DB, SQL of 
Sort rel contains explicit field name instead of * when sort is not top rel
URL: https://github.com/apache/calcite/pull/1680#issuecomment-568823430
 
 
   By the way, when we switch "calcite.enable.enumerable" to "false" without 
this change, this case will be failed. 
   `java.sql.SQLException: Error while executing SQL "explain plan for select 
ename 
   from scott.emp 
   order by empno": There are not enough rules to produce a node with desired 
properties: convention=ENUMERABLE, sort=[1].
   Missing conversion is JdbcTableScan[sort: [] -> [0]]
   There is 1 empty subset: rel#34:Subset#0.JDBC.SCOTT.[0], the relevant part 
of the original plan is as follows
   0:JdbcTableScan(table=[[SCOTT, EMP]])`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to