0

我需要在流最终输出中添加一些列值。我正在使用“添加常量”,但它返回如下所示的错误:

2013/05/16 17:33:48 - 对 rows.0 排序 - 在此排序块中完成的二进制字符串到数据类型转换的数量为 0 2013/05/16 17:33:48 - Sort rows.0 - QuickSort 算法已完成。2013/05/16 17:33:48 - 表 output.0 - 准备好的语句:插入 ju2s6_jshopping_products(ITEMNO,,DESCCATEGORY,ITEMNO_1,UNITPRICE,product_ean,product_quantity,unlimited,product_date_added,date_modify,product_publish,product_tax_id,currency_id,product_template, product_url, product_old_price, product_buy_price, min_price, different_prices, product_weight, image, product_manufacturer_id, product_is_add_price, average_rating, reviews_count, delivery_times_id, hits, weight_volume_units, basic_price_unit_id, label_id, vendor_id, access, alias_en-GB, short_description_en-GB, description_en-GB, meta_title_en-GB, meta_description_en-GB, meta_keyword_en-GB, name_es-ES, alias_es-ES, short_description_es-ES, description_es-ES, meta_title_es-ES, meta_description_es-ES, meta_keyword_es-ES) 值 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? , ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )

“添加常量”添加的列的值似乎是“?”

有什么帮助吗?

4

1 回答 1

1

欢迎来到堆栈溢出。

这看起来像是表输出步骤中的问题,而不是添加常量。您确定所有列都正确并且与输入字段正确匹配吗?检查表输出步骤字段列表以确保。

如果您尚未选中“指定数据库字段”复选框,则必须确保该步骤的输入列(右键单击并选择“显示输入字段”)与数据库表字段的名称和顺序完全匹配。

请注意,如果您确实选中了“指定数据库字段”,并通过单击“获取字段”按钮填充了网格,那么 Kettle 所做的就是检索所有流字段并复制表字段的名称。如果其中任何一个不同,您必须找到并手动将表字段更改为正确的字段。

于 2013-05-16T23:35:12.210 回答