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/07/10 13:58:36 UTC
[GitHub] [incubator-doris] morningman commented on pull request #6150: [Feature] Support fe login using sql tools when no be is available.
morningman commented on pull request #6150:
URL: https://github.com/apache/incubator-doris/pull/6150#issuecomment-877642394
Thanks for your PR. This is indeed a problem.
But I think it could be better to handle this situation in `StmtExecutor.handleQueryStmt()`.
Because here we have analyzed the statement, and all constant exprs has been calculated, so that we can simple check
if there is no table ref in statement and all select items are constant literal, and there is no alive backend, then return the result by FE.
This can cover more situation than only handle `select version()` and `select @@variables`;
--
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