.create external table mapping コマンド

新しい外部テーブル データ マッピングを作成します。 詳細については、「 データ マッピング」を参照してください。

構文

.createexternaltableExternalTableNamemappingMappingNameMappingInJsonFormat

構文規則について詳しく知る。

パラメーター

名前 Type 必須 説明
ExternalTableName マッピングを割り当てる外部テーブルの名前。
Mappingname マッピングの名前。
MappingInJsonFormat JSON 形式のマッピング定義。

戻り値

新しいマッピング名、マッピングの種類、マッピング定義を含むテーブルを返します。

.create external table MyExternalTable mapping "Mapping1" '[{"Column": "rownumber", "Properties": {"Path": "$.rownumber"}}, {"Column": "rowguid", "Properties": {"Path": "$.rowguid"}}]'

出力

名前 種類 マッピング
mapping1 JSON [{"ColumnName":"rownumber","Properties":{"Path":"$.rownumber"}},{"ColumnName":"rowguid","Properties":{"Path":"$.rowguid"}}]