andygrove opened a new issue, #4081:
URL: https://github.com/apache/arrow-datafusion/issues/4081
**Describe the bug**
The logic in `impl<'a> From<&'a str> for TableReference<'a>` simply splits a
string on `.` and is creating invalid table references in some cases, such as:
```
Partial { schema: "COUNT(DISTINCT partsupp", table: "ps_suppkey)" }
```
**To Reproduce**
We should write some unit tests for complex expressions
**Expected behavior**
We should add logic to determine if the string represents a column reference
or a complex expression (we could use the SQL parser to parse an identifier)
**Additional context**
None
--
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]