Hi Julian,
i want to retrieve columns names in calcite adapter code so as to rewrite the select clause query. I want to add few sudo columns in select and rewrite the query for my requirement. e:g from FilterableTable type we can access the where clause filters and manipulate the filters, in similar line i want to access the select clause and rewrite the query. Thanks, Ravi Katkar On Wed, Jan 25, 2017 at 9:59 PM, Julian Hyde <[email protected]> wrote: > Have you tried PreparedStatement.getMetaData()? > > > On Jan 25, 2017, at 5:11 AM, ravi katkar <[email protected]> > wrote: > > > > Hi list, > > > > I am working on POC for our requirement, majorly relying on the CSV > > adapter. > > > > I am looking way to retrieve the columns from the select clause from the > > sql -query in csv adapter. > > > > Eg: select firstname, lastname,dept from Employee where empid= 10; > > > > i want to retrive columns firstname, lastname, dept from the query. > > > > Thanks, > > Ravi K > >
