Apache Spark and Parquet (SParquet) are a match made in scalable data analytics and delivery heaven. Spark brings a wide ranging, powerful computing platform to the equation while Parquet offers a data format that is purpose-built for high-speed big data analytics<\/strong>. If this sounds like fluffy marketing talk, resist the temptation to close this tab, because what follows are substantial insights I’ve personally procured and am sharing here to help others get the most out of Parquet and Spark.<\/p>\n What is Parquet? <\/strong><\/p>\n Parquet is a binary compressed columnar file format available to any project in the Hadoop ecosystem (and others outside it even). It’s a mouthful, but let’s break it down.<\/p>\n Binary <\/em>means parquet files cannot be opened by typical text editors natively (sublime text*, vim, etc).<\/p>\n * My former colleague James Yu wrote a Sublime Text plugin you can find here<\/a> to view parquet files.<\/p>\n Columnar<\/em> means the data is stored as columns instead of rows as most traditional databases (MySQL, PostgreSQL, etc) and file formats (CSV, JSON, etc). This is going to be very important.<\/p>\n
<\/a><\/p>\n