treasure-data / luigi-td

Luigi Workflow Engine integration for Treasure Data
http://docs.treasuredata.com/articles/luigi
Apache License 2.0
16 stars 15 forks source link

Feature Request: Allow query parameter #3

Closed toru-takahashi closed 8 years ago

toru-takahashi commented 8 years ago

When I issue query, I want to allow "--priority". But, currently, there is no way.

k24d commented 8 years ago

Now you can set priority like this:

class MyQuery(Query):
    type = 'hive'
    priority = -1
    database = 'sample_datasets'
    def query(self):
        return 'select count(1) cnt from www_access'
k24d commented 8 years ago

Released 0.6.6.