Skip to content

Instantly share code, notes, and snippets.

@anuvrat
Created February 26, 2012 13:10
Show Gist options
  • Select an option

  • Save anuvrat/1916616 to your computer and use it in GitHub Desktop.

Select an option

Save anuvrat/1916616 to your computer and use it in GitHub Desktop.
from (
select
transform(full_name, address, email_id)
using 's3://<>/parse_name.pl'
as (first_name, last_name, address, email_id)
from names_table
) t
select t.first_name, t.last_name, t.address, t.email_id
where t.last_name like 'Singh';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment