question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Do we need overrideAttributes in DataCube?

See original GitHub issue

We need to investigate all common scenarios where overrideAttribute could be used.

Feel free to comment if you use this in your case. @l2dy @alexbusu @cedrics @michalmisiewicz

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mkuthancommented, Nov 8, 2019

That’s clear, the introspection sometimes returns non-optimal results, sometimes incorrect results and Turnilo must be able to override them. The question is how to configure and implement overriding strategy in consistent and easy to understand manner?

For example:

  • use “kind” not only for UI modification but also for Druid query customisation
  • if “kind” is not provided, type from introspection is used
  • because there is no “Boolean” type in Druid, kind “Boolean” should me mapped into Druid String type
  • I don’t know how to handle kind “Number” because there is more than one numeric type in Druid
  • As long as there is no “kind” for measures it has to be added
  • I don’t know how to handle histograms and uniques, Turnilo discovers the type from Plywood formula
  • Finally there is also “native” cluster (wikipedia example) without any introspection 😃
1reaction
cedricscommented, Oct 31, 2019

We’re using attributeOverrides when we ingest numeric values as string in order to have index on it. It would be great if we could remove attributeOverrides section from configuration and infer attributeOverrides for plywood based on dimension kind.

We use overrides for the same reason

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration - data cubes | Turnilo documentation
The attributeOverrides: section of the data cube is there for you to fix that. The name of the attribute (column) in Druid. This...
Read more >
Cubing — Lesson 4: Modifying the Time hierarchy - IBM
In this lesson, you will refine your cube model by modifying the Time hierarchy to include two new levels, Year and Month.
Read more >
Using custom attributes to filter data by user
This walkthrough shows you how to filter data depending on the user by using custom attributes.
Read more >
Creating Association Data Cubes - Oracle Help Center
To create an association data cube: Select Start > Programs > PeopleTools 8.5x > Application Designer to access PeopleSoft Application Designer.
Read more >
Implementing Slowly Changing Dimensions (SCDs) in Data ...
In the Type 1 SCD, you simply overwrite data in dimensions. There can be situations where you don't have the entire data when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found