Git Product home page Git Product logo

Comments (4)

max-sixty avatar max-sixty commented on June 6, 2024

I don't think that stripping the timezone would be good — '2023-03-01T00:00:00Z' has a different meaning to '2023-03-01T00:00:00'.

A really complete approach would be to preemptively know that ClickHouse didn't support timezones, and raise an error. Getting to that level of support across language features & dialects would be nice, but require lots of investment.

So for the moment, is it reasonable to just use ..@2023-03-01T00:00:00) in the PRQL query? That then passes on the '2023-03-01T00:00:00' value and the query should work.

from prql.

ukclivecox avatar ukclivecox commented on June 6, 2024

Yes, I can work around this. Just created this issue as an FYI for discussion for a full solution.

from prql.

max-sixty avatar max-sixty commented on June 6, 2024

OK great.

Let's leave it open for a bit to see if others have thoughts.

My initial inclination is that this level of detail in the compiler is probably some distance away, unless a contributor has a specific interest in clickhouse datetimes. So we could mark as postponed.

from prql.

max-sixty avatar max-sixty commented on June 6, 2024

Marking as postponed. Thanks for the suggestion @ukclivecox.

from prql.

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.