SANTA CLARA, Calif. (AP) _ Hortonworks Inc. (HDP) on Tuesday reported a loss of $41.2 million in its second quarter.

On a per-share basis, the Santa Clara, California-based company said it had a loss of 52 cents. Losses, adjusted for stock option expense and amortization costs, were 12 cents per share.

The results surpassed Wall Street expectations. The average estimate of four analysts surveyed by Zacks Investment Research was for a loss of 22 cents per share.

The business software company posted revenue of $86.3 million in the period, also topping Street forecasts. Four analysts surveyed by Zacks expected $80.3 million.

Hortonworks shares have declined 15 percent since the beginning of the year. In the final minutes of trading on Tuesday, shares hit $17.01, a rise of 14 percent in the last 12 months.

_____

This story was generated by Automated Insights (http://automatedinsights.com/ap) using data from Zacks Investment Research. Access a Zacks stock report on HDP at https://www.zacks.com/ap/HDP