r/dataengineering • • Jun 08 '26 • LOL 1 Popcorn 1 Bravo 1 Mindblown 1

Meme when someone asks you what programming language they should learn, don't simply answer the one you prefer

Post image
742 Upvotes

58 comments sorted by

View all comments

Show parent comment

1

u/I2cScion Jun 09 '26

I want to compose the transformations of data !!!

I don’t want data operations based on syntax .. it should be functions that compose

Purity is irrelevant here

2

u/philippefutureboy Jun 09 '26

> I don’t want data operations based on syntax … it should be functions that compose

So essentially you just want the logic expressed using a different syntax 😆

1

u/Old_Tourist_3774 Jun 09 '26

Can you clarify?

1

u/I2cScion Jun 09 '26

Something like the functions in the List module of F#

A where is a filter, select is a map, partition by isn’t syntax, its a function .. and they all compose in a pipeline (|>)

2

u/commenterzero Jun 09 '26

Apache Spark supports SQL pipe syntax which allows composing queries from combinations of operators

https://spark.apache.org/docs/latest/sql-pipe-syntax.html

1

u/philippefutureboy Jun 09 '26

Wouldn’t that ruin the query planner’s ability to optimize the query under the hood?
Or is it just syntactic sugar?

3

u/commenterzero Jun 09 '26

Sweet sweet sugar

1

u/Old_Tourist_3774 Jun 09 '26

I am sorry but I really cannot see the issue