[jira] [Created] (FLINK-12469) Clean up catalog API on default/current DB

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-12469) Clean up catalog API on default/current DB

Shang Yuanchun (Jira)
Xuefu Zhang created FLINK-12469:
-----------------------------------

             Summary: Clean up catalog API on default/current DB
                 Key: FLINK-12469
                 URL: https://issues.apache.org/jira/browse/FLINK-12469
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API
    Affects Versions: 1.9.0
            Reporter: Xuefu Zhang
            Assignee: Xuefu Zhang


Currently catalog API has get/setCurrentDatabase(), which is more user session specific. In our design principal, catalog instance is agnostic to user sessions. Thus, current database concept doesn't belong there. However, a catalog should support a (configurable) default database, which would be taken as user's current database when user's session doesn't specify a current DB.

This JIRA is to remove current database concept from catalog api and add default database instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)