Skip to content

Conversation

@IanMcCurdy
Copy link
Collaborator

No description provided.

- Updated TIMESTAMP and TIME types to truncate milliseconds instead of
rounding
- Changed the regex so that fractions of seconds will be read exactly
for TIME, TIMESTAMP, and LONGDATE types
    - The fractions are truncated to nearest millisecond for TIME and
      TIMESTAMP, and nanosecond for LONGDATE
- Added some unit tests for truncating DATETIME types
- Updated integration tests for DFV 4 types to also be run on DFV 1
- Updated the spatial types and boolean integration tests to also
be run on DFV 1 (BINTEXT DFV6 integration tests were updated in
the previous commit)
- Wrote a comment about a BOOLEAN behaviour change in DFV 7, where
the empty string '' will result in null in DFV 7 but in DFV 1 it
results in false
- Removed the comment about the behaviour change in DFV 7 which
affects empty string inputs for BOOLEAN.
    - The behaviour will be clear in the test change for BOOLEAN
    in a separate pull request

Bug: 342310
@IanMcCurdy
Copy link
Collaborator Author

This is a copy of he-is-harry's PR #263. I'm submitting a PR from my own fork because rebasing was causing a headache. Once this is submitted PR #263 can be closed.

@IanMcCurdy IanMcCurdy requested a review from jeffalbion November 6, 2025 01:17
Copy link
Collaborator

@jeffalbion jeffalbion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 ELA

@IanMcCurdy IanMcCurdy merged commit 1e1b72b into SAP:master Nov 6, 2025
2 checks passed
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.

3 participants