Skip to content

fix web console data loader dimension types#9135

Merged
vogievetsky merged 1 commit intoapache:masterfrom
clintropolis:data-load-dimension-types-fix
Jan 7, 2020
Merged

fix web console data loader dimension types#9135
vogievetsky merged 1 commit intoapache:masterfrom
clintropolis:data-load-dimension-types-fix

Conversation

@clintropolis
Copy link
Member

Description

This PR fixes an issue with the web console data loader wizard, which is using all-caps types 'STRING', 'LONG', 'DOUBLE' when converting something it thinks is a metric into a dimension, which don't get correctly recognized by the dimension schema json deserialization, resulting in the column types defaulting to 'string'.

Additionally, the types presented in the type dropdown once converted to a dimension differ from the types available to convert a metric to ('string', 'long', 'float' vs 'STRING', 'LONG', 'DOUBLE').

These have been standardized to use 'string', 'long', 'float', 'double' in all the places.


This PR has:

  • been self-reviewed.
  • been tested in a test Druid cluster.

@vogievetsky
Copy link
Contributor

thank you for this fix 👍

@vogievetsky vogievetsky merged commit 1470242 into apache:master Jan 7, 2020
@clintropolis clintropolis added this to the 0.17.0 milestone Jan 7, 2020
@clintropolis clintropolis deleted the data-load-dimension-types-fix branch January 7, 2020 06:14
clintropolis added a commit to clintropolis/druid that referenced this pull request Jan 8, 2020
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