为什么embulk跳过最后一个记录值?
是否有变通方案?
案例:一张错误的table
exec:<omit>
in:
type: oracle
{% include 'inc/oracle_axlink' %} # connection info
query: |
SELECT CTOIAWASE_NO, CTOIAWASE_YY, NSYDN_ORDER
FROM TEST.TABLE1
WHERE CTOIAWASE_NO >= :CTOIAWASE_NO
AND CTOIAWASE_YY >= :CTOIAWASE_YY
AND NSYDN_ORDER >= :NSYDN_ORDER
use_raw_query_with_incremental: true
incremental_columns: [ CTOIAWASE_NO, CTOIAWASE_YY, NSYDN_ORDER ]
incremental: true
last_record: [ "00100002", "2020", 1 ]
options: {characterEncoding: MS932, characterSetResults: MS932,serverTimezone: JST}
fetch_rows: 10000
default_column_options:
NUMERIC: { value_type: long }
DECIMAL: { value_type: long }
out:<omit>
错误
x一个一个一个一个x一个一个二个x
1条答案
按热度按时间8hhllhi21#
回答有点晚了,但你能试试这个吗?
(假设这些列是数字列)