tonywasson opened a new pull request, #62591:
URL: https://github.com/apache/doris/pull/62591
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: Add current_database() as a small compatibility alias for
the existing database() builtin so portable SQL can resolve the current
database name without rewrites.
### Release note
Support current_database() as an alias of database().
### Check List (For Author)
- Test: FE checkstyle and regression test update
- Manual test / No need to test (with reason)
- Behavior changed: Yes (adds a compatibility alias for current database
lookup)
- Does this need documentation: No
--
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]