You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Rui Wang (Jira)" <ji...@apache.org> on 2019/12/26 21:33:00 UTC

[jira] [Commented] (CALCITE-3636) Implement RelHint for Sort

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

Rui Wang commented on CALCITE-3636:
-----------------------------------

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: Wish
>            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)