Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast char fields, if necessary, to varchar type in Hive view translations #19275

Merged
merged 1 commit into from
Oct 27, 2023

Commits on Oct 26, 2023

  1. Cast char fields, if necessary, to varchar type in view translations

    Bump coral to 2.2.14 to support Hive view translation cnsisting of a UNION
    between a char and a varchar field.
    
    Due to wrong coercion between `varchar` and `char` in Trino, as described in
    trinodb#9031
    , a work-around needs to be applied in case of translating Hive views which
    contain a UNION dealing with char and varchar types.
    The work-around consists in the explicit cast of the field
    having char type towards varchar type corresponding of the set operation
    output type.
    findinpath committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    33f1bc6 View commit details
    Browse the repository at this point in the history