ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taras Ledkov <tled...@gridgain.com>
Subject Re: Fetch column names in sql query results
Date Tue, 27 Jun 2017 10:23:11 GMT

Lets clarify.
Do you use IgniteCache#query(SqlFieldsQuery) that returns 
FieldsQueryCursor and
FieldsQueryCursor#getColumnsCount() returns zero?

On 27.06.2017 9:03, Megha Mittal wrote:
> Hi,
> I am using Ignite-2.0.0 and facing problem while using sql query. I need to
> fetch column names while querying but only a list is returned using
> SqlFieldsQuery with no column names. Also, I cannot use SqlQuery as I need
> to add some aggregate columns, case clauses etc in select clause as well .
> Please tell me is it possible to fetch column names while querying Ignite.
> --
> View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Fetch-column-names-in-sql-query-results-tp14089.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Taras Ledkov
Mail-To: tledkov@gridgain.com

View raw message