We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently explode has the following behaviour:
SELECT row.name, row.departments FROM [ {"name": "Alice", "departments": [1,4]}, {"name": "Bob", "departments": [2]}, {"name": "Charles", "departments": []} ] EXPLODE row.departments TO json
Results in:
{"name": "Alice", "departments": 1} {"name": "Alice", "departments": 4} {"name": "Bob", "departments": 2}
Omitting the Charles row because of the empty array.
Charles
departments
Result would be:
{"name": "Alice", "departments": 1} {"name": "Alice", "departments": 4} {"name": "Bob", "departments": 2} {"name": "Charles", "departments": null}
Also:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently explode has the following behaviour:
Results in:
Omitting the
Charles
row because of the empty array.TO DO
departments
is empty or NULL.Result would be:
Also:
The text was updated successfully, but these errors were encountered: