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

DatastoreToBigQuery CREATE_IF_NEEDED problem #55

Open
Leon2mb opened this issue Sep 5, 2019 · 1 comment
Open

DatastoreToBigQuery CREATE_IF_NEEDED problem #55

Leon2mb opened this issue Sep 5, 2019 · 1 comment
Labels

Comments

@Leon2mb
Copy link

Leon2mb commented Sep 5, 2019

Hi,

I'm trying to compile the DatastoreToBigQuery template. But I get this error

An exception occured while executing the Java class. CreateDisposit ion is CREATE_IF_NEEDED, however no schema was provided

I tried to compile the DatastoreToText and TextToBigQuery and both worked, but somehow, from DatastoreToBigQuery isn't working.

Here is the whole Log:

    at org.apache.beam.vendor.guava.v20_0.com.google.common.base.Preconditions.checkArgument (Preconditions.java:122)
    at org.apache.beam.sdk.io.gcp.bigquery.BigQueryIO$Write.expandTyped (BigQueryIO.java:2122)
    at org.apache.beam.sdk.io.gcp.bigquery.BigQueryIO$Write.expand (BigQueryIO.java:2099)
    at org.apache.beam.sdk.io.gcp.bigquery.BigQueryIO$Write.expand (BigQueryIO.java:1445)
    at org.apache.beam.sdk.Pipeline.applyInternal (Pipeline.java:537)
    at org.apache.beam.sdk.Pipeline.applyTransform (Pipeline.java:488)
    at org.apache.beam.sdk.values.PCollection.apply (PCollection.java:370)
    at com.google.cloud.teleport.templates.DatastoreToBigQuery.main (DatastoreToBigQuery.java:79)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282)
    at java.lang.Thread.run (Thread.java:748)```

Maybe someone had the same problem and can help me. 
@edvasqueza
Copy link

I got the same error, any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants