hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rohithsharma <rohithsharm...@huawei.com>
Subject What is the use case of ASSERT_TRUE()..?
Date Thu, 02 Aug 2012 09:21:52 GMT
Hi Users,

 What is the use case of ASSERT_TRUE()..? When ASSERT_TRUE() is executed
from JDBC client , it is not able to retrieve the result throwing Exception.

 

Which  is the correct use of ASSERT_TRUE()  true function.

1.       SELECT assert_true(key > 0) FROM src

2.       SELECT 1 + assert_true(key > 0) FROM src

3.       SELECT key + assert_true(key > 0) FROM src

 

 

Thanks in advance

 

Regards

Rohith Sharma K S


Mime
View raw message