You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/08/24 08:42:59 UTC

[GitHub] [incubator-doris] morningman commented on pull request #6493: [DorisOnEs] Add support for selecting physical indexes

morningman commented on pull request #6493:
URL: https://github.com/apache/incubator-doris/pull/6493#issuecomment-904445979


   Can we use hint to implement this? It is more flexible. Adding keywords may be conflict with other grammar in future.
   
   ```
   select * from estbl /*+ ES_INDEX('test_2021-05-20', 'test_2021-05-21', 'test_2021-06-*') */ where xxxx
   ```
   
   You can refer to `opt_select_hints` in `sql_parser.cup`.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org