Skip to content

Instantly share code, notes, and snippets.

Created January 19, 2022 07:41
What would you like to do?
insert into sparkLog select
split(line, ' ')[0] as datedata,
split(line, ' ')[1] as timedata,
split(split(line, ': ')[0],' ')[3] as component,
split(line, ': ')[1] as action
from log ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment