Oracle - Timestamp & Casting issues conversion to postgres fails? #3117
-
Hello Team, I wanted to know if this is expected or if there are other time functions that maybe are missing. For example: Original Oracle: Postgres transpile: Correct transform: same with bellow: Original Oracle: Postgres transpile: Correct transform: Is there specific way to add functions that exist in postgres and are not mapped to existing integration like: Or maybe pointing me in the right direction. :D |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @carloscondore, I've addressed the first issue in #3124. Imo the second one is out of scope because it relies on Oracle's coercion rules and so you can do Check out said PR and also past PRs to see how we address similar issues. Feel free to make a PR for the last one if you want. |
Beta Was this translation helpful? Give feedback.
Hey @carloscondore,
I've addressed the first issue in #3124. Imo the second one is out of scope because it relies on Oracle's coercion rules and so you can do
str * int
which isn't generally supported in other dialects. Such transformations require type information and we usually don't prioritize them - you can use explicit casts in the original SQL as a workaround.Check out said PR and also past PRs to see how we address similar issues. Feel free to make a PR for the last one if you want.