yes, you can move over bit, by bit.

To go from a `Pipe` to `TypedPipe` you need to use `TypedPipe.from[(Int,
String, Long)](somePipe, ('som, 'b, 'other))` for instance.

Then to go back, use `TypedPipe.toPipe(('result, 'somethingelse))` for
instance.

On Fri, Aug 26, 2016 at 11:28 AM Xiaolin Li <
[email protected]> wrote:

> Thank you! Is it possible to mix the TypedPipe API with Field API
> together? My current functions are written in Fields APIs and migrating
> them to Field API may take some time.
>
>
> On Friday, August 26, 2016 at 4:03:31 PM UTC-5, P. Oscar Boykin wrote:
>
>> that is how people do that in the deprecated Fields API. That is not
>> really an issue with the TypedPipe API.
>>
>> On Fri, Aug 26, 2016 at 10:58 AM Xiaolin Li <[email protected]>
>> wrote:
>>
> Hi,
>>>
>>> I am trying to write a trait function in scalding to apply a mapping
>>> function on part of the fields in the pipe, and I want the function to take
>>> the list of fields as argument. Could anyone give me some hints on that?
>>> (sth like someMappingFun(self: Pipe, cols: Fields) : Pipe = {...}
>>>
>>> Thank you!
>>>
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Scalding Development" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to [email protected].
>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Scalding Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Scalding Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to