Abstract

A new method for SQL query implementation in a parallel execution environment Apache Spark in a package mode was developed on the basis of Bloom Filter Cascade Application (BFCA). It includes representation of the original query in a form of a few subqueries and intermediate tables, where the Bloom filters are created and applied. Then the representation is transformed into Scala code. Theoretical justification of the developed method is provided. The theoretical estimation of the network data transmission volume reduction (shuffle) is shown on an example. The efficiency of the method is demonstrated on the example of Q3 (three tables join) and Q17 (correlated subquery) queries from the TPC-H test. The developed BFCA method is more than 2 times faster and more than 10 times better on shuffle volume (as compared to Spark SQL) on Q3 at a Scale Factor SF=500. The BFCA is 8 times faster on Q17 than Hive (Spark SQL cannot implement Q17).

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.