Git Product home page Git Product logo

Comments (5)

SeanU avatar SeanU commented on May 29, 2024 1

Sounds great. I prefer the 1st option, too, so I'll get started on that.

I'll probably start with the SQL-like in function. That, together with the existing operators, would cover 90% of the use cases I can think of. Let me know if you think otherwise.

from parquet4s.

mjakubowski84 avatar mjakubowski84 commented on May 29, 2024

Hi Sean!

I see two ways that you can go.

Take a look at Col case class here https://github.com/mjakubowski84/parquet4s/blob/master/core/src/main/scala/com/github/mjakubowski84/parquet4s/Filter.scala#L133

  1. You can create a PR that introduces your desired functionality in Col. It can be SQL-like in function, it can be userDefined - I will be very happy with any of them. Just extend API by adding new functions. Take example from existing operators.

  2. You can introduce a static function in your own code. Your function would be very similar to operators in Col. For example, you can create implicit class that wraps Col.

Of course, I prefer the first option, so other people could benefit from your solution!

from parquet4s.

mjakubowski84 avatar mjakubowski84 commented on May 29, 2024

@SeanU in filtering operator has been release in 0.11.0. Do you want to continue and create generic userDefined operators, too?

from parquet4s.

SeanU avatar SeanU commented on May 29, 2024

@mjakubowski84 Thanks!

I would be glad to do generic userDefined operators, too I may have to do it on a somewhat more relaxed schedule. Shall we leave this issue open until I do? Or close it for now, and I can open a new one when I start work?

from parquet4s.

mjakubowski84 avatar mjakubowski84 commented on May 29, 2024

from parquet4s.

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.