As the switch is not working properly, the lights are not glowing and i am unable to watch TV. i am sitting in the dark now. Can anybody fix the issue and help me to watch TV?
I am just kidding
![Smile :)](./images/smilies/icon_smile.gif)
Coming to the issue, I have designed a simple job as below.
Code: Select all
Seq_File --> Switch --> Seq_1
--> Seq_2
--> Seq_3
- Switch_18: Parse error on case string: isin like 'A%' = 0, isin like 'B%' = 1, isin like 'C%' = 2;
multiple `=' tokens were seen.
My input file has a column called 'isin'. my requirement is,
A) If the 'isin' starts with 'A' store it in a file (A.txt)
B) If the 'isin' starts with 'B' store it in a file (B.txt)
C) If the 'isin' starts with 'C' store it in a file (C.txt)
Note: I used Filter stage for this and it worked fine. Although i have read about SWITCH in the manual and came to know it works similar to FILTER. Thats why i tried to know what is happening.
simply, will SWITCH stage support WILD CARD condition check? If yes, what i am missing here.