You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/07/18 08:27:20 UTC

[GitHub] [iotdb] DanielWang2035 opened a new issue, #6698: Request corresponding error message for keyword conflicts.

DanielWang2035 opened a new issue, #6698:
URL: https://github.com/apache/iotdb/issues/6698

   In 0.13.0, executing **select * from root.global.\*\*** in cli will raise an error:
   `Msg: 401: Error occurred while parsing SQL to physical plan: line 1:19 mismatched input 'global' expecting {'*', '**', STRING_LITERAL, INTEGER_LITERAL, ID, QUTOED_ID_IN_NODE_NAME}`
   This is because 'global' is a keyword in iotdb. Though the statement **select * from root.\`global\`.\*\*** is supported, the error message is not telling users there's been a keyword conflict.
   
   Here are some possible solutions:
   1. Add a message code representing keyword conflicts.
   2. Show warnings when user try to use keywords in paths.
   
   Also, creating or selecting from **root.global.\*\*** is not allowed in cli, but is ok in Java native api.
   


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

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


[GitHub] [iotdb] github-actions[bot] commented on issue #6698: Request corresponding error message for keyword conflicts.

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #6698:
URL: https://github.com/apache/iotdb/issues/6698#issuecomment-1186922990

   Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!


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