Was the BeamRecord type removed from Apache Beam?

Weston Sankey :

I'm working on an Apache Beam project and have found usage of the BeamRecord type in other projects. I'm unable to import this type using the latest version of the Java SDK (2.14.0) and am only able to access it when downgrading to version 2.3.0. I checked the API documentation and there is no indication that this type has been deprecated. Is the API documentation out of date? If so, which type should be used instead?

Ryan Skraba :

You might be interested in Beam Row, which replaced BeamRecord.

You are correct, there's no mention of it in the release notes.

This is the commit that migrated to BeamRecord to Row. It's still annotated @Experimental, but it's become one of the key element types in Beam, used with the Beam SQL APIs and is integrated with a number of IOs.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325889&siteId=1