Skip to content

[datastream-to-spanner] Unable to convert field timestamp to long #936

[datastream-to-spanner] Unable to convert field timestamp to long

[datastream-to-spanner] Unable to convert field timestamp to long #936

Triggered via pull request December 2, 2025 05:51
Status Success
Total duration 45m 36s
Artifacts 2

datastream-pr.yml

on: pull_request
Dataflow Templates Integration Smoke Tests
2m 25s
Dataflow Templates Integration Smoke Tests
Dataflow Templates Integration Tests
39m 34s
Dataflow Templates Integration Tests
Dataflow Templates Load Tests
0s
Dataflow Templates Load Tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
SpannerTransactionWriterDoFnTest.testProcessElement: SpannerTransactionWriterDoFnTest#L211
expected:<insert_or_update(shadow_Users{first_name=Johnny,last_name=Depp,shadow_timestamp=12345,log_file=,log_position=-1})> but was:<insert_or_update(shadow_Users{first_name=Johnny,last_name=Depp,timestamp=12345,log_file=,log_position=-1})>
ProcessInformationSchemaTest.canCreateShadowTablesInSpanner: ProcessInformationSchemaTest#L464
Argument(s) are different! Wanted: databaseAdminClient.updateDatabaseDdl( "sample-value", "sample-value", [CREATE TABLE `shadow_Users_interleaved` ( `first_name` STRING(MAX), `last_name` STRING(5), `age` INT64, `bool_field` BOOL, `int64_field` INT64, `float64_field` FLOAT64, `string_field` STRING(MAX), `bytes_field` BYTES(MAX), `timestamp_field` TIMESTAMP, `date_field` DATE, `id` INT64, `timestamp` INT64, `log_file` STRING(MAX), `log_position` INT64, ) PRIMARY KEY (`first_name` ASC, `last_name` DESC, `age` ASC, `bool_field` ASC, `int64_field` ASC, `float64_field` ASC, `string_field` ASC, `bytes_field` ASC, `timestamp_field` ASC, `date_field` ASC, `id` ASC)], null ); -> at com.google.cloud.teleport.v2.templates.spanner.ProcessInformationSchemaTest.canCreateShadowTablesInSpanner(ProcessInformationSchemaTest.java:464) Actual invocations have different arguments: databaseAdminClient.updateDatabaseDdl( "sample-value", "sample-value", [CREATE TABLE `shadow_Users_interleaved` ( `first_name` STRING(MAX), `last_name` STRING(5), `age` INT64, `bool_field` BOOL, `int64_field` INT64, `float64_field` FLOAT64, `string_field` STRING(MAX), `bytes_field` BYTES(MAX), `timestamp_field` TIMESTAMP, `date_field` DATE, `id` INT64, `shadow_timestamp` INT64, `log_file` STRING(MAX), `log_position` INT64, ) PRIMARY KEY (`first_name` ASC, `last_name` DESC, `age` ASC, `bool_field` ASC, `int64_field` ASC, `float64_field` ASC, `string_field` ASC, `bytes_field` ASC, `timestamp_field` ASC, `date_field` ASC, `id` ASC)], null ); -> at com.google.cloud.teleport.v2.templates.spanner.ProcessInformationSchema$ProcessInformationSchemaFn.createShadowTablesInSpanner(ProcessInformationSchema.java:231)
ProcessInformationSchemaTest.canCreateShadowTablesInSpanner_separateDb: ProcessInformationSchemaTest#L509
Argument(s) are different! Wanted: databaseAdminClient.updateDatabaseDdl( "sample-value", "sample-value", [CREATE TABLE `shadow_table2` ( `id` INT64, `timestamp` INT64, `log_file` STRING(MAX), `log_position` INT64, ) PRIMARY KEY (`id` ASC)], null ); -> at com.google.cloud.teleport.v2.templates.spanner.ProcessInformationSchemaTest.canCreateShadowTablesInSpanner_separateDb(ProcessInformationSchemaTest.java:509) Actual invocations have different arguments: databaseAdminClient.updateDatabaseDdl( "sample-value", "sample-value", [CREATE TABLE `shadow_table2` ( `id` INT64, `shadow_timestamp` INT64, `log_file` STRING(MAX), `log_position` INT64, ) PRIMARY KEY (`id` ASC)], null ); -> at com.google.cloud.teleport.v2.templates.spanner.ProcessInformationSchema$ProcessInformationSchemaFn.createShadowTablesInSpanner(ProcessInformationSchema.java:231)
Dataflow Templates Integration Smoke Tests
No files were found with the provided path: **/surefire-reports/TEST-*.xml **/surefire-reports/*.html **/surefire-reports/html/**. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
surefire-integration-test-results Expired
44.8 KB
sha256:af156aea7b270f10886514fd9ae8771ee551616eae77ee086b5f29ee3a4c709c
surefire-unit-test-results Expired
995 KB
sha256:d64c45b5a3b710da4da863388ceb05c46972d47850f374fcdae05f8afc58364a