data type check: GROUP BY and ORDER BY with positional arguments
Merge pull request #910 from crate/l/positional-argument-value-check

L/positional argument value check
allow to order by distance
Merge pull request #909 from crate/l/geopoint-sorting

allow to order by distance
fix distance calculation
fix unresolvable state after failed DROP TABLE on partitioned table