superset icon indicating copy to clipboard operation
superset copied to clipboard

Query time lookups no longer working

Open SpyderAlba opened this issue 8 years ago • 2 comments

  • [x] I have checked the superset logs for python stacktraces and included it here as text if any
  • [x] I have reproduced the issue with at least the latest released version of superset
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

I built from 24rc1 or git sha fc477292

Expected results

Normally when I put in a lookup as a new column I can group by it and see it listed in table view.

Actual results

The group by happens, but I do not see the new column values. Table View Table View Table View Query

Pie Chart View Pie Chart View

Steps to reproduce

Create any simple lookup

  {
"type":"lookup",
"dimension":"device_type",
"outputName":"device_type_name",
"outputType": "STRING",
"retainMissingValue":true,
"lookup":{"type": "map", "map":
{"0": "Unknown",
"1": "Mobile(Other)",
"2": "Desktop/Notebook", 
"3": "Connected/Smart TV", 
"4": "Mobile Phone",
"5": "Tablet", 
"6": "Connected Device", 
"7": "Set Top Box"}, 
"isOneToOne":true}
}

SpyderAlba avatar Apr 12 '18 15:04 SpyderAlba

Same as https://github.com/apache/incubator-superset/issues/4805

SpyderAlba avatar Apr 12 '18 18:04 SpyderAlba

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Apr 11 '19 00:04 stale[bot]