druid-io / pydruid

A Python connector for Druid
Other
506 stars 194 forks source link

scan query: use columns instead of dimensions #148

Closed adelcast closed 5 years ago

adelcast commented 5 years ago

Scan queries use the columns parameter (string array) to define the dimension to return [1]. Currently, pydruid is incorrectly filling a dimensions parameter, which ends up being ignored (and the scan query always return all dimensions).

[1] http://druid.io/docs/latest/querying/scan-query.html

Signed-off-by: Alejandro del Castillo alejandro.delcastillo@ni.com

mistercrunch commented 5 years ago

LGTM