sql - Delete query in treasure-data/hadoop? -


i try write query delete rows in treasure-data server ignored it. i'm missing documentation resolve issue.

here logs:

    use 'td job:show 2485728' show status. queued...   started @ 2013-04-18t10:22:32z   hive history file=/mnt/hive/tmp/2073/hive_job_log__336863980.txt   finished @ 2013-04-18t10:22:39z   ignored "delete mytable time < unix_timestamp() - 30*60*60*24" 

sorry, there no delete statement in hive. 1 possible trick rewriting table:

insert overwrite table mytable select * mytable time >= unix_timestamp() - 30*60*60*24 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -