DRILL-1145: Add testcase. Fix is in Optiq.