'Does Apache IoTDB support string type date comparison?

I want to save the string type date into the Apache IoTDB. And I want to use it to filter the data. I don't know how to do it. For example, I have a timestr field with two values' 2020-12-25 'and' 2021-05-28 '. Now I want to query the 2021 year data. I don't know the reason about it.If someone knows it, please let me know. Apache IoTDB version: 0.13



Solution 1:[1]

Time can be defined by yourself. Turn the time reported by your device into a timestamp and assign it to time.enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ghfffhcdz fvvxsghk