Retro Eye care Haitian Deep Dark Default

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 ::=
  string

Supplement

  • metaDataValue should be a Base64 string exported by EXPORT METADATA;
  • FROM FILE should point to a JSON file exported by EXPORT 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