Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-5890

FIWARE.Question.Tech.Data.CEP.Proton CEP: How to count distinct instances in temporal context

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:

      Description

      Created question in FIWARE Q/A platform on 16-02-2016 at 18:02
      Please, ANSWER this question AT http://stackoverflow.com/questions/35438731/proton-cep-how-to-count-distinct-instances-in-temporal-context

      Question:
      Proton CEP: How to count distinct instances in temporal context

      Description:
      I wish to count the number of distinct visitors to a store each half an hour.

      I know I will need:

      the temporal context (half an hour)

      What kind of EPA should I create to count distinct visitor ids?

      I suppose I will need an internal segmentation by visitorId?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        6d 12h 6m 1 Uri Shani 23/Feb/16 9:09 AM
        In Progress In Progress Answered Answered
        2h 53m 1 Backlog Manager 23/Feb/16 12:02 PM
        Answered Answered Closed Closed
        3d 23h 59m 1 Backlog Manager 27/Feb/16 12:02 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary FIWARE.Question.Tech.Proton CEP: How to count distinct instances in temporal context FIWARE.Question.Tech.Data.CEP.Proton CEP: How to count distinct instances in temporal context
        mev Manuel Escriche made changes -
        HD-Enabler CEP [ 10869 ]
        HD-Chapter Data [ 10838 ]
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] Proton CEP: How to count distinct instances in temporal context FIWARE.Question.Tech.Proton CEP: How to count distinct instances in temporal context
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-02-27 12:05|UPDATED status: transition Finish| # answers= 2, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-02-27 12:05|UPDATED status: transition Finish| # answers= 2, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-02-23 12:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-02-23 12:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        mev Manuel Escriche added a comment -

        Uri, I check the issue hasn't been answered on stackoverflow yet.

        Show
        mev Manuel Escriche added a comment - Uri, I check the issue hasn't been answered on stackoverflow yet.
        Hide
        urishani Uri Shani added a comment -

        Here you go:

        • The EPA should be of type Aggregate.
        • Yes, you need internal segmentation context by visitorId.

        See the documentation for a sample which demonstrates how to perform count:
        https://github.com/ishkin/Proton/tree/master/documentation/sample/fraud
        A pdf doc included.

        Hope this help.

        • Uri
        Show
        urishani Uri Shani added a comment - Here you go: The EPA should be of type Aggregate. Yes, you need internal segmentation context by visitorId. See the documentation for a sample which demonstrates how to perform count: https://github.com/ishkin/Proton/tree/master/documentation/sample/fraud A pdf doc included. Hope this help. Uri
        urishani Uri Shani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        urishani Uri Shani added a comment -

        Sorry for the delay on this one. Checking with CEP langauge experts for an answer.

        • Uri
        Show
        urishani Uri Shani added a comment - Sorry for the delay on this one. Checking with CEP langauge experts for an answer. Uri
        TALI Fabiana Fournier made changes -
        Assignee Tali Yatzkar Haham [ tali ] Uri Shani [ urishani ]
        Hide
        TALI Fabiana Fournier added a comment -

        Assigned to the new CEP GE owner

        Show
        TALI Fabiana Fournier added a comment - Assigned to the new CEP GE owner
        mev Manuel Escriche made changes -
        Assignee Tali Yatzkar Haham [ tali ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-02-16 21:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-02-16 21:05|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            urishani Uri Shani
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: