Github user zuyu commented on a diff in the pull request:

    https://github.com/apache/incubator-quickstep/pull/14#discussion_r66492947
  
    --- Diff: cli/CommandExecutor.cpp ---
    @@ -194,11 +198,14 @@ void executeDescribeTable(
     /**
      * @brief A helper function that executes a SQL query to obtain a scalar 
result.
      */
    -inline TypedValue executeQueryForSingleResult(const std::string 
&query_string,
    -                                               StorageManager 
*storage_manager,
    -                                               QueryProcessor 
*query_processor,
    -                                               SqlParserWrapper 
*parser_wrapper,
    -                                               Foreman *foreman) {
    +inline TypedValue executeQueryForSingleResult(
    +    const tmb::client_id main_thread_client_id,
    +    const tmb::client_id foreman_client_id,
    --- End diff --
    
    I would suggest to move `client_id` related arguments before `bus`, due to 
the same `tmb` context.
    
    ```
      const std::string &query_string,
      const tmb::client_id main_thread_client_id,
      const tmb::client_id foreman_client_id,
      tmb::MessageBus *bus,
    ```
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to