kgabryje opened a new pull request #12659:
URL: https://github.com/apache/superset/pull/12659


   ### SUMMARY
   Fixes https://github.com/apache/superset/issues/12646
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   Before:
   
![image](https://user-images.githubusercontent.com/15073128/105357459-2a510500-5bf5-11eb-8ce9-1498797c5739.png)
   
   After:
   
![image](https://user-images.githubusercontent.com/15073128/105357401-13121780-5bf5-11eb-8157-709fccc6cae8.png)
   
   ### TEST PLAN
   Create a time-series table with time lag larger than the number of rows in 
the table - before the fix it generated a react error, now it displays a proper 
error message
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [x] Has associated issue: https://github.com/apache/superset/issues/12646
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   
   CC: @junlincc @john-bodley @villebro @adam-stasiak 


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

Reply via email to