Sql interface to druid.