Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 75908

Questions about Hive and HiveQL.

1 vote
0 answers
2k views

Hive query with RANK() in a WHERE clause

I want to do this, to get all the rows for a given a,b combo that have the highest value of c: SELECT a, b, c FROM x WHERE RANK() OVER (PARTITION BY a,b ORDER BY c DESC) = 1 It fails, saying invali …
PhilHibbs's user avatar
  • 539
1 vote
0 answers
25 views

Defining external table on JSON with an @ sign in an element

I need to define a Hive external table onto a JSON file that has @ signs in its elements, e.g. …
PhilHibbs's user avatar
  • 539
0 votes
1 answer
6k views

Testing a Hive array for IS NULL says not null

I have a table containing an array, and I want to check if it is empty or NULL. It appears that I cannot check the NULL directly! Can anyone shed light on why the NULL check isn't working? create tabl …
PhilHibbs's user avatar
  • 539