It all depends on what your overall TDS is, many RO membranes have very specific limits on TDS and calcium hardness. Normally you want to demineralize (remove calcium) the input stream of an RO filter. So one would typically want to run a salt based water softener on the input side of the RO filter to get CH low as calcium scaling will destroy the membrane. You'd also need to dechlorinate the water using an active charcoal pre-filter as well as a fine particulate trap down to 1 micron. Then, the RO filter will remove all the other minerals, ions and organics. If you did not have a water softener, then one can inject phosphonate calcium sequestrants (HEDP) along with the input water to bind up the excess calcium and then all of the calcium and phosphonates would go out the waste stream. One final problem is pressure - most RO filters need high pressure to operate with any decent efficiency (low waste fraction). A sump pump produces very little pressure and so you would be sending most of the water to waste. Algae in the input stream would also be a huge problem as well.
Simply boiling the water and using a steam reforming column will get rid of most of the chemicals in the pool water and render it drinkable.