[ 
https://issues.apache.org/jira/browse/BEAM-9253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031076#comment-17031076
 ] 

Tomo Suzuki commented on BEAM-9253:
-----------------------------------

[~bhulette] Once you fix the schema, would you run "Run SQL Postcommit" in 
https://github.com/apache/beam/pull/10765 to confirm the effect?

> SQL PostCommit failure: ClassCastException: java.lang.Integer cannot be cast 
> to java.lang.Long
> ----------------------------------------------------------------------------------------------
>
>                 Key: BEAM-9253
>                 URL: https://issues.apache.org/jira/browse/BEAM-9253
>             Project: Beam
>          Issue Type: Bug
>          Components: test-failures
>            Reporter: Tomo Suzuki
>            Assignee: Brian Hulette
>            Priority: Major
>             Fix For: 2.20.0
>
>         Attachments: VarLongCoder_is_applied_Integer.png
>
>
> SQL Postcommit check started failing since build number 3924. The first 
> failure: https://builds.apache.org/job/beam_PostCommit_SQL/3924/
> {noformat}
> org.apache.beam.sdk.extensions.sql.meta.provider.datacatalog.DataCatalogGCSIT.testReadFromGCS
> java.lang.ClassCastException: java.lang.Integer cannot be cast to 
> java.lang.Long
>       at org.apache.beam.sdk.coders.VarLongCoder.encode(VarLongCoder.java:35)
>       at 
> org.apache.beam.sdk.coders.RowCoderGenerator$EncodeInstruction.encodeDelegate(RowCoderGenerator.java:239)
>       at org.apache.beam.sdk.coders.Coder$ByteBuddy$WZzHUNls.encode(Unknown 
> Source)
>       at org.apache.beam.sdk.coders.Coder$ByteBuddy$WZzHUNls.encode(Unknown 
> Source)
>       at org.apache.beam.sdk.schemas.SchemaCoder.encode(SchemaCoder.java:166)
>       at 
> org.apache.beam.sdk.coders.IterableLikeCoder.encode(IterableLikeCoder.java:98)
> {noformat}
> History: https://builds.apache.org/job/beam_PostCommit_SQL/
> Pull request before the failure: 
> https://github.com/apache/beam/pull/10563#issuecomment-582384925
> DataCatalogGCSIT does not run locally: 
> https://gist.github.com/suztomo/43de4ff1f0458e801fef1a16a28da301
> DataCatalogGCSIT reads this Google Cloud Storage object:
> {code:java}
>     String gcsEntryId =
>         "`datacatalog`" // this is part of the resource name in DataCatalog, 
> so it has to be
>             + ".`entry`" // different from the table provider name ("dc" in 
> this test)
>             + ".`apache-beam-testing`"
>             + ".`us-central1`"
>             + ".`samples`"
>             + ".`integ_test_small_csv_test_1`";
> {code}
> but I cannot see the content.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to