Last active
August 29, 2015 14:17
-
-
Save mwinkle/6ce567f29d7923b72f16 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# assumes table is my_json, with one column containing all of the json body | |
add file wasb:///example/apps/process_json.py; | |
SELECT transform(json_body) | |
USING 'd:\python27\python.exe process_json.py' | |
AS id, lessonbranch, elapsedseconds, activity, the_date | |
FROM my_json; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment