presto:default> select url_extract_query ('http://www.tutorialspoint.com/hive?title=hive&action=post') as query;
query ------------------------ title = hive&action=post