Skip to content

Instantly share code, notes, and snippets.

@brenopolanski
Created March 24, 2018 17:56
Show Gist options
  • Save brenopolanski/7a7e32b6b0e6f79346faf223d2708087 to your computer and use it in GitHub Desktop.
Save brenopolanski/7a7e32b6b0e6f79346faf223d2708087 to your computer and use it in GitHub Desktop.
Example Apache Drill queries
CREATE VIEW dfs.tmp.test_view AS SELECT employee_id, full_name, position_title, salary FROM cp.`employee.json`

SELECT * FROM dfs.tmp.test_view LIMIT 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment