Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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()..?
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

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB