[
https://issues.apache.org/jira/browse/BEAM-9253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030661#comment-17030661
]
Alexey Romanenko commented on BEAM-9253:
----------------------------------------
More details about failing test:
{code}
:sdks:java:extensions:sql:datacatalog:integrationTest »
org.apache.beam.sdk.extensions.sql.meta.provider.datacatalog.DataCatalogGCSIT »
testReadFromGCS (7.486s)
java.lang.Integer cannot be cast to java.lang.Long
java.lang.ClassCastException: java.lang.Integer cannot be cast to
java.lang.LongOpen stacktrace
[Test worker] INFO org.apache.beam.sdk.extensions.sql.impl.CalciteQueryPlanner
- SQL:
SELECT `integ_test_small_csv_test_1`.`id`,
`integ_test_small_csv_test_1`.`name`, `integ_test_small_csv_test_1`.`type`
FROM
`dc`.`datacatalog`.`entry`.`apache-beam-testing`.`us-central1`.`samples`.`integ_test_small_csv_test_1`
AS `integ_test_small_csv_test_1`
[Test worker] INFO org.apache.beam.sdk.extensions.sql.impl.CalciteQueryPlanner
- SQLPlan>
LogicalProject(id=[$0], name=[$1], type=[$2])
BeamIOSourceRel(table=[[dc, datacatalog, entry, apache-beam-testing,
us-central1, samples, integ_test_small_csv_test_1]])
[Test worker] INFO org.apache.beam.sdk.extensions.sql.impl.CalciteQueryPlanner
- BEAMPlan>
BeamCalcRel(expr#0..2=[{inputs}], proj#0..2=[{exprs}])
BeamIOSourceRel(table=[[dc, datacatalog, entry, apache-beam-testing,
us-central1, samples, integ_test_small_csv_test_1]])
{code}
> 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
> Priority: Major
>
> 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)