Skip to content

Web console: correctly escape path based flatten specs#13105

Merged
vogievetsky merged 4 commits intoapache:masterfrom
vogievetsky:fix_auto_flatten
Sep 17, 2022
Merged

Web console: correctly escape path based flatten specs#13105
vogievetsky merged 4 commits intoapache:masterfrom
vogievetsky:fix_auto_flatten

Conversation

@vogievetsky
Copy link
Copy Markdown
Contributor

Also ret rid of the ability to generate jq flatten specs because we never use it in the first place.

Try it with this record:

{"hello.world":{"a\nb":{"x'y\"z":"hi there"}}}

It now generates a correct flatten spec that works:

image

@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Sep 17, 2022

This pull request introduces 1 alert when merging 0a1c573 into c62a822 - view on LGTM.com

new alerts:

  • 1 for Incomplete string escaping or encoding

@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Sep 17, 2022

This pull request introduces 1 alert when merging 193aee5 into c62a822 - view on LGTM.com

new alerts:

  • 1 for Incomplete string escaping or encoding

@vogievetsky vogievetsky merged commit de8f229 into apache:master Sep 17, 2022
@vogievetsky vogievetsky deleted the fix_auto_flatten branch September 17, 2022 21:02
vogievetsky added a commit to vogievetsky/druid that referenced this pull request Sep 26, 2022
* fix path generation

* do escape

* fix replace

* fix replace for good
abhishekagarwal87 pushed a commit that referenced this pull request Sep 28, 2022
* fix number of expected functions (#13050)

* default to no compare (#13041)

* quote columns, datasources in auto complete if needed (#13060)

* Web console: better detection for arrays containing objects (#13077)

* better detection for arrays containing objects

* include boolean also

* link to error docs (#13094)

* Web console: correctly escape path based flatten specs (#13105)

* fix path generation

* do escape

* fix replace

* fix replace for good

* append to exisitng callout (#13130)

* better spec conversion with issues (#13136)

* bump version to 24.0.1
@abhishekagarwal87 abhishekagarwal87 added this to the 24.0.1 milestone Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants