Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1E214200C92 for ; Mon, 29 May 2017 06:59:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0F38C160BD8; Mon, 29 May 2017 04:59:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D5E31160BCC for ; Mon, 29 May 2017 06:59:44 +0200 (CEST) Received: (qmail 87568 invoked by uid 500); 29 May 2017 04:59:43 -0000 Mailing-List: contact user-help@predictionio.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@predictionio.incubator.apache.org Delivered-To: mailing list user@predictionio.incubator.apache.org Received: (qmail 87558 invoked by uid 99); 29 May 2017 04:59:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2017 04:59:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 81A6AC321C for ; Mon, 29 May 2017 04:59:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ml_EiYBfpFQh for ; Mon, 29 May 2017 04:59:41 +0000 (UTC) Received: from mail-it0-f54.google.com (mail-it0-f54.google.com [209.85.214.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id BF9C75FBB9 for ; Mon, 29 May 2017 04:59:40 +0000 (UTC) Received: by mail-it0-f54.google.com with SMTP id o5so21547189ith.1 for ; Sun, 28 May 2017 21:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KWJ1KE8wPplvrUiEAXK+Hi9mYSnvu3DPJuMnW9DpmMQ=; b=KnfLqwp2BxE53UOJtBUD3kjlzsIFCvxFBzgn046VDdJYgEgEslxpywQe5evb7TbY5v qQjXsIQGQZHGi2/eJ5dyk1Ur01bN7Rss4ts6ZiYQT153oyRHz/6hc7Z0uVLiqAuNMQ0h r/rl6Adn0YSFM/fEzRBVFp1TnGOEobkEBxICqmaEhU2XetfvfInu7QU+awSpH1p1YSqx +jPL1sYscsuSIz+tzojCqNx6OtbGsWGIjriBUuV67iGQyXVIyaRw/7h+MV6qiiDthLlP aKjPtoBpcPS7UBf6LiGaDtmGiLaBNTCTKpfUjb28LncihPbM5VtF138X8ydObOupk4M5 YnPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KWJ1KE8wPplvrUiEAXK+Hi9mYSnvu3DPJuMnW9DpmMQ=; b=KNIc9pKwymQ94yvpc/T75wF0asJCIKwd4bLDuXHw5J/ncgebOutzPaZqBjMYAldNuG E0bhFToDsTIDaVPzY1R5+P2gGg6tdzR39g/DrBW0FDUuxdEzxgUYSE5qn3dtY9pM9yyN 2obv8H6IQzjumqoTNdHApBLSJPiqXPWRn1t6VELzaTkPkIGKuhpOopYu9RLEdurQzihg 6mKbG1c4UDdV4k/AWlSZkkLyAe1bOE7Tw5ba34L3+vPtoKOcbIxXPYDWoRPVKsBIwhtC lyeg2pZ1rFfc5gJ1PhYaJu6Mz+M4+HvqV9jsD3Zh2u0CcN/tWZE5ixm9nhNxlolThh// 6s8A== X-Gm-Message-State: AODbwcAFeGf4Lmbue0PVguUdknucLvMiWF8BACL7uDuxqvojOLV/b1/V JkF4/MYdN13eiro0zfYU9B3ejBg3JA== X-Received: by 10.36.104.198 with SMTP id v189mr11612724itb.99.1496033980200; Sun, 28 May 2017 21:59:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.88.6 with HTTP; Sun, 28 May 2017 21:59:39 -0700 (PDT) In-Reply-To: References: <5D62FFE2-50AE-4947-B93D-ADB04E1F5644@occamsmachete.com> From: Marius Rabenarivo Date: Mon, 29 May 2017 08:59:39 +0400 Message-ID: Subject: Re: Are event's properties overwritten by new properties? To: Pat Ferrel Cc: user@predictionio.incubator.apache.org, actionml-user Content-Type: multipart/alternative; boundary="001a11449d56f675ee0550a28d69" archived-at: Mon, 29 May 2017 04:59:46 -0000 --001a11449d56f675ee0550a28d69 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ah Ok. Thanks It's good to know for categorical properties but for the moment I use properties for biasing and filtering. 2017-05-28 19:33 GMT+04:00 Pat Ferrel : > If the item id is the same, they are both attached to the same item and > will be aggregated. > > But they should be arrays of strings for the UR template. > > All templates define their own way of interpreting input and this is > required by the UR for categorical properties. > > > On May 27, 2017, at 4:57 AM, Marius Rabenarivo > wrote: > > Sorry, it was a confusion from my part. > > The 2 events are there. > > I was thinking that the properties will be aggregated in the event server= . > > 2017-05-26 19:47 GMT+04:00 Pat Ferrel : > >> No but if you are using the UR (I=E2=80=99m guessing from the lists you = posted >> on) you would encode those as arrays with only one value. >> >> Can you share the entire 2 $set events json? >> >> >> On May 26, 2017, at 4:25 AM, Marius Rabenarivo < >> mariusrabenarivo@gmail.com> wrote: >> >> Hello everyone, >> >> When sending new $set properties event, >> >> It seems like the previous properties are overwritten. >> >> For example >> >> if I send properties : {a : "a"} >> and then properties : {b: "b"} >> >> then when requesting the event server, I get only {b: "b"} >> >> Is this normal? >> >> Regards, >> >> Marius >> >> -- >> You received this message because you are subscribed to the Google Group= s >> "actionml-user" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n >> email to actionml-user+unsubscribe@googlegroups.com. >> To post to this group, send email to actionml-user@googlegroups.com. >> To view this discussion on the web visit https://groups.google. >> com/d/msgid/actionml-user/CAC-ATVHz1RFN%2B8ixuZb5Q4Wdqt5rJ2G >> 0u8wO8eUdVmKT6K%2Bt6w%40mail.gmail.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "actionml-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to actionml-user+unsubscribe@googlegroups.com. > To post to this group, send email to actionml-user@googlegroups.com. > To view this discussion on the web visit https://groups.google. > com/d/msgid/actionml-user/CAC-ATVFn5ZR%2BqP_J- > T1Ak4FXYtYFdqHwSRfPSXdCAQwQLVetyg%40mail.gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > > --001a11449d56f675ee0550a28d69 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ah Ok. Thanks

It's good to know= for categorical properties but for the moment I use properties for biasing= and filtering.


2017-05-28 19:33 GMT+04:00 Pat Ferrel &= lt;pat@occamsmac= hete.com>:
If the item id is the same, they are both attached to t= he same item and will be aggregated.

But they should be = arrays of strings for the UR template.

All templat= es define their own way of interpreting input and this is required by the U= R for categorical properties.


On May 27, 2017, at 4:57 AM, Marius Rabenarivo <mariusrabenari= vo@gmail.com> wrote:

Sorry, it was a confusion from my part.

The 2 events ar= e there.

I was thinking that the properties will be aggregated= in the event server.

2017-05-26 19:47 GMT+04:00 Pat Ferrel=C2=A0<pat@occamsmachete.com>:
No but if you are using the UR (I=E2=80=99m guessing from the lists you po= sted on) you would encode those as arrays with only one value.

Can you share the entire 2 $set events json?


Hello everyone,

When sendin= g new $set properties event,

It seems like the previous proper= ties are overwritten.

For example

if I = send properties : {a : "a"}
and then properties : {= b: "b"}

then when requesting the event server, = I get only {b: "b"}

Is this normal?
Regards,

Marius

--=C2=A0
Y= ou received this message because you are subscribed to the Google Groups &q= uot;actionml-user" group.
To unsubscribe from this group and stop r= eceiving emails from it, send an email to=C2=A0actionml-user+unsubscribe@googlegroups.com.
To post to this group, send email to=C2=A0actionml-user@googlegro= ups.com.
To view this discussion on the web visit=C2=A0https://groups.google.com/d/msgid/actionm= l-user/CAC-ATVHz1RFN%2B8ixuZb5Q4Wdqt5rJ2G0u8wO8eUdVmKT6K%2Bt6w%40= mail.gmail.com.
For more options, visit=C2=A0https://groups.google.com/d/opt= out.


= --=C2=A0
You received this message because you are subscribed to the Google Gro= ups "actionml-user" group.
To unsubscribe from this group and stop receiving emails from it, send = an email to=C2= =A0actionml-user+unsubscribe@googlegroups.com.
T= o post to this group, send email to=C2=A0actionml-user@googlegroups.com.
To view this discussion on the web visit=C2=A0https://groups.google.com/d/msgid/actionml-user/CAC-<= wbr>ATVFn5ZR%2BqP_J-T1Ak4FXYtYFdqHwSRfPSXdCAQwQLVetyg%40mail.gmai= l.com.
For more options, visit=C2=A0
https://groups.google.com= /d/optout.


--001a11449d56f675ee0550a28d69--