Hitachi

Hitachi Advanced Database メッセージ


KFAA31564-E

There is an error in the specification method of aa....aa in the CREATE FOREIGN TABLE statement. (reason = bb....bb) (M+J+O)

CREATE FOREIGN TABLE文のaa....aaの指定方法に誤りがあります。 <SQLSTATE:42I7C>

aa....aa:誤りがある指定個所
  • foreign data directory path string:外部データのディレクトリパス文字列

  • foreign table option:外部表オプション

  • partition key column option specification:パーティションキー列のオプション指定

  • partition key column specification:パーティションキー列指定

  • attribute property:属性プロパティ

  • enumeration string:列挙文字列

  • minimum value string or integer:最小値文字列または最小値整数

  • maximum value string or integer:最大値文字列または最大値整数

  • datetime format string:日時書式文字列

  • template directory path string:テンプレートディレクトリパス文字列

  • catalog type specification:カタログ種別指定

  • catalog URI specification:カタログURI指定

  • catalog namespace specification:カタログ名前空間指定

  • catalog region specification:カタログリージョン指定

  • catalog ID specification:カタログID指定

  • warehouse name specification:ウェアハウス名指定

  • Iceberg option:Icebergオプション

  • token URI specification:トークンURI指定

  • client ID specification:クライアントID指定

  • client secret specification:クライアントシークレット指定

  • allowed scope specification:許可スコープ指定

  • column definition:列定義

bb....bb:エラーの原因

bb....bbの値

説明

's3://' or 'file://' is not specified at the beginning of the string

文字列の先頭にs3://またはfile://が指定されていません。

  • 外部データの格納先がオブジェクトストレージの場合は,外部データのディレクトリパス文字列の先頭にs3://を指定する必要があります。

  • 外部データの格納先がファイルストレージの場合は,外部データのディレクトリパス文字列の先頭にfile://を指定する必要があります。

'/' is not specified to the tail of string

文字列の末尾に/が指定されていません。

neither the foreign data format nor the foreign data directory path, or both, have been specified

次の2つの必須の指定が指定されていません。両方の指定がないか,または片方の指定だけがあります。

  • 外部データのデータ形式指定

  • 外部データのディレクトリパス指定

the option cannot be specified when the foreign data format is not CSV

指定したオプションは,外部データのデータ形式がCSV形式のときに限り指定できます。

the option can only be specified when the foreign data format is ICEBERG

指定したオプションは,外部データのデータ形式指定にICEBERGを指定したときに限り指定できます。

the option cannot be specified when the foreign data format is ICEBERG

指定したオプションは,外部データのデータ形式指定にICEBERGを指定したときは指定できません。

an option that must be specified when the foreign data format is ICEBERG is not specified

外部データのデータ形式指定にICEBERGを指定したときに必須となるオプションが指定されていません。

the partition key column must be specified when the partition key column option is specified

パーティションキー列のオプション指定を指定する場合,パーティションキー列指定の指定が必要です。

the partition key column cannot be specified when the partition key column option is omitted

パーティションキー列のオプション指定を省略する場合,パーティションキー列指定は指定できません。

the same attribute property cannot be specified for the same column name

同じ列名に対して,同じ種類の属性プロパティは指定できません。

the column name specified in the attribute property must be the same as the column name of the partition key column

属性プロパティに指定する列名は,パーティションキー列指定の列名と同じにする必要があります。

the combination of the attribute property is invalid

指定できる属性プロパティの組み合わせが不正です。

an attribute property that must be specified is not specified

指定が必要な属性プロパティが指定されていません。

the data length of the value that can be specified for the enumeration string exceeds the upper limit

列挙文字列に指定した各文字列のうち,データ長の上限を超えている文字列があります。

the number of values that can be specified for the enumeration string exceeds the upper limit

列挙文字列に指定した文字列の数が上限を超えています。

the value of the minimum value string or integer is higher than the value of the maximum value string or integer

最小値文字列の値に,最大値文字列の値よりも大きな値を指定しています。または,最小値整数の値に,最大値整数の値よりも大きな値を指定しています。

the minimum value string or maximum value string cannot be converted to a date-time value by using the datetime format string

指定された日時書式文字列に従って,最小値文字列または最大値文字列を日時値に変換できませんでした。

the header of the template directory path string must be the same as the foreign data directory path string

テンプレートディレクトリパス文字列の先頭は,外部データのディレクトリパス文字列と同じにする必要があります。

the data type for the partition key column cannot be specified

パーティションキー列のデータ型に指定できないデータ型を指定しています。

the data length is over

データ長が上限を超えています。

the combination of the time unit and the specified value for the TYPE is invalid

TYPEの指定値と時間単位の指定値の組み合わせに誤りがあります。

values for each element in the enumeration string, minimum value integer, maximum value integer, a minimum value string or a maximum value string cannot be converted to the value for the data type of the partition key column

列挙文字列中の各文字列,最小値整数,最大値整数,最小値文字列,または最大値文字列を,パーティションキー列のデータ型に変換できませんでした。

the variables for all partition key columns are not specified in the template directory path string

テンプレートディレクトリパス文字列中に,すべてのパーティションキー列に対応する変数が指定されていません。

a foreign server cannot be omitted when the foreign data directory path string is specified in S3 URI format (when external data is stored in object storage)

外部データのディレクトリパス文字列をS3 URI形式で指定している場合(外部データをオブジェクトストレージに格納している場合),外部サーバを指定する必要があります。

a foreign server cannot be specified when the foreign data directory path string is specified in FILE URI format (when external data is stored in file storage)

外部データのディレクトリパス文字列をFILE URI形式で指定している場合(外部データをファイルストレージに格納している場合),外部サーバは指定できません。

the string does not start with 'http://' or 'https://'

文字列の先頭が,http://またはhttps://のどちらかではありません。

the option cannot be specified when the catalog type is GLUE

カタログ種別指定にGLUEを指定したときに指定できないオプションを指定しています

the Iceberg option that must be specified when the catalog type is GLUE is not specified

カタログ種別指定にGLUEを指定したときに必須となるIcebergオプションが指定されていません。

the option cannot be specified when the catalog type is REST

カタログ種別指定にRESTを指定したときに指定できないオプションを指定しています

the Iceberg option that must be specified when the catalog type is REST is not specified

カタログ種別指定にRESTを指定したときに必須となるIcebergオプションが指定されていません。

the token URI specification, client ID specification, client secret specification, and allowed scope specification must be all specified or all omitted

トークンURI指定,クライアントID指定,クライアントシークレット指定,および許可スコープ指定は,すべて指定するか,またはすべて省略するかのどちらかにする必要があります。

(S)

このSQL文を無視します。または,このトランザクションを無効にします。

〔対策〕

SQL文を修正してください。