For example, query the sample cube with "select max(price)+min(price) from KYLIN_SALES", get the result on the web window. But click the "export" button get an error message "Encountered \"min\" at line 1, column 19. Was expecting one of...".
This is because the export button visit the api url directly, in the url, the plus sign is treated as blank, so kylin server get sql "select max(price) min(price) from KYLIN_SALES" which is an invalid sql.
I will submit two patches for 1.x and 2.x.