Support Questions
Find answers, ask questions, and share your expertise

hive error- Query returned non-zero code: 1, cause: Usage: list [FILE|JAR|ARCHIVE] [

Highlighted

hive error- Query returned non-zero code: 1, cause: Usage: list [FILE|JAR|ARCHIVE] [

New Contributor

hive shell return error ( Query returned non-zero code: 1, cause: Usage: list [FILE|JAR|ARCHIVE] [<value>) when tried to execute query on hive.

65407-hive.jpg

1 REPLY 1

Re: hive error- Query returned non-zero code: 1, cause: Usage: list [FILE|JAR|ARCHIVE] [

@SUDHIR KUMAR

To list tables, you need to use 'show tables;'.

Also, FYI, link is for Hive QL.

Don't have an account?