Git Product home page Git Product logo

Comments (4)

wbchn avatar wbchn commented on May 5, 2024

I notice the result of query_obj is not a json of query, maybe it does not support json in current version?

{'extras': {'where': ''},
 'filter': [(u'id', u'in', u'0')],
 'from_dttm': datetime.datetime(2015, 9, 8, 1, 34, 24),
 'granularity': 86400000.0,
 'groupby': [],
 'is_timeseries': True,
 'metrics': [u'sumcount'],
 'row_limit': 10,
 'timeseries_limit': 0,
 'to_dttm': datetime.datetime(2015, 9, 15, 1, 34, 24)
}

from superset.

mistercrunch avatar mistercrunch commented on May 5, 2024

All of this is changing quite a bit in a branch I'm working on, expect the API to change quite a bite until it stabilizes.

Are you interested in getting an endpoint where you can get the Druid query json? I can make sure that this makes it in as a requirement.

from superset.

wbchn avatar wbchn commented on May 5, 2024

Some time I checked the query json, because we using druid without UTC timezone, query granularity like this:

{"type": "period", "period": "P1D", "timeZone": "America/Los_Angeles"}

We found granularity work not good when we setting "one day" in Time Granularity. So I want check and fix it.

from superset.

mistercrunch avatar mistercrunch commented on May 5, 2024

Old issue, closing.

from superset.

Related Issues (20)

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.