![]() |
VOOZH | about |
The CData Excel Add-In for Phoenix provides formulas that can query Phoenix data. The following three steps show how you can automate the following task: Search Phoenix data for a user-specified value and then organize the results into an Excel spreadsheet.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as ApachePhoenixConnection1, or a connection string. The connection string consists of the required properties for connecting to Phoenix data, separated by semicolons.
Connect to Apache Phoenix via the Phoenix Query Server. Set the Server and Port (if different from the default port) properties to connect to Apache Phoenix. The Server property will typically be the host name or IP address of the server hosting Apache Phoenix.
By default, no authentication will be used (plain). If authentication is configured for your server, set AuthScheme to NEGOTIATE and set the User and Password properties (if necessary) to authenticate through Kerberos.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM MyTable WHERE Id = '"&B3&"'","Server="&B1&";Port="&B2&";Provider=ApachePhoenix",B4)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Phoenix to get started:
Download NowLearn more:
👁 Apache Phoenix IconThe Phoenix Excel Add-In is a powerful tool that allows you to connect with Apache Phoenix, directly from Microsoft Excel.
Use Excel to read, write, and update HBase through Apache Phoenix. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!