You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "Dipeshsharma2005 (via GitHub)" <gi...@apache.org> on 2026/01/06 09:26:42 UTC
[PR] Fix case-sensitive CONTAINS behavior in tag filtering [iotdb]
Dipeshsharma2005 opened a new pull request, #16987:
URL: https://github.com/apache/iotdb/pull/16987
### Description
This PR fixes inconsistent behavior of the `CONTAINS` operator when filtering
timeseries by TAGS.
Previously, `SHOW TIMESERIES WHERE TAGS(k) CONTAINS 'value'` performed
case-sensitive matching, which differed from the case-insensitive behavior
used for timeseries name filtering. This made tag-based metadata searches
less intuitive and required users to know the exact casing of tag values.
This change normalizes tag values during CONTAINS evaluation, making tag
filtering case-insensitive and consistent with other metadata filters.
### Changes
- Updated tag CONTAINS matching logic to be case-insensitive
- Aligned tag filtering semantics with timeseries CONTAINS behavior
### Motivation
- Improves usability of metadata discovery
- Ensures consistent query behavior across schema filters
### Related Issue
Fixes #16876
--
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
Re: [PR] Fix case-sensitive CONTAINS behavior in tag filtering [iotdb]
Posted by "JackieTien97 (via GitHub)" <gi...@apache.org>.
JackieTien97 commented on PR #16987:
URL: https://github.com/apache/iotdb/pull/16987#issuecomment-3736543974
Hi, I think tag and timeseries name are always both case-sensitive.
--
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