[ 
https://issues.apache.org/jira/browse/APEXCORE-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182898#comment-15182898
 ] 

Yogi Devendra commented on APEXCORE-378:
----------------------------------------

[Yogi]

Hi,

I studied source code, docs related to windowing for my presentation on 
"Windowing in Apex".

After going through the phase of learning, teaching apex windowing concepts to 
others; I realized that attribute APPLICATION_WINDOW_COUNT from OperatorContext 
should have better name.

Because:
1. From the name it looks like a attribute of the APPLICATION; but actually it 
is an Operator attribute.
2. It is very confusing to say that APPLICATION_WINDOW_COUNT can be different 
for different Operators within an Application.  

Can we have some better name for this attribute? 
Any suggestions for the new name? 
I propose following names:
1. OPERATOR_WINDOW_COUNT
2. OPERATOR_WINDOW_SPAN

I understand that, introducing new name to the existing attribute might break 
backward compatibility. But, we can deal with that by deprecating the older 
name and keeping it alive till next major release.

What is your opinion on this?

> nomenclature change for APPLICATION_WINDOW_COUNT
> ------------------------------------------------
>
>                 Key: APEXCORE-378
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-378
>             Project: Apache Apex Core
>          Issue Type: Improvement
>            Reporter: Yogi Devendra
>            Priority: Minor
>
> Attribute APPLICATION_WINDOW_COUNT from OperatorContext should have better 
> name.
> Because:
> 1. From the name it looks like a attribute of the APPLICATION; but actually 
> it is an Operator attribute.
> 2. It is very confusing to say that APPLICATION_WINDOW_COUNT can be different 
> for different Operators within an Application.  
> Can we have some better name for this attribute? 
> Any suggestions for the new name? 
> I propose following names:
> 1. OPERATOR_WINDOW_COUNT
> 2. OPERATOR_WINDOW_SPAN



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to