[CALCITE-3612] Add TIME/TIMESTAMP WITH TIME ZONE in optimizer
- Introduce TIME/TIMESTAMP WITH TIME ZONE types
- Introduce TimeWithTimeZone as internal representation of TIME WITH TIME ZONE type
- Introduce TimestampWithTimeZone as internal representation of TIMESTAMP WITH TIME ZONE type
- Introduce coercion rules for TIME/TIMESTAMP WITH TIME ZONE types
rebased to split the refactoring to a separate commit.
rebase to resolve all conflicts
@julianhyde Could you take a look at this if you are free? Hopefully I touched all the right places and didn't missing any thing.
@docete
Would you like to pick up this work again? I can help on review/merge your work.
@amaliujia Sorry for the late reply, I will rebase this PR in recent days.
What's the status of this work? Is there someone that can get this to completion? This is a pretty significant hole in Calcite's SQL support.