sowo opened a new pull request #15082:
URL: https://github.com/apache/superset/pull/15082


   ### SUMMARY
   In order to adjust the fetch size of the elasticsearch-dbapi 
(https://github.com/preset-io/elasticsearch-dbapi#fetch-size) to the ROW_LIMIT 
setting, the fetch_size attribute of the cursor needs to be set.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   ### TESTING INSTRUCTIONS
   - set ROW_LIMIT=20000 in config.py
   - set ROW_LIMIT=50000 in a chart that uses an Elasticsearch data set
   - run query on a sufficiently large data set
   - observe that 20k rows are displayed in the chart
   
   ### ADDITIONAL INFORMATION
   - [ ] Has associated issue:
   - [ ] 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
   - [ ] 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.

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