Skip to content

JSON serialization assumes Maps aren't iterable #1890

@mikekap

Description

@mikekap

I'm using the java libraries from Clojure. Clojure native types (maps, vectors, etc) follow all normal java interfaces, except the built-in maps implement Iterable. When using these with BigQuery streaming, the JSON serializer thinks these are collections rather than maps and serializes them incorrectly. It would be nice if it didn't make that assumption and just directly checked for a x instanceof Map.

Metadata

Metadata

Labels

api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions