Skip to content

Use signed YDB temporal types by default - #258

Closed
KirillKurdyukov wants to merge 2 commits into
mainfrom
codex/date32-contract
Closed

Use signed YDB temporal types by default#258
KirillKurdyukov wants to merge 2 commits into
mainfrom
codex/date32-contract

Conversation

@KirillKurdyukov

Copy link
Copy Markdown
Collaborator

Summary

  • enable forceSignedDatetimes=true by default; an explicit connection-url parameter still overrides the default
  • create Trino date and short timestamp columns as YDB Date32 and Timestamp64
  • bind timestamps as Instant so YDB JDBC preserves fractional seconds in Timestamp64
  • restore inherited negative-date coverage and the original date/timestamp data-mapping cases; retain exclusions for YQL time and timestamp with time zone

Validation

  • JAVA_HOME=$(/usr/libexec/java_home -v 25) mvn -f ydb-trino-adapter/pom.xml -DskipTests compile
  • JAVA_HOME=$(/usr/libexec/java_home -v 25) mvn -f ydb-trino-adapter/pom.xml -DskipTests test-compile

Both passed. The focused integration run is blocked before test execution by the local Testcontainers/YDB initialization failure (ProxyYdbHelper: Can't proxy method of null); CI will provide runtime validation.

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.

1 participant