来看段代码
#增量数据源
source incrementtest: test
{
sql_ranged_throttle = 100
sql_query_pre = insert into t values ('')
sql_query = insert into t values (now())
}
执行顺序为
1. sql_query_pre
2. sql_query