Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] SQL PREPARE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] SQL PREPARE
 Login/Join
 
Member
posted
Hello,
using Oracle connections we can do direct queries to the DB, syntax example:
 SET SQLENGINE = SQLORA
SQL SET SERVER DBNAME 

 SQL SQLORA PREPARE XPTO FOR SELECT COUNT(*)... 

How can i do the same but using Hive Apache Hive2 & Cloudera Impala Adapter?

tks,
PA

This message has been edited. Last edited by: P. Afonso,


Release : 8.0.02
OS : Linux
App Server : Tomcat
all output
 
Posts: 23 | Registered: June 26, 2012Report This Post
Guru
posted Hide Post
PA, the answer I would guess is that you can't. I tried to do it against Netezza, but no such luck.

Rgds
Håkan


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report This Post
Member
posted Hide Post
Well, it was very easy actually...

SET SQLENGINE = SQLHIV
SQL SET SERVER HIVE
-RUN

SQL SQLORA PREPARE XPTO FOR SELECT COUNT(*)... 


tks,
PA


Release : 8.0.02
OS : Linux
App Server : Tomcat
all output
 
Posts: 23 | Registered: June 26, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] SQL PREPARE

Copyright © 1996-2020 Information Builders