lycanlee commented on issue #12957:
URL: https://github.com/apache/hudi/issues/12957#issuecomment-2769388504

   So I thought that my error might have been fixed by this PR:  
https://github.com/apache/hudi/pull/10830
   
   
   Which is included in 15.0 so I upgraded to 15.0 but now I am getting the 
following error (that is different) on first time upgrading.
   
   ```
   Exception in thread "main" java.lang.NoSuchMethodError: 
com.google.api.services.bigquery.model.TableFieldSchema.getDefaultValueExpression()Ljava/lang/String;
        at com.google.cloud.bigquery.Field.fromPb(Field.java:520)
        at com.google.cloud.bigquery.Field$1.apply(Field.java:43)
        at com.google.cloud.bigquery.Field$1.apply(Field.java:40)
        at 
com.google.common.collect.Lists$TransformingRandomAccessList$1.transform(Lists.java:612)
        at 
com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)
        at java.util.AbstractCollection.toArray(AbstractCollection.java:141)
        at 
com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258)
        at 
com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:231)
        at com.google.cloud.bigquery.FieldList.<init>(FieldList.java:52)
        at com.google.cloud.bigquery.FieldList.of(FieldList.java:118)
        at com.google.cloud.bigquery.FieldList.fromPb(FieldList.java:126)
        at com.google.cloud.bigquery.Schema.fromPb(Schema.java:100)
        at 
com.google.cloud.bigquery.TableDefinition$Builder.table(TableDefinition.java:128)
        at 
com.google.cloud.bigquery.ExternalTableDefinition.fromPb(ExternalTableDefinition.java:463)
        at 
com.google.cloud.bigquery.TableDefinition.fromPb(TableDefinition.java:167)
        at 
com.google.cloud.bigquery.TableInfo$BuilderImpl.<init>(TableInfo.java:206)
        at com.google.cloud.bigquery.Table.fromPb(Table.java:642)
        at 
com.google.cloud.bigquery.BigQueryImpl.getTable(BigQueryImpl.java:797)
        at 
org.apache.hudi.gcp.bigquery.HoodieBigQuerySyncClient.tableNotExistsOrDoesNotMatchSpecification(HoodieBigQuerySyncClient.java:305)
        at 
org.apache.hudi.gcp.bigquery.BigQuerySyncTool.syncTable(BigQuerySyncTool.java:141)
        at 
org.apache.hudi.gcp.bigquery.BigQuerySyncTool.syncHoodieTable(BigQuerySyncTool.java:113)
        at 
org.apache.hudi.gcp.bigquery.BigQuerySyncTool.main(BigQuerySyncTool.java:195)
        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.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
        at 
org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:976)
        at 
org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:180)
        at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:203)
        at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:90)
        at 
org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:1064)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1073)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to