mistercrunch opened a new issue #13155: URL: https://github.com/apache/superset/issues/13155
BigQuery error is hard to read. ### Expected results In Explore, when creating a bad expression (say `DATE_TRUNC(column_that_dont_exist, DAY)`) in BigQuery, the DatabaseError is shown as a UnknownError. In SQL Lab, DatabaseErrors are surfaced properly and make sure to use a monospace font so that the formatting is preserved. For most database, the formatting doesn't matter much, but for BigQuery it's important to preserve it. #### Screenshots In explore (where the issue shows) <img width="1098" alt="Screen Shot 2021-02-16 at 8 02 26 AM" src="https://user-images.githubusercontent.com/487433/108088556-74c77500-702d-11eb-8034-dd9f46d8eed6.png"> In SQL Lab, where it's better formatted <img width="1307" alt="Screen Shot 2021-02-16 at 8 04 41 AM" src="https://user-images.githubusercontent.com/487433/108088726-a6404080-702d-11eb-9421-ca0ca276faeb.png"> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
