ebyhr commented on PR #4055:
URL: https://github.com/apache/iceberg-python/pull/4055#issuecomment-5944197468
```
______________________________ test_with_function
______________________________
def test_with_function() -> None:
with pytest.raises(ParseException) as exc_info:
parser.parse("foo = 1 and lower(bar) = '2'")
> assert "Expected end of text, found 'and'" in str(exc_info)
E assert "Expected end of text, found 'and'" in '<ExceptionInfo
Expected {{{W:(A-Z_a-z, $0-9A-Z_a-z) | string enclosed in \'"\'} [.
{W:(A-Z_a-z, $0-9A-Z_a-z) | string enclosed in \'"\'}]...}]... \'not\' \'like\'
string enclosed in single quotes} | \'true\' | \'false\'}, found \'lower\' (at
char 12), (line:1, col:13) tblen=3>'
E + where '<ExceptionInfo Expected {{{W:(A-Z_a-z, $0-9A-Z_a-z) |
string enclosed in \'"\'} [. {W:(A-Z_a-z, $0-9A-Z_a-z) | string enclosed in
\'"\'}]...}]... \'not\' \'like\' string enclosed in single quotes} | \'true\' |
\'false\'}, found \'lower\' (at char 12), (line:1, col:13) tblen=3>' =
str(<ExceptionInfo Expected {{{W:(A-Z_a-z, $0-9A-Z_a-z) | string enclosed in
'"'} [. {W:(A-Z_a-z, $0-9A-Z_a-z) | string enclosed in '"'}]...}]... 'not'
'like' string enclosed in single quotes} | 'true' | 'false'}, found 'lower'
(at char 12), (line:1, col:13) tblen=3>)
tests/expressions/test_parser.py:223: AssertionError
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]