ABS: A System for Scalable Approximate Queries with Accuracy Guarantees