Getty

Amazon.com (AMZN - Get Report) shares were rising in premarket trading Friday after Warren Buffett said Berkshire Hathaway (BRK.A - Get Report) (BRK.B - Get Report) has been buying shares of the online retailing giant.

Buffett told CNBC he hadn't made the decision, but that "one of the fellows in the office that manage money" bought shares of Amazon.

The comments pointed to Todd Combs or Ted Weschler, each of whom manages portfolios for Berkshire Hathaway, CNBC reported.

"Yeah, I've been a fan, and I've been an idiot for not buying" Amazon shares, Buffett said. "But I want you to know it's no personality changes taking place."

Berkshire Hathaway also owns about 250 million shares in fellow tech giant Apple (AAPL - Get Report) . making Berkshire the second-largest shareholder in the iPhone maker.

Berkshire is slated to report first-quarter earnings on Saturday. The company will file its quarterly update on details of its portfolio holdings later this month with the Securities and Exchange Commission.

Amazon shares were rising 2% on Friday to $1,939.28. The stock has risen 29% so far in 2019.

Amazon and Apple are holdings in Jim Cramer's Action Alerts PLUS member club. Want to be alerted before Jim Cramer buys or sells AMZN or AAPL? Learn more now.

Introducing TheStreet Courses: Financial titans Jim Cramer and Robert Powell are bringing their market savvy and investing strategies to you. Learn how to create tax-efficient income, avoid top mistakes, reduce risk and more. With our courses, you will have the tools and knowledge needed to achieve your financial goals. Learn more about TheStreet Courses on investing and personal finance here.

Trending Videos on TheStreet