You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by rohithsharma <ro...@huawei.com> on 2012/08/02 11:21:52 UTC

What is the use case of ASSERT_TRUE()..?

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