Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Enrich trembitaql #33

Open
vitaliihonta opened this issue Feb 7, 2019 · 0 comments
Open

Enrich trembitaql #33

vitaliihonta opened this issue Feb 7, 2019 · 0 comments
Assignees

Comments

@vitaliihonta
Copy link
Collaborator

Add the following methods (like in sparksql):

  • withColumn:
case class Foo(i: Int, x: Long, s: String)
case class Bar(ij: Long, ss: String)
val pipeline: DataPipelineT[F, Bar, E] = ???
pipeline.withColumn[Foo](_ / 2)
  • select:
case class Foo(i: Int, x: Long, s: String)
case class Bar(ij: Long, ss: String)
val pipeline: DataPipelineT[F, Foo, E] = ???
pipeline.select[Bar](a => a.i + a.j, _.s * 2)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant