metamx/druid — pull request #422 by tucksaun (2014-03-07 10:31:30+00:00)
Title: Fixed segments SQL queries for PostgreSQL compatibility

PostgreSQL doesn't cast int to boolean.
Without that, many tasks are not possible (tried with index and kill but may be more tasks affected).