[ 
https://issues.apache.org/jira/browse/CALCITE-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003770#comment-17003770
 ] 

Rui Wang edited comment on CALCITE-3636 at 12/26/19 9:34 PM:
-------------------------------------------------------------

I converted this Jira to a subtask of CALCITE-482.


Per the PR I think you want to propagate resource hint to sort and there is the 
syntax in the PR:

select /*+ resource(mem='1024MB')*/ ename, sal, deptno from emp order by 
deptno";

My question is, will the following syntax better?

select  ename, sal, deptno from emp order by /*+ resource(mem='1024MB')*/ 
deptno" ?

cc: @danny0405


 


was (Author: amaliujia):
Can you convert this Jira to a subtask of CALCITE-482?


Per the PR I think you want to propagate resource hint to sort and there is the 
syntax in the PR:

select /*+ resource(mem='1024MB')*/ ename, sal, deptno from emp order by 
deptno";

My question is, will the following syntax better?

select  ename, sal, deptno from emp order by /*+ resource(mem='1024MB')*/ 
deptno" ?

cc: @danny0405


 

> Implement RelHint for Sort 
> ---------------------------
>
>                 Key: CALCITE-3636
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3636
>             Project: Calcite
>          Issue Type: Sub-task
>            Reporter: xzh_dz
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to