New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException when writing avro using AvroIO.TypedWrite #1088

Closed
andrewsmartin opened this Issue Mar 27, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@andrewsmartin
Contributor

andrewsmartin commented Mar 27, 2018

[info]   java.lang.IllegalArgumentException: Unless using DynamicDestinations, .withSchema() is required.
[info]   at org.apache.beam.sdk.repackaged.com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
[info]   at org.apache.beam.sdk.io.AvroIO$TypedWrite.expand(AvroIO.java:1173)
[info]   at org.apache.beam.sdk.io.AvroIO$TypedWrite.expand(AvroIO.java:848)
[info]   at org.apache.beam.sdk.Pipeline.applyInternal(Pipeline.java:537)
[info]   at org.apache.beam.sdk.Pipeline.applyTransform(Pipeline.java:491)
[info]   at org.apache.beam.sdk.values.PCollection.apply(PCollection.java:299)
[info]   at com.spotify.scio.values.PCollectionWrapper.applyInternal(PCollectionWrapper.scala:44)
[info]   at com.spotify.scio.values.PCollectionWrapper.applyInternal$(PCollectionWrapper.scala:42)
[info]   at com.spotify.scio.values.SCollectionImpl.applyInternal(SCollection.scala:1279)
[info]   at com.spotify.scio.values.SCollection.saveAsTypedAvroFile(SCollection.scala:976)

@andrewsmartin andrewsmartin added the bug label Mar 27, 2018

@andrewsmartin andrewsmartin self-assigned this Mar 27, 2018

andrewsmartin added a commit that referenced this issue Mar 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment