エラー
Error: Unsupported type VARBINARY (sqlType=-3) of 'aes_decrypt(p.cntct_tlphn_encrypt_1,'111')' column. Please add 'aes_decrypt(p.cntct_tlphn_encrypt_1,'111'): {value_type: string}' to 'column_options: {...}' option to convert the values to strings, or exclude the column from 'select:' option
原因
転送元MySQLのクエリにて復号化関数を使用して該当カラムがVARBINARY型になっています。VARBINARY型はEmbulkの仕様上、使用できないカラム型のためエラーが発生します。
対処法
該当のカラムをSELECT文から除外するか、CAST関数やCONVERT関数を使用して文字列型に変換することで転送が可能です。
コメント
0件のコメント
記事コメントは受け付けていません。