Re: [Dev] DAS - How to change the schema of a table

2016-03-23 Thread Damith Wickramasinghe
Hi Sachith , Thanks. I missed it . Regards, Damith. On Thu, Mar 24, 2016 at 12:13 PM, Sachith Withana wrote: > Hi Damith, > > You can find it here : > https://docs.wso2.com/display/DAS301/Spark+Query+Language > > Thanks, > Sachith > > On Thu, Mar 24, 2016 at 12:07 PM, Damith Wickramasinghe >

Re: [Dev] DAS - How to change the schema of a table

2016-03-23 Thread Sachith Withana
Hi Damith, You can find it here : https://docs.wso2.com/display/DAS301/Spark+Query+Language Thanks, Sachith On Thu, Mar 24, 2016 at 12:07 PM, Damith Wickramasinghe wrote: > Great Thanks a lot. :) @Niranda does your method mentioned in DAS docs. If > not shall we add it. Its a helpful function.

Re: [Dev] DAS - How to change the schema of a table

2016-03-23 Thread Damith Wickramasinghe
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 wrote: > Hi Damith, > > you can set the schema again from Spark script also. you can write a query > llike th

Re: [Dev] DAS - How to change the schema of a table

2016-03-23 Thread Niranda Perera
Hi Damith, you can set the schema again from Spark script also. you can write a query llike this create temporary table using CarbonAnalytics options (tableName "", schema "", mergeSchema "false"); On Thu, Mar 24, 2016 at 11:31 AM, Gimantha Bandara wrote: > Hi Damith, > > You can set update t

Re: [Dev] DAS - How to change the schema of a table

2016-03-23 Thread Gimantha Bandara
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 wrote: > Hi all, > > I have al

[Dev] DAS - How to change the schema of a table

2016-03-23 Thread Damith Wickramasinghe
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