apache / iotdb

Apache IoTDB
https://iotdb.apache.org/
Apache License 2.0
5.63k stars 1.03k forks source link

Support using long to compare timestamp type in expression #14125

Closed JackieTien97 closed 1 week ago

JackieTien97 commented 1 week ago

In this pr, we support select time,device1,device2,timestamp_v from sg where timestamp_v in (1509465600000) by implicitly converting long-type values to timestamp type.

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
3 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 39.69%. Comparing base (cfb4c8a) to head (1456557). Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
...execution/relational/ColumnTransformerBuilder.java 0.00% 8 Missing :warning:
...zer/predicate/ConvertPredicateToFilterVisitor.java 0.00% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #14125 +/- ## ============================================ - Coverage 39.71% 39.69% -0.02% Complexity 71 71 ============================================ Files 4216 4216 Lines 267940 268000 +60 Branches 32463 32470 +7 ============================================ - Hits 106418 106391 -27 - Misses 161522 161609 +87 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.