Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - What is the use case of ASSERT_TRUE()..?


Copy link to this message
-
What is the use case of ASSERT_TRUE()..?
rohithsharma 2012-08-02, 09:21
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