kzosabe opened a new pull request #18694:
URL: https://github.com/apache/superset/pull/18694


   ### SUMMARY
   The ability to know in advance how many bytes a query will process is 
important when using BigQuery.
   This PR adds the ability to estimate query cost to BigQuery integration as 
well as other DB systems such as postgres and presto.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   before:
   
![before](https://user-images.githubusercontent.com/1046476/153748421-d17675de-2812-461e-acbd-96e6ad5e4e36.png)
   
   after:
   ![after 
1](https://user-images.githubusercontent.com/1046476/153748423-dad2e2f2-3eda-478a-bbcc-2741fc9f3110.png)
   
   ![after 
2](https://user-images.githubusercontent.com/1046476/153748429-c4a8eedf-9b83-40ef-b2e5-0a1de8ec334e.png)
   
   
   ### TESTING INSTRUCTIONS
   - Enable feature flag `ESTIMATE_QUERY_COST`
   - Check `ADVANCED` > `SQL Lab` > `Enable query cost estimation` in the edit 
dialog in the BigQuery database connection
   
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [x] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [x] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to