throw exception when invalid result in sqlok, otherwise we might stuck in infinite loop