Skip to content

Web console: make double detection better#15998

Merged
vogievetsky merged 1 commit intoapache:masterfrom
vogievetsky:fix_double_detection
Feb 29, 2024
Merged

Web console: make double detection better#15998
vogievetsky merged 1 commit intoapache:masterfrom
vogievetsky:fix_double_detection

Conversation

@vogievetsky
Copy link
Copy Markdown
Contributor

This PR fixes a type detection issue where the v column in a CSV like

n,v
a,1.0
b,2.0
c,3.0

Would be detected as BIGINT instead of DOUBLE because we never considered the string representation of the number.

Also fixing a bug that I stumbled on when testing the above issue. The InputFormat detection step let's a user click next when a resample is needed putting them in a bad state because the signature is only detected on sample. I did that by mistake while testing.

@vogievetsky vogievetsky merged commit acb5124 into apache:master Feb 29, 2024
@vogievetsky vogievetsky deleted the fix_double_detection branch February 29, 2024 23:46
cryptoe pushed a commit to cryptoe/druid that referenced this pull request Mar 6, 2024
vogievetsky added a commit that referenced this pull request Mar 8, 2024
Co-authored-by: Vadim Ogievetsky <vadim@ogievetsky.com>
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.

2 participants