Code Monkey home page Code Monkey logo

Comments (3)

alonho avatar alonho commented on June 29, 2024
  1. I'll do it.
  2. Could you do it by passing in a defaultdict?
  3. I'll think about this when I get back from vacation.
    I'll also add support for epochs (not sure about the dateutil format though, will have to see which timestamp format feels better)

Thanks for the ideas!

from pql.

lbosson avatar lbosson commented on June 29, 2024
  1. Excellent!
  2. I don't believe this will work because resolve_field in SchemaAwareOperatorMap checks to see if the field is in the map with "in". Also, I am using python 2.6 (shame on me).
  3. The dateutil parser parses a bunch of various string date formats. Very similar to what you have done with your date parser. I was just lazy, I haven't compared the two.

If you would like me to work on a patch for anything let me know. I'd be glad to help out.

Cheers,
Lew

P.S. Enjoy your vacation!

from pql.

alonho avatar alonho commented on June 29, 2024

I ended up doing the following:

  1. 'find' is just a shortcut for the trivial use cases. perhaps advanced users should use parsers themselves. I kinda prefer leaving it like it, not sure.
  2. It now does a getitem so defaultdict will work
  3. replaced to dateutil and added your epoch field.

Thanks again!

from pql.

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.