-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add file loads streaming integration tests #28312
Changes from 8 commits
4c4c6d3
40c5794
bff7e46
fac0b7e
9be89f7
e9f0a4f
1508cd2
bf25ea1
315327b
610ccb1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -689,6 +689,10 @@ public static Row toBeamRow(Schema rowSchema, TableSchema bqSchema, TableRow jso | |
} | ||
} | ||
|
||
if (jsonBQValue instanceof byte[] && fieldType.getTypeName() == TypeName.BYTES) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just curious - what does this short cut return do? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This type ( |
||
return jsonBQValue; | ||
} | ||
|
||
if (jsonBQValue instanceof List) { | ||
if (fieldType.getCollectionElementType() == null) { | ||
throw new IllegalArgumentException( | ||
|
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.
I see this fixes #28309, thanks!