Last active
August 29, 2015 14:09
-
-
Save vatsan/e606a7f5519fac0ba9be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Gautam Muralidhar, Srivatsan Ramanujam, Nov-2014 | |
* External Table defs. | |
**/ | |
create external table ocv.src_image_ext | |
( | |
img_name varchar, | |
img varchar | |
) | |
LOCATION('pxf://hdm1:50070/user/user-name/opencvexample/imgseqfile/part-r-00000?Profile=HdfsTextSimple') | |
FORMAT 'TEXT' (delimiter = E'\t'); | |
--Create a table to save the sequence file | |
create table ocv.src_image | |
as | |
( | |
select * | |
from ocv.src_image_ext | |
) | |
distributed by (img_name); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment