Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

bug: use getType() instead of toString() #1761

@demondevilhades

Description

@demondevilhades

String dataFormat = FormatOptions.json().toString();

Code example

FormatOptions.json().toString(); // FormatOptions{format=NEWLINE_DELIMITED_JSON}
FormatOptions.json().getType(); // NEWLINE_DELIMITED_JSON

So you should use getType() here instead of toString().

This is my first time I submit issue on Github. Please forgive me if I made mistake.

Metadata

Metadata

Labels

api: bigqueryIssues related to the googleapis/java-bigquery API.samplesIssues that are directly related to samples.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions