athena-express icon indicating copy to clipboard operation
athena-express copied to clipboard

Add flatKeys option parameter

Open mary2501 opened this issue 2 years ago • 1 comments

Scenario: I have a query with this column header "test (one, two, etc.)" I run the query SELECT field AS "test (one, two, etc.)" from some_table I receive a wrong JSON response because the dot inside the column header is interpreted as a nested array.

In this PR, I added a new config parameter "flatKeys" that fix the issue mentioned above. It is set by default to false in order to be retro compatible

mary2501 avatar Feb 15 '22 16:02 mary2501

Interesting issue. Thanks for the PR. I'll review it.

ghdna avatar Feb 15 '22 16:02 ghdna