hongzhi-gao opened a new pull request, #18964: URL: https://github.com/apache/iotdb/pull/18964
When partial insertion rejects every FIELD in a table tablet without TAG columns, schema validation can leave measurementSchemas null. RelationPlanner then dereferences that array and returns a NullPointerException instead of the existing incompatible-type error. Skip schema/measurement reconciliation when no schemas were allocated. Add a Session integration regression that inserts two DOUBLE fields into INT32 columns, checks the expected 507 error, and verifies that the table contains no rows. Non-null schema reconciliation is unchanged. Validation: - Spotless applied to datanode and integration-test; git diff --check passed. - Passed IoTDBSessionRelationalIT#insertAllFieldDataTypeMismatchWithoutTagTest with TableSimpleIT (1 ConfigNode + 1 DataNode): 1 test, 0 failures, 0 errors, 0 skipped. ```bash mvn verify -o -DskipUTs '-Dit.test=IoTDBSessionRelationalIT#insertAllFieldDataTypeMismatchWithoutTagTest' -DfailIfNoTests=false -Dfailsafe.failIfNoSpecifiedTests=false -pl integration-test -am -PTableSimpleIT -Pwith-integration-tests -Ddevelocity.off=true ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
