hive icon indicating copy to clipboard operation
hive copied to clipboard

HIVE-26551: Support CREATE TABLE LIKE FILE for ORC

Open zhangbutao opened this issue 2 years ago • 2 comments

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

zhangbutao avatar Sep 21 '22 03:09 zhangbutao

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.

jfsii avatar Sep 21 '22 16:09 jfsii

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 6 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Sep 22 '22 08:09 sonarqubecloud[bot]

Is this committable? I don't have commit privs and I don't want to see this patch go stale. cc: @ayushtkn

jfsii avatar Sep 27 '22 23:09 jfsii