Is there any way by which I can update a value in rowset
Data:
1,apple,0
2,check,1
3,chec,1
USQL script:
@result = EXTRACT
ID int,
value string,
types int
FROM @"TLD_BT/sacmple.txt"
USING Extractors.Csv();
Now I would like to update the above result set @result set type =1 where value is apple
I tried below script.
UPDATE @result SET types=1 WHERE value="apple"
But I get below error:
UPDATE ### @result SET types=1 WHERE value="apple"
Error
E_CSC_USER_SYNTAXERROR
Message
syntax error. Expected one of: STATISTICS
Is there anyway by which I can update the value of a rowset or should I find out any other work around.