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

Update Hive schema evolution documentation #19459

Closed
dain opened this issue Oct 19, 2023 · 1 comment · Fixed by #19518
Closed

Update Hive schema evolution documentation #19459

dain opened this issue Oct 19, 2023 · 1 comment · Fixed by #19518
Assignees
Labels

Comments

@dain
Copy link
Member

dain commented Oct 19, 2023

I happen to be reading the code today, and I think the docs are out of date. The docs seem to be missing:

  • varchar <-> timestamp
  • varchar -> date
  • varchar -> narrower varchar
  • char -> narrower char
  • double -> float
  • decimal -> decimal (looks like narrowing and widening)
  • decimal -> double, real, varchar, tinyint, smallint, integer, bigint
  • double/real -> decimal

It is strange there is no there is no date to varchar or varchar to decimal.

Maybe we should add a matrix for this?

@dain dain added the docs label Oct 19, 2023
@mosabua
Copy link
Member

mosabua commented Oct 19, 2023

Docs are at https://trino.io/docs/current/connector/hive.html#schema-evolution

I will send a PR to update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

3 participants