alamb commented on issue #5793:
URL:
https://github.com/apache/arrow-datafusion/issues/5793#issuecomment-1490725671
> Invoking OwnedTableReference::from("schema.1table") produces an invalid
TableReference if the "table name" starts with a number. In this example the
result would be
I think this change in behavior came from
https://github.com/apache/arrow-datafusion/pull/5343
Basically, the code that used to parse `TableReference::from` was some
custom code in DataFusion that was not consistent with SQL parser.
If your goal is to replicate the old behavior you avoid calling
`TableReference::from` and instead use the old code (see
https://github.com/apache/arrow-datafusion/pull/5343/files#r1130008949) and
then call `TableReferencePartial::partial`
https://docs.rs/datafusion/21.0.0/datafusion/catalog/enum.TableReference.html#method.partial
cc @Jefffrey
--
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]