Drill-259: implicit cast. Revise according to review comments.