Skip to content

[WIP] support for double and int columns#2252

Closed
fjy wants to merge 3 commits intomasterfrom
new-columns
Closed

[WIP] support for double and int columns#2252
fjy wants to merge 3 commits intomasterfrom
new-columns

Conversation

@fjy
Copy link
Copy Markdown
Contributor

@fjy fjy commented Jan 12, 2016

Druid currently stores numbers as longs or floats. When you index something with a doubleSum aggregator, results can have small precision errors because numbers are stored as floats in the column, and aggregated as doubles on the query side. This PR aims to address this issue. Storing numbers as doubles will double the column size, and should only be used if that level of accuracy is required.

Requires druid-io/druid-api#72

TODO:

  • more tests
  • docs

@fjy fjy added the Discuss label Jan 19, 2016
@fjy fjy added this to the 0.10.0 milestone Apr 12, 2016
@fjy fjy modified the milestones: 0.10.0, 0.10.1 Dec 13, 2016
@fjy
Copy link
Copy Markdown
Contributor Author

fjy commented Dec 19, 2016

Closing this as it conflicts with work done in #3294

@fjy fjy closed this Dec 19, 2016
@fjy fjy deleted the new-columns branch December 19, 2016 18:54
@gianm gianm removed this from the 0.10.0 milestone Feb 16, 2017
seoeun25 pushed a commit to seoeun25/incubator-druid that referenced this pull request Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants