hive-udf Questions
3
I have a requirement to select * from all columns from a hive struct.
Hive create table script is here below
Create Table script
Select * from the table displays each struct as a column
select ...
Janenejanenna asked 16/3, 2017 at 22:54
4
Solved
I wanted to understand the UDF WeekOfYear and how it starts the first week. I had to artifically hit a table and run
the query . I wanted to not hit the table and compute the values. Secondly can ...
3
STEP 1:
I have written an UDF which will form 2 or more Struct columns like cars, bikes, buses. Also the UDF takes some info from other view called 'details'.
cars struct form is: ARRAY<STRUCT&...
2
Solved
My Hive table has a date column with UTC date strings. I want to get all rows for a specific EST date.
I am trying to do something like the below:
Select *
from TableName T
where TO_DATE(Convert...
1
Solved
I have a requirement to find median for multiple double datatype columns.Request suggestion to find the correct approach.
Below is my sample dataset with one column. I am expecting the median valu...
Bernabernadene asked 30/12, 2016 at 23:38
2
I am trying to collect a column with NULLs along with some values in that column...But collect_list ignores the NULLs and collects only the ones with values in it. Is there a way to retrieve the NU...
1
© 2022 - 2024 — McMap. All rights reserved.