This repository has been archived by the owner on Nov 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 326
BigQueryIO.Read.fromQuery breaks on EU datasets #405
Comments
@davidpadbury can you confirm that this is the Direct or InProcesPipelineRunner? @peihe -- can you take a look? |
@dhalperi ah sorry. The |
Yeah. So I bet that per #86 this is fixed only in the DataflowPipelineRunner. We will fix this for the Direct/InProcess runners in the next cut. |
Thanks for the bug report! |
We can re-pro the same issue when querying from an EU table. Works with the public shakespeare table. import com.google.api.services.bigquery.Bigquery;
import com.google.cloud.dataflow.sdk.util.BigQueryTableRowIterator;
import java.io.IOException;
public class Test {
public static void main(String[] args) throws IOException, InterruptedException {
Bigquery bq = BigQueryClient.defaultInstance().bigquery();
BigQueryTableRowIterator iterator = BigQueryTableRowIterator.fromQuery(
"SELECT word FROM [data-integration-test:samples_eu.shakespeare]",
"data-integration-test", bq, false);
iterator.open();
iterator.advance();
System.out.println(iterator.getCurrent());
}
} |
Fix will be released in 1.7.0 |
I'm still having this issue with version 2.0.0 using the renamed DataflowRunner. Although it could be some other sort of staging option, there are a lot of pipeline options. |
Can you provide a simple repro? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The query creates a temporary Dataset that by default has it's location in the US. Executing a query against a EU dataset throws the exception:
Closed issue #86 referenced fixing an almost identical error, but still seems broken in
1.7.0-SNAPSHOT
.The text was updated successfully, but these errors were encountered: