Apache Drill

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Apache Drill
Apache Drill logo.svg
Developer(s)Apache Software Foundation
Stable release
1.19.0 / June 10, 2021; 12 months ago (2021-06-10)
RepositoryDrill Repository
Written inJava
Operating systemCross-platform
LicenseApache License 2.0
Websitedrill.apache.org

Apache Drill is an open-source software framework that supports data-intensive distributed applications for interactive analysis of large-scale datasets. Built chiefly by contributions from developers from MapR,[1] Drill is inspired by Google's Dremel system, also productized as BigQuery.[2] Drill is an Apache top-level project.[2]

Drill supports a variety of NoSQL databases and file systems, including Alluxio, HBase, MongoDB, MapR-DB, HDFS, MapR-FS, Amazon S3, Azure Blob Storage, Google Cloud Storage, Swift, NAS and local files. A single query can join data from multiple datastores. For example, you can join a user profile collection in MongoDB with a directory of event logs in Hadoop.

Drill's datastore-aware optimizer automatically restructures a query plan to leverage the datastore's internal processing capabilities. In addition, Drill supports data locality, if Drill and the datastore are on the same nodes.[3]

Features[edit]

One explicitly stated design goal is that Drill is able to scale to 10,000 servers or more and to be able to process petabytes of data and trillions of records in seconds.[4]

  • Schema-free JSON document model similar to MongoDB and Elasticsearch, without requiring a formal schema to be declared
  • Industry-standard APIs: ANSI SQL, ODBC/JDBC, RESTful APIs
  • Extremely user and developer friendly
  • Pluggable architecture enables connectivity to multiple datastores
  • Apache Drill 1.9 added dynamic user defined functions.
  • Apache Drill 1.11 added cryptographic-related functions and PCAP file format support.

Back-end Support[edit]

Drill is primarily focused on non-relational datastores, including Apache Hadoop text files, NoSQL, and cloud storage. A notable feature also includes in situ querying of local JSON and Apache Parquet files. Some additional datastores that it supports include:

A new datastore can be added by developing a storage plugin. Drill's "schema-free" JSON data model enables it to query non-relational datastores in-situ .[5]

Front-end Support[edit]

Drill itself can be queried via JDBC, ODBC, or REST through a variety of methods and languages including Python and Java. The default install includes a web interface allowing end-users to execute ANSI SQL directly and export data tables as CSV files without any programming.

The dashboard library, Apache Superset, is particularly well suited for visualization of data queried with Drill.

See also[edit]

References[edit]

  1. ^ Friedman, Ellen (21 Sep 2015). "Apache Drill: Tracking its history as an open source community". Archived from the original on 18 March 2016.
  2. ^ a b "The Apache Software Foundation Announces Apache Drill as a Top-Level Project". Retrieved 2014-12-02.
  3. ^ "Apache Drill - Schema-free SQL for Hadoop, NoSQL and Cloud Storage". drill.apache.org. Retrieved 2015-12-29.
  4. ^ "DrillProposal - INCUBATOR - Apache Software Foundation".
  5. ^ "Frequently Asked Questions - Apache Drill". drill.apache.org. Retrieved 2015-12-29.

Papers[edit]

Some papers influenced the birth and design. Here is a partial list:

External links[edit]