Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Can tHiveinput run query by context variable

Hello guys,

 

Can anybody help confirm that can tHiveinput read query by context variable?

Such as context.getProperty("xxx_query")? Or only allowed query such as "select * from table a" Thanks a lot!

Labels (2)
1 Solution

Accepted Solutions
Aravind_Ravi
Contributor III
Contributor III

No.. You cannot use HiveContext in tHiveInput Component. If you want to use HiveContext in Talend you should have Talend Real-time Big-data or Talend Data Fabrics license.

 

If you have any one them., you can create a spark streaming job and you can use Hive and SparkContext .

 

PFA the Screenshot 

 

If this is what you are looking for then, Press the "Accept as Solution " Button. 

Thanks,

AR


Spark and Hive Context.png

View solution in original post

2 Replies
Aravind_Ravi
Contributor III
Contributor III

No.. You cannot use HiveContext in tHiveInput Component. If you want to use HiveContext in Talend you should have Talend Real-time Big-data or Talend Data Fabrics license.

 

If you have any one them., you can create a spark streaming job and you can use Hive and SparkContext .

 

PFA the Screenshot 

 

If this is what you are looking for then, Press the "Accept as Solution " Button. 

Thanks,

AR


Spark and Hive Context.png
Anonymous
Not applicable
Author

Thanks AR.