Skip to content

Only simple query works but not complex queries or agreegated functions #88

@pratikdhamanekar

Description

@pratikdhamanekar

When I run simple query as below it works
rhive.query("select * from tablename where name ='xxx'");

but

When I try aggregated query as below it doesn't work.
rhive.query("select count(*) from tablename where name ='xxx'");

I'm getting the following error:
Error: java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

Anyone has any inputs on this?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions