030e5d987e
### What changes were proposed in this pull request? When creating v2 expressions, we have public java APIs, as well as interval scala APIs. All of these APIs take a string column name and parse it to `NamedReference`. This is convenient for end-users, but not for interval development. For example, the query plan already contains the parsed partition/bucket column names, and it's tricky if we need to quote the names before creating v2 expressions. This PR proposes to change the interval scala APIs to take `NamedReference` directly, with a new method to create `NamedReference` with the exact name parts. The public java APIs are not changed. ### Why are the changes needed? fix a bug, and make it easier to create v2 expressions correctly in the future. ### Does this PR introduce any user-facing change? yes, now v2 CREATE TABLE works as expected. ### How was this patch tested? a new test Closes #26425 from cloud-fan/extract. Authored-by: Wenchen Fan <wenchen@databricks.com> Signed-off-by: Ryan Blue <blue@apache.org> |
||
---|---|---|
.. | ||
benchmarks | ||
src | ||
pom.xml |