IMPORT METADATA
Description
The IMPORT METADATA syntax is used to import cluster metadata from file or inline value.
Syntax
ImportMetaData ::=
'IMPORT' 'METADATA' (metaDataValue | 'FROM' 'FILE' filePath)
metaDataValue ::=
string
filePath ::=
stringSupplement
metaDataValueshould be a Base64 string exported byEXPORT METADATA;FROM FILEshould point to a JSON file exported byEXPORT METADATA TO FILE;- If the imported metadata contains an existing logical database, import will fail;
- If the metadata file does not exist or content format is invalid, import will fail.
Example
IMPORT METADATA FROM FILE '/tmp/metadata.json';IMPORT METADATA 'eyJtZXRhX2RhdGEiOns...';Reserved word
IMPORT, METADATA, FROM, FILE