Can a Virtual Cluster Name Contain Chinese Characters in GBase 8a?
Version 95 of the China-domestically developed GBase 8a MPP database from GBASE supports Virtual Clusters (VC), each with its own compute services for resource isolation. The short answer on naming: Chinese characters are not supported . A VC name may contain only upper- and lower-case letters, digits and underscores, with a maximum length of 64 characters. The gbase command line enforces this in…
GBase 8a, a database developed for the Chinese market, offers the capability of Virtual Clusters (VCs), each with its own set of compute services. However, when it comes to naming these VCs, there are strict rules to follow. The name for a VC can only contain uppercase and lowercase letters, numbers, and underscores, and must be a maximum of 64 characters long.
The gbase command line interface enforces these rules in two ways. First, the very first character of the name must be an English letter, either uppercase or lowercase. Starting the name with a digit, or using any other character, such as a full-width Chinese character, is rejected before any other checks are performed. The underscore is considered a legal character, but Chinese characters, including both full-width and narrow-width varieties, are not allowed.
These naming constraints apply to the VC names in the database's metadata rather than as display labels. It is recommended to keep these names as simple ASCII strings, starting with a letter, to avoid any potential issues and to ensure compatibility across different gbase clusters.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to