apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Weise <...@apache.org>
Subject Re: File control tuples
Date Sat, 03 Jun 2017 16:37:37 GMT
How does this relate to the batch control tuples work?

With a separate port, how can a downstream operator relate the metadata to
the tuples emitted from the primary port?

sent from mobile
On Jun 2, 2017 12:06 PM, "Bhupesh Chawda" <bhupesh@datatorrent.com> wrote:



Emitting ​file
for a file based source like a file input operator
​in malhar ​
feature to provide. It is useful information for any downstream operator to
that a data tuple belongs to a certain file
​ for instance​

We propose to add capability in the abstract file input operator to emit
file control tuples. These control tuples can include filenames as well as
any metadata that the user wishes to include along with it.

​To link this meta data to each tuple, we can add another port to the input
operator which would carry the meta data along with the actual tuple. We
can try to reduce the amount of meta data that goes with each tuple by
having some sort of meta encoding in the control tuple.

~ Bhupesh​


Bhupesh Chawda

E: bhupesh@datatorrent.com | Twitter: @bhupeshsc

www.datatorrent.com  |  apex.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message