[ https://issues.apache.org/jira/browse/BEAM-13321?focusedWorklogId=707982&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-707982 ]
ASF GitHub Bot logged work on BEAM-13321: ----------------------------------------- Author: ASF GitHub Bot Created on: 13/Jan/22 01:28 Start Date: 13/Jan/22 01:28 Worklog Time Spent: 10m Work Description: lostluck commented on pull request #16489: URL: https://github.com/apache/beam/pull/16489#issuecomment-1011636544 There are these warnings?errors? in the Java Precommit: ``` > Task :sdks:java:io:google-cloud-platform:compileJava /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Commit/src/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQuerySchemaIOProvider.java:100: error: [override.param.invalid] Incompatible parameter type for dataSchema. public BigQuerySchemaIO from(String location, Row configuration, Schema dataSchema) { ^ found : @Initialized @NonNull Schema required: @Initialized @Nullable Schema Consequence: method @Initialized @NonNull BigQuerySchemaIO from(@Initialized @NonNull BigQuerySchemaIOProvider this, @Initialized @NonNull String p0, @Initialized @NonNull Row p1, @Initialized @NonNull Schema p2) in org.apache.beam.sdk.io.gcp.bigquery.BigQuerySchemaIOProvider cannot override @Initialized @NonNull SchemaIO from(@Initialized @NonNull SchemaIOProvider this, @Initialized @NonNull String p0, @Initialized @NonNull Row p1, @Initialized @Nullable Schema p2) in org.apache.beam.sdk.schemas.io.SchemaIOProvider /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Commit/src/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQuerySchemaIOProvider.java:139: error: [return.type.incompatible] incompatible types in return. return null; ^ type of expression: null (NullType) method return type: @Initialized @NonNull Schema /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Commit/src/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQuerySchemaIOProvider.java:153: error: [argument.type.incompatible] incompatible argument for parameter tableSpec of from. read = read.from(config.getString("table")); ^ found : @Initialized @Nullable String required: @Initialized @NonNull String /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Commit/src/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQuerySchemaIOProvider.java:156: error: [argument.type.incompatible] incompatible argument for parameter tableSpec of from. read = read.from(config.getString("query")).usingStandardSql(); ^ found : @Initialized @Nullable String required: @Initialized @NonNull String /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Commit/src/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQuerySchemaIOProvider.java:159: error: [argument.type.incompatible] incompatible argument for parameter location of withQueryLocation. read = read.withQueryLocation(config.getString("queryLocation")); ^ found : @Initialized @Nullable String required: @Initialized @NonNull String /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Commit/src/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQuerySchemaIOProvider.java:178: error: [argument.type.incompatible] incompatible argument for parameter tableSpec of to. write = write.to(config.getString("table")); ^ found : @Initialized @Nullable String required: @Initialized @NonNull String ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 707982) Time Spent: 3h 20m (was: 3h 10m) > [Cross-Language] Externalize a minimal Implementation of Java's BigQuery IO > --------------------------------------------------------------------------- > > Key: BEAM-13321 > URL: https://issues.apache.org/jira/browse/BEAM-13321 > Project: Beam > Issue Type: New Feature > Components: cross-language, io-java-gcp > Reporter: Daniel Oliveira > Assignee: Daniel Oliveira > Priority: P2 > Time Spent: 3h 20m > Remaining Estimate: 0h > > This is described in detail in this design doc: > [https://s.apache.org/beam-bigquery-externalization] > The short version of this task is to have a minimum viable implementation of > BigQuery IO available for cross-language usage via SchemaIO. -- This message was sent by Atlassian Jira (v8.20.1#820001)