Great Thanks a lot. :) @Niranda does your method mentioned in DAS docs. If not shall we add it. Its a helpful function.
Regards, Damith. On Thu, Mar 24, 2016 at 11:48 AM, Niranda Perera <nira...@wso2.com> wrote: > Hi Damith, > > you can set the schema again from Spark script also. you can write a query > llike this > > create temporary table <name> using CarbonAnalytics options (tableName > "<table name>", schema "<new schema>", mergeSchema "false"); > > On Thu, Mar 24, 2016 at 11:31 AM, Gimantha Bandara <giman...@wso2.com> > wrote: > >> Hi Damith, >> >> You can set update the existing schema using the REST APIs directly as >> mentioned here [1]. The table name cannot be removed from DAS. >> >> [1] https://docs.wso2.com/pages/viewpage.action?pageId=50505976 >> >> On Thu, Mar 24, 2016 at 9:37 AM, Damith Wickramasinghe <dami...@wso2.com> >> wrote: >> >>> Hi all, >>> >>> I have already created a table with some columns using spark queries and >>> inserted some data. But I need to add another column to it. Is there a way >>> to directly achieve this ? Or do I have to drop the table and reinitialize >>> it ? Also I cannot seems to find a way to remove the table also ? I have >>> purged all data in said table. >>> >>> Regards, >>> Damith. >>> >>> >>> -- >>> Software Engineer >>> WSO2 Inc.; http://wso2.com >>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> >>> lean.enterprise.middleware >>> >>> mobile: *+94728671315 <%2B94728671315>* >>> >>> >> >> >> -- >> Gimantha Bandara >> Software Engineer >> WSO2. Inc : http://wso2.com >> Mobile : +94714961919 >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Niranda Perera* > Software Engineer, WSO2 Inc. > Mobile: +94-71-554-8430 > Twitter: @n1r44 <https://twitter.com/N1R44> > https://pythagoreanscript.wordpress.com/ > -- Software Engineer WSO2 Inc.; http://wso2.com <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> lean.enterprise.middleware mobile: *+94728671315*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev