You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "ycycse (via GitHub)" <gi...@apache.org> on 2023/06/05 14:32:38 UTC

[GitHub] [iotdb] ycycse opened a new pull request, #10053: [IOTDB-5970] Fix the info of order by when sortkey doesn't exist

ycycse opened a new pull request, #10053:
URL: https://github.com/apache/iotdb/pull/10053

   This pr fix the info when the sortkey doesn't exist and fix the docs in site of order by.
   The original output in normal query:
   ```md
   IoTDB> select soc,vehicle_status from root.sg.beijing.car01 order by s1
   Msg: 701: One sort item in order by should only indicate one value
   ```
   In last query:
   ```md
   IoTDB> select last soc,vehicle_status from root.sg.beijing.car01 order by s1
   Msg: 301: ComparatorChains must contain at least one Comparator
   ```
   Which won't show the info about the problem of sortKey, after this pr the info should be:
   ```md
   IoTDB> select soc,vehicle_status from root.sg.beijing.car01 order by s1
   Msg: 701: root.sg.beijing.car01.s1 in ORDER BY clause should exist and indicate only one value
   ```
   ```md
   IoTDB> select last soc,vehicle_status from root.sg.beijing.car01 order by s1
   Msg: 701: s1 in ORDER BY clause should exist in the result of last query.
   ```
   
   


-- 
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: reviews-unsubscribe@iotdb.apache.org

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


[GitHub] [iotdb] JackieTien97 merged pull request #10053: [IOTDB-5970] Fix the info of order by when sortkey doesn't exist

Posted by "JackieTien97 (via GitHub)" <gi...@apache.org>.
JackieTien97 merged PR #10053:
URL: https://github.com/apache/iotdb/pull/10053


-- 
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: reviews-unsubscribe@iotdb.apache.org

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