Teradata's bet on subscriptions is paying off