Giter VIP home page Giter VIP logo

druid-example-extension's People

Contributors

abhishekagarwal87 avatar clintropolis avatar gianm avatar sreemanamala avatar tejaswini-imply avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

druid-example-extension's Issues

extension example for Druid 0.12

Hello,
Due to the extension API changes, this example is broken. Can you please update it with makeColumnValueSelector ?
Thank you

this example extension and druid 0.11

Hi,
I haven't yet tried Druid 0.11 yet but I'd like to know if this example extension still works on druid 0.11.
If not, would it be possible for you to show what to do to adapt it ?

Thank you.

141862015

bc1qykmpyx8kz3eul7xt4s5n8cnelf927kps0e8n89

Question : how to get composed/complex parameter from the query to the <ExampleSumAggregator>Factory class

Hi, In here :
https://github.com/implydata/druid-example-extension/blob/master/src/main/java/io/imply/druid/example/aggregator/ExampleSumAggregatorFactory.java#L65

Aggregator parameters that are passed from the query are of simple type (they are different from a json object or a json array).

in my use case I'd like to pass as a parameter a JSON object so that I get a Map<String, String> or Map<String, Double> out of it.
I'm not very confortable with all the complexities of Jackson, would you have example to show how that could be done ?.

currently I pass what is my JSON object as a string (so i have double quotes escaped which is not readable), I then parse that JSON string and get my map from parsing the resulting JSON object.
I guess there is a better way to achieve that.

update requested for new 'inputFormat' vs. depracated 'parser'

It would be very helpful for me to see the same extension example "ExampleByteBufferInputRowParser" re-implemented using the newer inputFormat structure, along with the corresponding update to the json in the README.md. I have a very similar structure to implement, where an encoded byte-stream from Kafka contains json, which I would like to parse using a standard parsing / flattening configuration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.