Skip to content

[Feature Request]: Support for Objects and Array data types #2404

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

Open
hansva opened this issue Feb 17, 2023 · 2 comments
Open

[Feature Request]: Support for Objects and Array data types #2404

hansva opened this issue Feb 17, 2023 · 2 comments

Comments

@hansva
Copy link
Contributor

hansva commented Feb 17, 2023

What would you like to happen?

Migration: https://issues.apache.org/jira/browse/HOP-2476

As a developer I come across objects and arrays stored as part of a record fairly regularly. I'd like Hop to natively support them with dedicated data types so that extracting values becomes easier (no need to use any scripting or coding).

In example, similarly to Trifacta, Hop could offer easy to use functions like these ones then:

  1. "Flatten array values into new rows":
    [{"type":"primary","colour":"green","product_number":3899},{"type":"secondary","colour":"red","product_number":3899}]

returns two rows:

{"type":"primary","colour":"green","product_number":3899} {"type":"secondary","colour":"red","product_number":3899}

  1. "Unnest values into new columns". The unnest transformation takes a nested key-value pair in the object and extracts it to a new column. e.g. unnest product_number:{"type":"secondary","colour":"red","product_number":3899} => 3899

Issue Priority

Priority: 3

Issue Component

Component: Metadata

@UKFr-DIZ
Copy link

+1

@sfkeller
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants