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

andrewsmartin opened this Issue Mar 27, 2018 · 0 comments


None yet
1 participant

andrewsmartin commented Mar 27, 2018

[info]   java.lang.IllegalArgumentException: Unless using DynamicDestinations, .withSchema() is required.
[info]   at
[info]   at$TypedWrite.expand(
[info]   at$TypedWrite.expand(
[info]   at org.apache.beam.sdk.Pipeline.applyInternal(
[info]   at org.apache.beam.sdk.Pipeline.applyTransform(
[info]   at org.apache.beam.sdk.values.PCollection.apply(
[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