googleapis / googleapis/google-cloud-java

[java-spanner-jdbc] feat: Support CREATE DATABASE and ALTER DATABASE in JDBC

Đang mở
#12,284 0 bình luận 0 reaction 1 người được giao Được giao cho @olavloite Xem trên GitHub
api: spanner type: feature request
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

The JDBC driver supports all DDL statements that affect an existing database, but currently does not support `CREATE DATABASE`. It also does not support the `ALTER DATABASE` statement for any other database than the one that the client is connected to at that moment. This makes it difficult to create and maintain databases using JDBC. The JDBC driver should therefore support:
- Connecting to an instance without connecting to a specific database.
- Executing `CREATE DATABASE` statements
- Executing `ALTER DATABASE` statements for other databases than the one the client is connected to at that moment.
- Executing `DROP DATABASE` statements
- Listing existing databases on an instance (`SHOW VARIABLE DATABASES`)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.