-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Beam 2.63.0 #5613
Upgrade to Beam 2.63.0 #5613
Conversation
it should "write case classes using Storage Write API" in { | ||
runWithRealContext(options) { sc => | ||
sc.parallelize(records) | ||
.saveAsTypedBigQueryTable( | ||
typedTableStorage, | ||
createDisposition = CREATE_IF_NEEDED, | ||
method = WriteMethod.STORAGE_WRITE_API | ||
) | ||
}.waitUntilFinish() | ||
|
||
runWithRealContext(options) { sc => | ||
val data = sc.typedBigQuery[Record](typedTableStorage) | ||
data should containInAnyOrder(records) | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both of these tests are failing. LocalTime
fields are being written incorrectly using the Storage Write API. For example, for the same record, FileLoads will write the value 19:00:00
and StorageWrite will write the value 15:59:15.338944
. Not quite sure what's going on, needs investigation.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5613 +/- ##
==========================================
- Coverage 61.37% 61.33% -0.04%
==========================================
Files 314 314
Lines 11243 11255 +12
Branches 788 802 +14
==========================================
+ Hits 6900 6903 +3
- Misses 4343 4352 +9 ☔ View full report in Codecov by Sentry. |
Contains bugfixes for BQ Storage-API writes and BQ Avro-format reads.