Code Like A Girl

Welcome to Code Like A Girl, a space that celebrates redefining society's perceptions of women inā€¦

Follow publication

Member-only story

Nidhi Gupta
Code Like A Girl
Published in
3 min readOct 8, 2021

--

Run SQL Queries from PostmanšŸ˜²

Yes, You have heard right šŸ™‚we can run SQL Queries from Postman with the help of Apache Drill.

Apache DRILL with JDBC Client

Apache Drill is the first schema-free open-source SQL query engine for Big Data exploration. Letā€™s see how we can run SQL queries from the Postman

Setup on Windows machine

Step1: Download and Install java on the machine. And make sure to add the java path to the environment variable.

Resource link: https://www.oracle.com/java/technologies/downloads

Step2: Download and Install Apache drill Client Drivers (ODBC/JDBC). And make sure to add the Apache drill path to the environment variable.

Resource link: https://drill.apache.org/download

Step3: Start the Apache drill services. Open the cmd and type the command.

Command to start the Apache drill service: sqlline.bat -u ā€œjdbc:drill:zk=localā€

Command to quit Apache drill cmd: !quit

When the service gets started open the browser and type http://localhost:8047 UI for Apache drill gets opened up.

Step 4: There are few things to be kept in mind before creating a successful storage plugin.

  1. MySQL service is up and running. Should have at least one database and one table.

--

--

Published in Code Like A Girl

Welcome to Code Like A Girl, a space that celebrates redefining society's perceptions of women in technology. Share your story with us!

Written by Nidhi Gupta

Azure Data Engineer šŸ‘Øā€šŸ’».Heading towards cloud technologies expertiseāœŒļø.

Responses (1)

Write a response