Hive Udf for TOP funtion

87 Views Asked by At

We are joining tables from hana and hive and a view creating query from Smart Data Access

EX: Select top 10 from hana.table join hive.table 

Hana support TOP funtion but Hive doesnt. Is there any existing UDF present in Hive similar to TOP. I know in hive we have LIMIT but we required a UDF function which similar to hana?

Please suggest any workaround for this problem. Thanks in advance.

1

There are 1 best solutions below

1
On

You will have to use the LIMIT function