Skip to content

Key values in object metadata are stringified #146

@thclark

Description

@thclark

Bug report

What is the current behavior?

A number of object metadata items (id, hash_value, any null items) in gcloud storage are stringified rather than provided as raw values. For example the id field comprises the string "45bf3bcb-92b0-45eb-9067-d8ecd173083d" with quotation marks as opposed to the string literal 45bf3bcb-92b0-45eb-9067-d8ecd173083d.

This prevents indexing/search in a data lake, and makes it very weird to create sdk-compatible file entries somewhere other than from the SDK.

Screenshot 2021-05-02 at 10 35 27

What is the expected behavior?

String items to appear without quotation marks, null values to appear as empty:

Screenshot 2021-05-02 at 10 39 03

Your environment

  • Library Version: 0.1.5
  • Platform n/a

Metadata

Metadata

Assignees

Labels

bugUnintended behaviour in any area of the app

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions