Tuesday, January 14, 2014

Apache Tajo CDH - Bug (Insert into tablename)

Note: 'insert into tablename' bug

1. version

- CDH: CDH-4.4.0-1.cdh4.4.0.p0.39
- Hadoop: Hadoop 2.0.0-cdh4.4.0
- Tajo: https://github.com/gruter/tajo-cdh (2014.01.10)

&

- tajo-0.2.0-incubating

2. Bug

- there is no error message for using 'insert into tablename'
- but 'insert into tablename' query will delete the table
- and cause no response from tsql

3. solution

- do not use 'insert into table' even if there is no error for using it
- use 'insert overwrite into table' which means you have to overwrite the file

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.