Skip to content

Conversation

@Vitalii4as
Copy link
Contributor

@Vitalii4as Vitalii4as commented Nov 17, 2025

Sub-taskHCK-13527 [PostgreSQL]: fix the data types conversion by adapter

Technical details

PostgreSQL → Polyglot

  • timestamp with property timezone WITH TIME ZONE and precision should be converted to timestamp_tz with precision

  • timestamp with property timezone WITHOUT TIME ZONE and precision should be converted to timestamp_ntz with precision

  • timestamp with property timezone empty and precision should be converted to timestamp_ntz with precision and Synonym timestamp

  • time with precision should be converted to time with precision

  • inet should be converted to varchar with format ipv4

  • interval should be converted to varchar with format duration

Polyglot → PostgreSQL

  • time with precision should be converted to time with precision

  • timestamp_ntz with precision should be converted to timestamp with property timezone WITHOUT TIME ZONE and precision

  • timestamp_ltz with precision should be converted to timestamp with property timezone WITH TIME ZONE and precision

  • timestamp_tz with precision should be converted to timestamp with property timezone WITH TIME ZONE and precision

  • varchar or nvarchar with format ipv4 or ipv6 should be converted to inet

  • varchar or nvarchar with duration should be converted to interval

@Vitalii4as Vitalii4as self-assigned this Nov 17, 2025
@sonarqubecloud
Copy link

@serhii-filonenko serhii-filonenko enabled auto-merge (squash) November 18, 2025 08:32
@serhii-filonenko serhii-filonenko merged commit 90740d9 into develop Nov 18, 2025
9 checks passed
@serhii-filonenko serhii-filonenko deleted the fix/HCK-13527 branch November 18, 2025 09:01
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