Solved the problem of validating select query result expressions during parsing. Validation functions can be executed immediately or when the symbol scope is closing.