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 2021/09/17 02:56:28 UTC

[GitHub] [iotdb] zyk990424 commented on pull request #3918: [IOTDB-1026] Support wildcard ** in Path And Replace PrefixPath usage with PathPattern in IOTDB-SQL

zyk990424 commented on pull request #3918:
URL: https://github.com/apache/iotdb/pull/3918#issuecomment-921415400


   > Hi, it seems that this change breaks the backward compatibility?
   > 
   > Let's say we have 3 time series: root.sg.d.s1, root.sg.d.s2, and root.sg.d.t.s1.
   > 
   > Before this change, the following query produces a result set that contains all of the time series.
   > 
   > ```
   > select * from root.sg.d
   > ```
   > 
   > After this change, it produces only root.sg.d.s1 and root.sg.d.s2, right?
   
   Yes. It's a big sematic change. 
   In this new feature, you may use the following sql to get all the timeseries.
   ```
   select ** from root.sg.d
   select * from root.sg.d, root.sg.d.**
   ```
   The select clause and from clause will be concat to get the path pattern of timeseries.


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