Skip to content

Fix pipe text-like DATE conversion#17984

Open
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix-pipe-text-date-conversion-master
Open

Fix pipe text-like DATE conversion#17984
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix-pipe-text-date-conversion-master

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

  • Parse non-numeric TEXT/STRING/BLOB values with datetime syntax when converting to DATE in pipe receiver conversion.
  • Keep numeric strings constrained to valid DATE integers and fall back to 1970-01-01 on invalid values.
  • Add focused converter coverage and include the datetime sample in tree/table pipe type conversion IT data.

Tests

  • mvn -Ddevelocity.off=true -pl iotdb-core/datanode,integration-test -P with-integration-tests spotless:apply
  • mvn -Ddevelocity.off=true -pl iotdb-core/datanode -am -Dtest=ValueConverterTest -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false test

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