- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hive query returns zero result
- Labels:
-
Apache Hive
-
Cloudera Hue
Created ‎07-09-2018 01:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm getting zero result from my hive query in Hue without any error message. I'm sure the table that I'm using in the database are not empty.
Does anyone know what the issue could be?
Thank you!
Created ‎07-09-2018 03:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please add also Hue label...because there might be some Hue experts who might be able to help.
Created ‎07-09-2018 03:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Was this recently import it? added a file to it?
If so, you might need to run ANALYZE TABLE
ANALYZE TABLE <TABLE_NAME> COMPUTE STATISTICS
Created ‎07-09-2018 03:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm creating a table using hive. I'm inner joining the tables in our data warehouse to get the result. I'm not trying to import anything.
Created ‎07-10-2018 05:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you already try to use hive directly instead of hue? Are you using ranger? If yes, have you check the policies?
Created ‎07-10-2018 10:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The issue might be with your INNER JOINs. Try and temporarily replace them with (LEFT) OUTER JOINs and see if any data get returned.
,The problem might lie with your INNER JOINs. Temporarily replace them with (LEFT) OUTER JOINs and see if any data get returned.
