Skip to content
Discussion options

You must be logged in to vote

Hey @tsamaras.

Would it make more sense to define a new ChangeColumn expression or decompose the statement into an AlterColumn and RenameColumn expression that gets stitched back together in the generator?

I'd extend AlterColumn.arg_types to include a new key for the new name, thus encoding the "rename" operation.

And the other thing i'm not sure if is what's the right way to deal with incompatible translations like a RenameColumn without a data type specified.

I'm not sure I understand; is this a valid Hive statement? I.e., a rename operation without a data type.. based on the syntax spec above, it appears that the data type is required, no?

In any case, if you're planning to open a …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by georgesittas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants