Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-3945

Non-Beam BigQuery Input throws error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • API, Build, Pipelines, Transforms
    • None

    Description

      When running the Beam BigQuery Input transform in a local pipeline engine we get the following error:

      2022/05/18 10:15:35 - apache-hop.it.customers.0 - ERROR: java.lang.NoSuchMethodError: 'java.util.List com.google.api.services.bigquery.model.JobConfigurationQuery.getConnectionProperties()'
      2022/05/18 10:15:35 - apache-hop.it.customers.0 -     at com.google.cloud.bigquery.QueryJobConfiguration$Builder.<init>(QueryJobConfiguration.java:255)
      2022/05/18 10:15:35 - apache-hop.it.customers.0 -     at com.google.cloud.bigquery.QueryJobConfiguration$Builder.<init>(QueryJobConfiguration.java:96)
      2022/05/18 10:15:35 - apache-hop.it.customers.0 -     at com.google.cloud.bigquery.QueryJobConfiguration.fromPb(QueryJobConfiguration.java:1081)
      2022/05/18 10:15:35 - apache-hop.it.customers.0 -     at com.google.cloud.bigquery.JobConfiguration.fromPb(JobConfiguration.java:128)
      2022/05/18 10:15:35 - apache-hop.it.customers.0 -     at com.google.cloud.bigquery.JobInfo$BuilderImpl.<init>(JobInfo.java:158)
      2022/05/18 10:15:35 - apache-hop.it.customers.0 -     at com.google.cloud.bigquery.Job.fromPb(Job.java:497)
      2022/05/18 10:15:35 - apache-hop.it.customers.0 -     at com.google.cloud.bigquery.BigQueryImpl.create(BigQueryImpl.java:363)
      2022/05/18 10:15:35 - apache-hop.it.customers.0 -     at com.google.cloud.bigquery.BigQueryImpl.create(BigQueryImpl.java:340)
      2022/05/18 10:15:35 - apache-hop.it.customers.0 -     at org.apache.hop.beam.transforms.bq.BeamBQInput.processRow(BeamBQInput.java:100)
      2022/05/18 10:15:35 - apache-hop.it.customers.0 -     at org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:51)
      2022/05/18 10:15:35 - apache-hop.it.customers.0 -     at java.base/java.lang.Thread.run(Thread.java:829) 

      So the google-api-services-bigquery library needs an update.

      Attachments

        Issue Links

          Activity

            People

              mcasters Matt Casters
              mcasters Matt Casters
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: