Hi
Please find attached patch with fix.
> Download as CSV> button should be enabled only for SELECT queries.
Please review.
Thanks,Surinder Kumar