Skip to content
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

Allow Schema field selections in DoFn using NewDoFn injection #8311

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix SpotBugs.
  • Loading branch information
Reuven Lax committed Apr 25, 2019
commit bca379873b0d23ba06b26eb84d99b6e6e9df3612
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import static org.apache.beam.vendor.guava.v20_0.com.google.common.base.Preconditions.checkArgument;

import java.io.Serializable;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down Expand Up @@ -73,7 +74,7 @@
class DefaultSchemaProvider implements SchemaProvider {
final Map<TypeDescriptor, ProviderAndDescriptor> cachedProviders = Maps.newConcurrentMap();

private static final class ProviderAndDescriptor {
private static final class ProviderAndDescriptor implements Serializable {
final SchemaProvider schemaProvider;
final TypeDescriptor<?> typeDescriptor;

Expand Down