tokens: As mentioned in the comments by VKP , you cannot pull from the CASE statement in the same query , to get around that you can just create an additional SELECT for the CASE statement
ner_tags: O O O O O O B-User_Name O O O O O O B-Code_Block O O O O O O O O O O O O O O O O B-Code_Block O O B-Code_Block O