srggrs commented on issue #4740: Add extraction function support for Druid 
queries
URL: 
https://github.com/apache/incubator-superset/pull/4740#issuecomment-422657855
 
 
   Guys thank you for this post!
   I tried to use the extraction function as per below:
   
   `{`
   `  "type" : "extraction",`
   `  "dimension" : "myid",`
   `  "outputName" : "myname",`
   `  "outputType" : "STRING",`
   `  "extractionFn" : {`
   `    "type" : "lookup",`
   `    "dimension" : "myid",`
   `    "outputName" : "myname",`
   `    "retainMissingValue" : false,`
   `    "replaceMissingValueWith" : "missing",`
   `    "name" : "myid"`
   `  }`
   `}`
   
   but I get an error:
   `HTTP Error 500: Internal Server Error Druid Error`
   
   I'm not sure what I'm doing wrong.
   I implemented the druid lookup as a globally cached lookup. JSON below it 
works for the gropby but not filtering though.
   
   `{`
   `    "type" : "lookup",`
   `    "dimension" : "myid",`
   `    "outputName" : "myname",`
   `    "retainMissingValue" : false,`
   `    "replaceMissingValueWith" : "missing",`
   `    "name" : "myid"`
   `}`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to