queryparser icon indicating copy to clipboard operation
queryparser copied to clipboard

Question about Hive LATERAL VIEW

Open ruoguluo opened this issue 6 years ago • 2 comments

Hello,

Is the queryparser support Hive lateral view query and udf functions?

Thanks, Russell

ruoguluo avatar May 07 '18 22:05 ruoguluo

Hello,

Queryparser supports Hive lateral view query, and has simple support for UDF functions.

Lateral view query is defined here: https://github.com/uber/queryparser/blob/master/src/Database/Sql/Type/Query.hs#L158

Queryparser currently supports parsing function names, but doesn't have deep functionality, just captures the function name. That's defined here: https://github.com/uber/queryparser/blob/master/src/Database/Sql/Type/Names.hs#L334

Let me know if that answers your question.

Cheers, Heli

h4v0kh3l1 avatar May 07 '18 23:05 h4v0kh3l1

Thanks Heli!

ruoguluo avatar May 10 '18 00:05 ruoguluo