Skip to content

[To dev/1.3] Fix floating-point sentinel misuse in KDTree and SDT (#18302) - #18313

Merged
jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:cp-892dbd8-dev-1.3
Jul 28, 2026
Merged

[To dev/1.3] Fix floating-point sentinel misuse in KDTree and SDT (#18302)#18313
jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:cp-892dbd8-dev-1.3

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Backport #18302 to dev/1.3.

This initializes SDT slope doors with infinities, computes KDTree bounds across all points with correct floating-point sentinels, and uses NaN for the integration-test NULL sentinel so real zero values remain distinguishable.

Backport adaptation:

Tests:

  • mvn spotless:apply -pl iotdb-core/node-commons,iotdb-core/datanode,integration-test -P with-integration-tests
  • mvn test -pl iotdb-core/node-commons -Dtest=KDTreeUtilTest
  • mvn test -pl iotdb-core/datanode -Dtest=SwingingDoorTrendingFilterTest

Not run:

  • IoTDBUDTFBuiltinFunctionIT#testMasterRepair. The dev/1.3 reactor is blocked before the integration-test module by pre-existing generated-source issues: client-go RAT failures and a generated Thrift/API version mismatch.

* Fix floating-point sentinel misuse

* Fix master repair integration test expectations
@jt2594838
jt2594838 merged commit 1e28e94 into apache:dev/1.3 Jul 28, 2026
16 checks passed
@jt2594838
jt2594838 deleted the cp-892dbd8-dev-1.3 branch July 28, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants