[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Suller updated HIVE-18702: --- Attachment: (was: HIVE-18702.6.patch) > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Ivan Suller >Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch, > HIVE-18702.3.patch, HIVE-18702.3.patch, HIVE-18702.4.patch, HIVE-18702.5.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Suller updated HIVE-18702: --- Attachment: HIVE-18702.6.patch > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Ivan Suller >Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch, > HIVE-18702.3.patch, HIVE-18702.3.patch, HIVE-18702.4.patch, > HIVE-18702.5.patch, HIVE-18702.6.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zoltan Haindrich updated HIVE-18702: Resolution: Fixed Fix Version/s: (was: 3.2.0) (was: 2.4.0) 4.0.0 Status: Resolved (was: Patch Available) pushed to master. Thank you [~isuller]! > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Ivan Suller >Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch, > HIVE-18702.3.patch, HIVE-18702.3.patch, HIVE-18702.4.patch, HIVE-18702.5.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Suller updated HIVE-18702: --- Attachment: HIVE-18702.5.patch > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Ivan Suller >Priority: Major > Fix For: 2.4.0, 3.2.0 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch, > HIVE-18702.3.patch, HIVE-18702.3.patch, HIVE-18702.4.patch, HIVE-18702.5.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Suller updated HIVE-18702: --- Attachment: HIVE-18702.4.patch > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Ivan Suller >Priority: Major > Fix For: 2.4.0, 3.2.0 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch, > HIVE-18702.3.patch, HIVE-18702.3.patch, HIVE-18702.4.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Suller updated HIVE-18702: --- Attachment: HIVE-18702.3.patch > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Ivan Suller >Priority: Major > Fix For: 2.4.0, 3.2.0 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch, > HIVE-18702.3.patch, HIVE-18702.3.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Suller updated HIVE-18702: --- Attachment: HIVE-18702.3.patch > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Ivan Suller >Priority: Major > Fix For: 2.4.0, 3.2.0 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch, > HIVE-18702.3.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18702: --- Fix Version/s: (was: 3.1.0) 3.2.0 > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 2.4.0, 3.2.0 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18702: --- Fix Version/s: (was: 3.0.0) 3.1.0 > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 2.4.0, 3.1.0 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Dai updated HIVE-18702: -- Fix Version/s: (was: 2.3.3) 2.4.0 Move it to 2.4.0 > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 3.0.0, 2.4.0 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Status: Patch Available (was: In Progress) > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 3.0.0, 2.3.3 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Attachment: HIVE-18702.2.patch > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 3.0.0, 2.3.3 > > Attachments: HIVE-18702.1.patch, HIVE-18702.2.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Status: In Progress (was: Patch Available) > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 3.0.0, 2.3.3 > > Attachments: HIVE-18702.1.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Status: In Progress (was: Patch Available) > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 3.0.0, 2.3.3 > > Attachments: HIVE-18702.1.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Status: Patch Available (was: In Progress) > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 3.0.0, 2.3.3 > > Attachments: HIVE-18702.1.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Status: Patch Available (was: In Progress) > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 3.0.0, 2.3.3 > > Attachments: HIVE-18702.1.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Attachment: HIVE-18702.1.patch > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 3.0.0, 2.3.3 > > Attachments: HIVE-18702.1.patch > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Fix Version/s: 3.0.0 > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 3.0.0, 2.3.3 > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Description: Enable Hive on TEZ. (MR works fine). *STEP 1. Create test data* {code} nano /home/test/users.txt {code} Add to file: {code} Peter,34 John,25 Mary,28 {code} {code} hadoop fs -mkdir /bug hadoop fs -copyFromLocal /home/test/users.txt /bug hadoop fs -ls /bug {code} *EXPECTED RESULT:* {code} Found 2 items -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt {code} *STEP 2. Upload data to hive* {code} create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; select * from bug; {code} *EXPECTED RESULT:* {code} OK Peter 34 John25 Mary28 {code} {code} create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; insert overwrite table bug select * from bug1; select * from bug; {code} *EXPECTED RESULT:* {code} OK Time taken: 0.097 seconds {code} *ACTUAL RESULT:* {code} hive> select * from bug; OK Peter 34 John25 Mary28 Time taken: 0.198 seconds, Fetched: 3 row(s) {code} was: *STEP 1. Create test data* {code} nano /home/test/users.txt {code} Add to file: {code} Peter,34 John,25 Mary,28 {code} {code} hadoop fs -mkdir /bug hadoop fs -copyFromLocal /home/test/users.txt /bug hadoop fs -ls /bug {code} *EXPECTED RESULT:* {code} Found 2 items -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt {code} *STEP 2. Upload data to hive* {code} create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; select * from bug; {code} *EXPECTED RESULT:* {code} OK Peter 34 John25 Mary28 {code} {code} create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; insert overwrite table bug select * from bug1; select * from bug; {code} *EXPECTED RESULT:* {code} OK Time taken: 0.097 seconds {code} *ACTUAL RESULT:* {code} hive> select * from bug; OK Peter 34 John25 Mary28 Time taken: 0.198 seconds, Fetched: 3 row(s) {code} > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 2.3.3 > > > Enable Hive on TEZ. (MR works fine). > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Fix Version/s: (was: 3.0.0) 2.3.3 > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 2.3.3 > > > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Affects Version/s: 2.3.2 > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 3.0.0 > > > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Fix Version/s: 3.0.0 > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Affects Versions: 2.3.2 >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > Fix For: 3.0.0 > > > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-18702) INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting
[ https://issues.apache.org/jira/browse/HIVE-18702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-18702: Summary: INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting (was: "Insert overwrite table" doesn't clean the table directory before overwriting) > INSERT OVERWRITE TABLE doesn't clean the table directory before overwriting > --- > > Key: HIVE-18702 > URL: https://issues.apache.org/jira/browse/HIVE-18702 > Project: Hive > Issue Type: Bug >Reporter: Oleksiy Sayankin >Assignee: Oleksiy Sayankin >Priority: Major > > *STEP 1. Create test data* > {code} > nano /home/test/users.txt > {code} > Add to file: > {code} > Peter,34 > John,25 > Mary,28 > {code} > {code} > hadoop fs -mkdir /bug > hadoop fs -copyFromLocal /home/test/users.txt /bug > hadoop fs -ls /bug > {code} > *EXPECTED RESULT:* > {code} > Found 2 items > > -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt > {code} > *STEP 2. Upload data to hive* > {code} > create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Peter 34 > John25 > Mary28 > {code} > {code} > create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS > TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; > insert overwrite table bug select * from bug1; > select * from bug; > {code} > *EXPECTED RESULT:* > {code} > OK > Time taken: 0.097 seconds > {code} > *ACTUAL RESULT:* > {code} > hive> select * from bug; > OK > Peter 34 > John 25 > Mary 28 > Time taken: 0.198 seconds, Fetched: 3 row(s) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)