Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Cannot switch on a value of type String. Only convertible int values or enum constants are permitted
switch (input_row.TYPE) {
case "A" :
context.table = "a";
break;
case "B" :
context.table = "b";
break;
case "C" :
context.table = "b";
break;
case "D" :
context.table = "c";
break;
case "E" :
context.table = "d";
break;
default :
throw new IllegalArgumentException("Unknown truncate action !");
}Starting job a at 09:53 23/01/2015.
connecting to socket on port 3837
connected
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Cannot switch on a value of type String. Only convertible int values or enum constants are permitted
at a.b.c.tFileInputDelimited_1Process(c.java:589)
at a.b.c.runJobInTOS(c.java:914)
at a.b.c.main(c.java:757)
Job a ended at 09:53 23/01/2015.