hive
hive copied to clipboard
HIVE-26551: Support CREATE TABLE LIKE FILE for ORC
What changes were proposed in this pull request?
Why are the changes needed?
CREATE TABLE LIKE syntax was added in https://github.com/apache/hive/pull/3443, and this PR added the ability to create table based on existing orc files. It is convenient for user to create a table based on a orc file.
Does this PR introduce any user-facing change?
NO
How was this patch tested?
mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile=create_table_like_file_orc.q -Dtest.output.overwrite=true
Thanks for doing this work @zhangbutao ! Very happy to see ORC support. I'll take a look and give this a try on my machine.
Is this committable? I don't have commit privs and I don't want to see this patch go stale. cc: @ayushtkn