Open jo-asplin-met-no opened 12 months ago
The links attribute is currently not supported:
links
// ### for now don't support the 'links' attribute // TODO: support this! delete(attr2col, "Links") delete(col2attr, "links")
The reason is twofold:
datastore.proto
message Link { string href = 1; string rel = 2; string type = 3; string hreflang = 4; string title = 5; } message TSMetadata { string version = 1; string type = 2; ... repeated Link links = 23; }
ts-init.sql
CREATE TABLE time_series ( ... link_href TEXT[], link_rel TEXT[], link_type TEXT[], link_hreflang TEXT[], link_title TEXT[], ... );
We should provide support for the links attribute in a way that minimizes the need for special code (that explicitly refers to the name "links" etc.).
The
links
attribute is currently not supported:The reason is twofold:
datastore.proto
, the attribute is represented as an array to an object instead of a string like the other attributes:ts-init.sql
, the attribute is represented as parallel arrays, which differs from how it is represented indatastore.proto
:We should provide support for the
links
attribute in a way that minimizes the need for special code (that explicitly refers to the name "links" etc.).