apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Singh, Chandni" <Chandni.Si...@capitalone.com>
Subject Fetching operator name from operator context
Date Tue, 26 Jul 2016 18:52:09 GMT
Hi All,

For some utilities, for eg. WindowDataManager, we need to partition disk space under an application
based on the operator name because there can be multiple logical operators in application
using that utility.
Currently the user needs to explicitly set the relative path of each window data manager in
the DAG. However, this can be made easier for the user if the WindowDataManager does this
automatically using the operator name.

In order to retrieve the Operator name from Operator Context there are 2 ways:
1. Add getOperatorName() method to OperatorContext interface

2. Add a name attribute to OperatorContext: IMO this is confusing because attribute suggests
that the name can be set/changed using configuration files but Operator name as of now cannot
be changed or set using config. However, Pramod mentioned there are some other read-only attributes.
The discussion is captured in the Jira below.


I am +1 for option 1.

Please let me know what you think.



The information contained in this e-mail is confidential and/or proprietary to Capital One
and/or its affiliates and may only be used solely in performance of work or services for Capital
One. The information transmitted herewith is intended only for use by the individual or entity
to which it is addressed. If the reader of this message is not the intended recipient, you
are hereby notified that any review, retransmission, dissemination, distribution, copying
or other use of, or taking of any action in reliance upon this information is strictly prohibited.
If you have received this communication in error, please contact the sender and delete the
material from your computer.

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